libata.h: replace __FUNCTION__ with __func__
Subsystems (2)
PATCH 1/1 libata.h: replace __FUNCTION__ with __func__
From: Alexander Beregalov <[email protected]>
libata.h: replace __FUNCTION__ with __func__
Signed-off-by Alexander Beregalov <[email protected]>
---
include/linux/libata.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
include/linux/libata.h +3 -3
@@ -60,9 +60,9 @@/* note: prints function name for you */ #ifdef ATA_DEBUG -#define DPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __FUNCTION__, ## args) +#define DPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args)#ifdef ATA_VERBOSE_DEBUG -#define VPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __FUNCTION__, ## args) +#define VPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args)#else #define VPRINTK(fmt, args...)#endif /* ATA_VERBOSE_DEBUG */
@@ -71,7 +71,7 @@ #define VPRINTK(fmt, args...)#endif /* ATA_DEBUG */ -#define BPRINTK(fmt, args...) if (ap->flags & ATA_FLAG_DEBUGMSG) printk(KERN_ERR "%s: " fmt, __FUNCTION__, ## args) +#define BPRINTK(fmt, args...) if (ap->flags & ATA_FLAG_DEBUGMSG) printk(KERN_ERR "%s: " fmt, __func__, ## args)/* NEW: debug levels */ #define HAVE_LIBATA_MSG 1
Jeff Garzik
AppliedQuoted 11 lines · Alexander Beregalov
From: Alexander Beregalov <[email protected]>
libata.h: replace__FUNCTION__with__func__Signed-off-by Alexander Beregalov <[email protected]>---
include/linux/libata.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
applied