Messages in this thread | | | Date | Mon, 20 Oct 2008 16:02:06 -0700 | From | Randy Dunlap <> | Subject | Re: [PATCH] misc: replace remaining __FUNCTION__ with __func__ |
| |
Harvey Harrison wrote: > __FUNCTION__ is gcc-specific, use __func__ > > Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> > --- > 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.
| |