Rusty Russell c5e631cf65 ARRAY_SIZE: check for type
We can use a gcc extension to ensure that ARRAY_SIZE() is handed an array,
not a pointer.  This is especially important when code is changed from a
fixed array to a pointer.  I assume the Intel compiler doesn't support
__builtin_types_compatible_p.

[jdike@addtoit.com: uml: update UML definition of ARRAY_SIZE]
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:13:00 -07:00
..
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-02-24 14:31:37 -08:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:13:00 -07:00
2006-03-27 08:44:37 -08:00
2005-04-16 15:20:36 -07:00
2006-03-31 12:18:50 -08:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:13:00 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-09-26 08:49:09 -07:00
2005-04-16 15:20:36 -07:00
2007-02-11 10:51:23 -08:00
2005-04-16 15:20:36 -07:00
2005-09-29 08:46:26 -07:00
2005-05-28 16:46:13 -07:00
2005-09-29 08:46:26 -07:00
2005-10-29 21:40:42 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:13:00 -07:00