Fwd: [PATCH_] Should fix __FUNCTION__ glomming issues with some GCCs

From: Rogier Wolff (R.E.Wolff@BitWizard.nl)
Date: Thu Oct 03 2002 - 02:06:45 EST


Hi Linus,

Approved by author....

                Roger.

----- Forwarded message from John R R Leavitt <jrrl@tiki.livetide.com> -----

From: John R R Leavitt <jrrl@tiki.livetide.com>
To: R.E.Wolff@BitWizard.nl
Date: Wed, 2 Oct 2002 22:35:30 -0400
Subject: [PATCH_] Should fix __FUNCTION__ glomming issues with some GCCs

Just wandered the driver tree and fixed these where I could. Here's yours.

-John.

John Leavitt - jrrl@steampunk.com - Linux Consulting

diff -ruN linux-2.5.40-original/drivers/atm/firestream.c linux-2.5.40/drivers/atm/firestream.c
--- linux-2.5.40-original/drivers/atm/firestream.c Tue Oct 1 03:06:18 2002
+++ linux-2.5.40/drivers/atm/firestream.c Wed Oct 2 19:20:13 2002
@@ -330,8 +330,8 @@
 #define FS_DEBUG_QSIZE 0x00001000
 
 
-#define func_enter() fs_dprintk (FS_DEBUG_FLOW, "fs: enter " __FUNCTION__ "\n")
-#define func_exit() fs_dprintk (FS_DEBUG_FLOW, "fs: exit " __FUNCTION__ "\n")
+#define func_enter() fs_dprintk (FS_DEBUG_FLOW, "fs: enter %s\n", __FUNCTION__)
+#define func_exit() fs_dprintk (FS_DEBUG_FLOW, "fs: exit %s\n", __FUNCTION__)
 
 
 struct fs_dev *fs_boards = NULL;

----- End forwarded message -----

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* The Worlds Ecosystem is a stable system. Stable systems may experience *
* excursions from the stable situation. We are currenly in such an       * 
* excursion: The stable situation does not include humans. ***************
-
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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:37 EST