[TRIVIAL][PATCH] fix __FUNCTION__ pasting in generic_serial.c

Paul Larson (plars@linuxtestproject.org)
29 Aug 2002 15:50:00 -0500


Trivial fix for __FUNCTION__ pasting in generic_serial.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.558 -> 1.559
# drivers/char/generic_serial.c 1.4 -> 1.5
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/08/29 plars@austin.ibm.com 1.559
# fix __FUNCTION__ pasting in generic_serial.c
# --------------------------------------------
#
diff -Nru a/drivers/char/generic_serial.c b/drivers/char/generic_serial.c
--- a/drivers/char/generic_serial.c Thu Aug 29 15:42:43 2002
+++ b/drivers/char/generic_serial.c Thu Aug 29 15:42:43 2002
@@ -41,8 +41,8 @@
#define gs_dprintk(f, str...) /* nothing */
#endif

-#define func_enter() gs_dprintk (GS_DEBUG_FLOW, "gs: enter " __FUNCTION__ "\n")
-#define func_exit() gs_dprintk (GS_DEBUG_FLOW, "gs: exit " __FUNCTION__ "\n")
+#define func_enter() gs_dprintk (GS_DEBUG_FLOW, "gs: enter %s\n", __FUNCTION__)
+#define func_exit() gs_dprintk (GS_DEBUG_FLOW, "gs: exit %s\n", __FUNCTION__)

#if NEW_WRITE_LOCKING
#define DECL /* Nothing */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/