From: janitor@sternwelten.at
To: akpm@digeo.com
Cc: linux-kernel@vger.kernel.org, janitor@sternwelten.at, drizzd@aon.at
Subject: [patch 1/3] __FUNCTION__ string concatenation deprecated
Date: Thu, 23 Sep 2004 23:22:40 +0200 [thread overview]
Message-ID: <E1CAb32-0005nS-Is@sputnik> (raw)
Description: __FUNCTION__ string concatenation is deprecated
Diff against linux-2.6 up to ChangeSet@1.1938 (04/09/18 20:30:01)
Status: untested
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
# arch/mips/au1000/db1x00/mirage_ts.c
# 2004/09/20 14:52:26+02:00 drizzd@aon.at +1 -1
# __FUNCTION__ string concatenation is deprecated
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
---
linux-2.6.9-rc2-bk7-max/arch/mips/au1000/db1x00/mirage_ts.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/mips/au1000/db1x00/mirage_ts.c~function-string-arch_mips_au1000_db1x00_mirage_ts arch/mips/au1000/db1x00/mirage_ts.c
--- linux-2.6.9-rc2-bk7/arch/mips/au1000/db1x00/mirage_ts.c~function-string-arch_mips_au1000_db1x00_mirage_ts 2004-09-21 21:07:15.000000000 +0200
+++ linux-2.6.9-rc2-bk7-max/arch/mips/au1000/db1x00/mirage_ts.c 2004-09-21 21:07:15.000000000 +0200
@@ -68,7 +68,7 @@ int wm97xx_comodule_present = 1;
#define err(format, arg...) printk(KERN_ERR TS_NAME ": " format "\n" , ## arg)
#define info(format, arg...) printk(KERN_INFO TS_NAME ": " format "\n" , ## arg)
#define warn(format, arg...) printk(KERN_WARNING TS_NAME ": " format "\n" , ## arg)
-#define DPRINTK(format, arg...) printk(__FUNCTION__ ": " format "\n" , ## arg)
+#define DPRINTK(format, arg...) printk("%s: " format "\n", __FUNCTION__ , ## arg)
#define PEN_DOWN_IRQ AU1000_GPIO_7
_
reply other threads:[~2004-09-23 21:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1CAb32-0005nS-Is@sputnik \
--to=janitor@sternwelten.at \
--cc=akpm@digeo.com \
--cc=drizzd@aon.at \
--cc=linux-kernel@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox