]> rtime.felk.cvut.cz Git - linux-imx.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)
commit1633dbbacbaa3a2f95ef901caf9d0b32728c10b6
treee501818f36de069851c5fa06bed08efb910608aa
parent158544b165d362c23acdde0104d9aab505a262a6
arch/powerpc/platforms/pseries/hotplug-memory.c: section removal cleanups

Followups to d760afd4d257 ("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