mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
libata.h: replace __FUNCTION__ with __func__
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
487eff68e4
commit
1f938d060a
1 changed files with 3 additions and 3 deletions
|
@ -60,9 +60,9 @@
|
||||||
|
|
||||||
/* note: prints function name for you */
|
/* note: prints function name for you */
|
||||||
#ifdef ATA_DEBUG
|
#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
|
#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
|
#else
|
||||||
#define VPRINTK(fmt, args...)
|
#define VPRINTK(fmt, args...)
|
||||||
#endif /* ATA_VERBOSE_DEBUG */
|
#endif /* ATA_VERBOSE_DEBUG */
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
#define VPRINTK(fmt, args...)
|
#define VPRINTK(fmt, args...)
|
||||||
#endif /* ATA_DEBUG */
|
#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 */
|
/* NEW: debug levels */
|
||||||
#define HAVE_LIBATA_MSG 1
|
#define HAVE_LIBATA_MSG 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue