]> git.baikalelectronics.ru Git - kernel.git/commit
arch/powerpc/platforms/pseries/hotplug-memory.c: section removal cleanups
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Wed, 10 Oct 2012 22:53:53 +0000 (15:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Oct 2012 23:50:14 +0000 (08:50 +0900)
commitaf89c3c06ecdda94877b907edd37c1c718ca0858
treee501818f36de069851c5fa06bed08efb910608aa
parent4cbab206aa606c33d72697491696f7c3fe3cb523
arch/powerpc/platforms/pseries/hotplug-memory.c: section removal cleanups

Followups to 80c567ba81a5 ("memory-hotplug: suppress "Trying to free
nonexistent resource <XXXXXXXXXXXXXXXX-YYYYYYYYYYYYYYYY>" warning").

 - use unsigned long type, as overflows are conceivable

 - rename `i' to the less-misleading and more informative `section'

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/platforms/pseries/hotplug-memory.c