usb: replace remaining __PRETTY_FUNCTION__ occurrences
The kernel is written in C, not C++, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
43bbb7e015
commit
96e12fced3
|
@ -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 ); \
|
||||
|
|
Loading…
Reference in New Issue
Block a user