[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080712232521.154f853a.akpm@linux-foundation.org>
Date: Sat, 12 Jul 2008 23:25:21 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: "Stoyan Gaydarov" <stoyboyker@...il.com>
Cc: sct@...hat.com, adilger@....com, linux-ext4@...r.kernel.org
Subject: Re: replace __FUNCTION__ occurrences in ext4
On Sun, 6 Jul 2008 23:36:56 -0500 "Stoyan Gaydarov" <stoyboyker@...il.com> wrote:
> __FUNCTION__ is gcc-specific, use __func__ instead
>
> Signed-off-by: Stoyan Gaydarov <stoyboyker@...il.com>
>
> diff -uprN linux-2.6.26-rc9/fs/ext4/ext4.h devel/fs/ext4/ext4.h
> --- linux-2.6.26-rc9/fs/ext4/ext4.h 2008-07-05 17:53:22.000000000 -0500
> +++ devel/fs/ext4/ext4.h 2008-07-06 23:35:08.000000000 -0500
> @@ -45,7 +45,7 @@
> #define ext4_debug(f, a...) \
> do { \
> printk (KERN_DEBUG "EXT4-fs DEBUG (%s, %d): %s:", \
> - __FILE__, __LINE__, __FUNCTION__); \
> + __FILE__, __LINE__, __func__); \
Your email client replaces tabs with spaces.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists