* [TRIVIAL][PATCH] fix __FUNCTION__ pasting in sx.c
@ 2002-08-29 20:49 Paul Larson
0 siblings, 0 replies; only message in thread
From: Paul Larson @ 2002-08-29 20:49 UTC (permalink / raw)
To: Trivial Patch Monkey, lkml
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-29 20:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-29 20:49 [TRIVIAL][PATCH] fix __FUNCTION__ pasting in sx.c Paul Larson
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®