Skip to contentSkip to conversation

usb: replace remaining __PRETTY_FUNCTION__ occurrences

PATCH In review Harvey Harrison 1 participant 1 message Apr 4, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 usb: replace remaining __PRETTY_FUNCTION__ occurrences

The kernel is written in C, not C++, use __func__

---
 drivers/usb/image/microtek.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/image/microtek.c +1 -1
index bc207e3..75c76f9 100644
@@ -185,7 +185,7 @@ static struct usb_driver mts_usb_driver = {
 	printk( KERN_DEBUG MTS_NAME x )
 
 #define MTS_DEBUG_GOT_HERE() \
-	MTS_DEBUG("got to %s:%d (%s)\n", __FILE__, (int)__LINE__, __PRETTY_FUNCTION__ )
+	MTS_DEBUG("got to %s:%d (%s)\n", __FILE__, (int)__LINE__, __func__ )
 #define MTS_DEBUG_INT() \
 	do { MTS_DEBUG_GOT_HERE(); \
 	     MTS_DEBUG("transfer = 0x%x context = 0x%x\n",(int)transfer,(int)context ); \
Signature · 1 line
1.5.5.rc1.135.g8527