Re: replace __FUNCTION__ occurrences in ext4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 6 Jul 2008 23:36:56 -0500 "Stoyan Gaydarov" <stoyboyker@xxxxxxxxx> wrote:

> __FUNCTION__ is gcc-specific, use __func__ instead
> 
> Signed-off-by: Stoyan Gaydarov <stoyboyker@xxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux