Re: [PATCH] scripts/checkpatch.pl: warn about using __FUNCTION__

From: Andy Whitcroft
Date: Mon Jan 28 2008 - 09:11:15 EST


On Mon, Jan 14, 2008 at 11:19:48PM +0100, Bartlomiej Zolnierkiewicz wrote:
>
> __FUNCTION__ is gcc specific, __func__ is C99
>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>

Research seems to indicate this is indeed sensible as __FUNCTION__ can
cause -Werror to trip. Have applied this for 0.14.

Thanks.

-apw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/