2002-10-03 07:01:19

by Rogier Wolff

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


Hi Linus,

Approved by author....

Roger.

----- Forwarded message from John R R Leavitt <[email protected]> -----

From: John R R Leavitt <[email protected]>
To: [email protected]
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 - [email protected] - 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 -----

--
** [email protected] ** 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. ***************