Skip to contentSkip to conversation

Should fix __FUNCTION__ glomming issues with some GCCs

PATCH_ Rogier Wolff 1 participant 1 message Oct 3, 2002 ATM

lore
Share & tools
lore
#0 lore raw

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

drivers/atm/firestream.c +2 -2
diff -ruN linux-2.5.40-original/drivers/atm/firestream.c linux-2.5.40/drivers/atm/firestream.c
@@ -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 -----

Signature · 5 lines
** [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. ***************