Commit 15448185 authored by David S. Miller's avatar David S. Miller

Avoid use of __FUNCTION__ cpp pasting.

parent caf37639
...@@ -1158,8 +1158,8 @@ static int __init inet_init(void) ...@@ -1158,8 +1158,8 @@ static int __init inet_init(void)
sizeof(struct raw_sock), 0, sizeof(struct raw_sock), 0,
SLAB_HWCACHE_ALIGN, 0, 0); SLAB_HWCACHE_ALIGN, 0, 0);
if (!tcp_sk_cachep || !udp_sk_cachep || !raw4_sk_cachep) if (!tcp_sk_cachep || !udp_sk_cachep || !raw4_sk_cachep)
printk(KERN_CRIT __FUNCTION__ printk(KERN_CRIT
": Can't create protocol sock SLAB caches!\n"); "inet_init: Can't create protocol sock SLAB caches!\n");
/* /*
* Tell SOCKET that we are alive... * Tell SOCKET that we are alive...
*/ */
......
...@@ -1886,8 +1886,8 @@ static int __init af_unix_init(void) ...@@ -1886,8 +1886,8 @@ static int __init af_unix_init(void)
sizeof(struct unix_sock), 0, sizeof(struct unix_sock), 0,
SLAB_HWCACHE_ALIGN, 0, 0); SLAB_HWCACHE_ALIGN, 0, 0);
if (!unix_sk_cachep) if (!unix_sk_cachep)
printk(KERN_CRIT __FUNCTION__ printk(KERN_CRIT
": Cannot create unix_sock SLAB cache!\n"); "af_unix_init: Cannot create unix_sock SLAB cache!\n");
sock_register(&unix_family_ops); sock_register(&unix_family_ops);
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment