include/linux/compiler-gcc.h: use __same_type() in __must_be_array()
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Aug 2010 00:20:18 +0000 (17:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:04 +0000 (20:45 -0700)
commitea6b101d8a3ea4e1dec29df31188c2f9852296fe
treed4ec831d266914d72dbe028388260b8f7dfca6da
parent7387be3373277005c171b9f1509e91fae2e430f3
include/linux/compiler-gcc.h: use __same_type() in __must_be_array()

We should use the __same_type() helper in __must_be_array().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compiler-gcc.h