* [PATCH] libata.h: replace __FUNCTION__ with __func__
@ 2008-07-20 20:06 ` Alexander Beregalov
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Beregalov @ 2008-07-20 20:06 UTC (permalink / raw)
To: jgarzik, linux-ide, kernel-janitors
From: Alexander Beregalov <a.beregalov@gmail.com>
libata.h: replace __FUNCTION__ with __func__
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
include/linux/libata.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 5b247b8..d4b8e5f 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] libata.h: replace __FUNCTION__ with __func__
@ 2008-07-20 20:06 ` Alexander Beregalov
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Beregalov @ 2008-07-20 20:06 UTC (permalink / raw)
To: jgarzik, linux-ide, kernel-janitors
From: Alexander Beregalov <a.beregalov@gmail.com>
libata.h: replace __FUNCTION__ with __func__
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
include/linux/libata.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 5b247b8..d4b8e5f 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] libata.h: replace __FUNCTION__ with __func__
2008-07-20 20:06 ` Alexander Beregalov
@ 2008-07-31 5:50 ` Jeff Garzik
-1 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2008-07-31 5:50 UTC (permalink / raw)
To: Alexander Beregalov; +Cc: linux-ide, kernel-janitors
Alexander Beregalov wrote:
> From: Alexander Beregalov <a.beregalov@gmail.com>
>
> libata.h: replace __FUNCTION__ with __func__
>
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
>
> ---
>
> include/linux/libata.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
applied
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libata.h: replace __FUNCTION__ with __func__
@ 2008-07-31 5:50 ` Jeff Garzik
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2008-07-31 5:50 UTC (permalink / raw)
To: Alexander Beregalov; +Cc: linux-ide, kernel-janitors
Alexander Beregalov wrote:
> From: Alexander Beregalov <a.beregalov@gmail.com>
>
> libata.h: replace __FUNCTION__ with __func__
>
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
>
> ---
>
> include/linux/libata.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
applied
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-31 5:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-20 20:06 [PATCH] libata.h: replace __FUNCTION__ with __func__ Alexander Beregalov
2008-07-20 20:06 ` Alexander Beregalov
2008-07-31 5:50 ` Jeff Garzik
2008-07-31 5:50 ` Jeff Garzik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.