[PATCH] fix sparse warnings from {asm,net}/checksum.h
authorTilman Schmidt <tilman@imap.cc>
Sat, 10 Feb 2007 09:45:41 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:31 +0000 (10:51 -0800)
commit16cf5b39b81b95d1e3d81df3ba8c82cadf54f551
treeb8fa1ee5fb548073f0265015bff15f7ebb3833cb
parent3db5db4fcdafc85b99d171336a7d2f25765ccd13
[PATCH] fix sparse warnings from {asm,net}/checksum.h

Rename the variable "sum" in the __range_ok macros to avoid name collisions
causing lots of "symbol shadows an earlier one" warnings by sparse.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Andi Kleen <ak@suse.de>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Acked-by: Ian Molton <spyro@f2s.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-arm/uaccess.h
include/asm-arm26/uaccess-asm.h
include/asm-i386/uaccess.h
include/asm-m32r/uaccess.h
include/asm-x86_64/uaccess.h