Re: [PATCH] misc: replace remaining __FUNCTION__ with __func__

From: Randy Dunlap
Date: Mon Oct 20 2008 - 19:03:26 EST


Harvey Harrison wrote:
> __FUNCTION__ is gcc-specific, use __func__
>
> Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
> ---
> These are the last occurences in-tree that are not already coming
> through a subsystem tree.
>
> xtensa, staging and blackfin (serial driver and a fb driver) will
> catch the remaining ones as they merge.
>
> Documentation/DocBook/kernel-hacking.tmpl | 2 +-
> arch/arm/mach-iop13xx/include/mach/time.h | 4 ++--
> arch/arm/mach-pxa/include/mach/zylonite.h | 4 ++--
> arch/powerpc/include/asm/ptrace.h | 2 +-
> drivers/net/usb/pegasus.c | 4 ++--
> 5 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/DocBook/kernel-hacking.tmpl b/Documentation/DocBook/kernel-hacking.tmpl
> index 4c63e58..ae15d55 100644
> --- a/Documentation/DocBook/kernel-hacking.tmpl
> +++ b/Documentation/DocBook/kernel-hacking.tmpl
> @@ -1105,7 +1105,7 @@ static struct block_device_operations opt_fops = {
> </listitem>
> <listitem>
> <para>
> - Function names as strings (__FUNCTION__).
> + Function names as strings (__func__).
> </para>
> </listitem>
> <listitem>

Ack that part.

Thanks.
--
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/