From: Paul Larson <plars@austin.ibm.com>
To: rasmus@jaquet.dk
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: __func__ in 2.5.33?
Date: 03 Sep 2002 17:03:42 -0500 [thread overview]
Message-ID: <1031090622.23823.15.camel@plars.austin.ibm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 87 bytes --]
I posted this a few days ago, but I don't think it's been picked up yet.
-Paul Larson
[-- Attachment #2: Forwarded message - [TRIVIAL][PATCH] fix __FUNCTION__ pasting in sx.c --]
[-- Type: message/rfc822, Size: 1759 bytes --]
From: Paul Larson <plars@linuxtestproject.org>
To: Trivial Patch Monkey <trivial@rustcorp.com.au>, lkml <linux-kernel@vger.kernel.org>
Subject: [TRIVIAL][PATCH] fix __FUNCTION__ pasting in sx.c
Date: 29 Aug 2002 15:49:14 -0500
Message-ID: <1030654155.7151.1.camel@plars.austin.ibm.com>
Trivial fix for __FUNCTION__ pasting in sx.c against current bk tree.
-Paul Larson
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.557 -> 1.558
# drivers/char/sx.c 1.10 -> 1.11
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/08/29 plars@austin.ibm.com 1.558
# fix __FUNCTION__ pasting in sx.c
# --------------------------------------------
#
diff -Nru a/drivers/char/sx.c b/drivers/char/sx.c
--- a/drivers/char/sx.c Thu Aug 29 15:43:20 2002
+++ b/drivers/char/sx.c Thu Aug 29 15:43:20 2002
@@ -405,11 +405,11 @@
-#define func_enter() sx_dprintk (SX_DEBUG_FLOW, "sx: enter " __FUNCTION__ "\n")
-#define func_exit() sx_dprintk (SX_DEBUG_FLOW, "sx: exit " __FUNCTION__ "\n")
+#define func_enter() sx_dprintk (SX_DEBUG_FLOW, "sx: enter %s\n", __FUNCTION__)
+#define func_exit() sx_dprintk (SX_DEBUG_FLOW, "sx: exit %s\n", __FUNCTION__)
-#define func_enter2() sx_dprintk (SX_DEBUG_FLOW, "sx: enter " __FUNCTION__ \
- "(port %d)\n", port->line)
+#define func_enter2() sx_dprintk (SX_DEBUG_FLOW, "sx: enter %s (port %d)\n", \
+ __FUNCTION__, port->line)
next reply other threads:[~2002-09-03 22:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-03 22:03 Paul Larson [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-03 20:52 Rasmus Andersen
2002-09-03 21:48 ` Andrew Morton
2002-09-04 6:34 ` Rasmus Andersen
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=1031090622.23823.15.camel@plars.austin.ibm.com \
--to=plars@austin.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rasmus@jaquet.dk \
/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
all inboxes | Powered by JetHome®