Re: [PATCH] Use more gcc extensions in the Linux headers

From: Stephen Rothwell
Date: Fri Mar 09 2007 - 01:23:18 EST


On Fri, 09 Mar 2007 16:56:32 +1100 Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
>
> __builtin_types_compatible_p() has been around since gcc 2.95, and we
> don't use it anywhere. This patch quietly fixes that.

After staring at this for about 2 minutes, how about a commit message like:

Make ARRAY_SIZE complain strangely if passed a pointer instead of an
array.

:-)
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature