LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Joe Perches <joe@perches.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>,
Michal Nazarewicz <mina86@mina86.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kernel.h: Remove ancient __FUNCTION__ hack
Date: Wed, 4 Feb 2015 15:05:34 -0800 [thread overview]
Message-ID: <20150204150534.6969aa4b6108950ab2154906@linux-foundation.org> (raw)
In-Reply-To: <1423090157.30454.1.camel@perches.com>
On Wed, 04 Feb 2015 14:49:17 -0800 Joe Perches <joe@perches.com> wrote:
> trivia about macros vs c99 predefined identifiers below:
>
> > diff -puN include/acpi/acoutput.h~kernelh-remove-ancient-__function__-hack-fix include/acpi/acoutput.h
> []
> > @@ -240,7 +240,7 @@
> > /*
> > * If ACPI_GET_FUNCTION_NAME was not defined in the compiler-dependent header,
> > * define it now. This is the case where there the compiler does not support
> > - * a __FUNCTION__ macro or equivalent.
> > + * a __func__ macro or equivalent.
>
> Do these still make sense? __func__ isn't a macro.
Yeah, but I was too lazy to think up more appropriate text. Hey, it's
only ACPI :)
prev parent reply other threads:[~2015-02-04 23:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-04 9:48 Rasmus Villemoes
2015-02-04 19:06 ` Joe Perches
2015-02-04 20:55 ` Rasmus Villemoes
2015-02-04 21:03 ` Joe Perches
2015-02-04 22:01 ` Rasmus Villemoes
2015-02-04 22:05 ` Joe Perches
2015-02-04 22:35 ` Andrew Morton
2015-02-04 22:49 ` Joe Perches
2015-02-04 23:05 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150204150534.6969aa4b6108950ab2154906@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=mina86@mina86.com \
--subject='Re: [PATCH] kernel.h: Remove ancient __FUNCTION__ hack' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).