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)
sizeof(struct raw_sock), 0,
SLAB_HWCACHE_ALIGN, 0, 0);
if (!tcp_sk_cachep || !udp_sk_cachep || !raw4_sk_cachep)
printk(KERN_CRIT __FUNCTION__
": Can't create protocol sock SLAB caches!\n");
printk(KERN_CRIT
"inet_init: Can't create protocol sock SLAB caches!\n");
/*
* Tell SOCKET that we are alive...
*/
......
......@@ -1886,8 +1886,8 @@ static int __init af_unix_init(void)
sizeof(struct unix_sock), 0,
SLAB_HWCACHE_ALIGN, 0, 0);
if (!unix_sk_cachep)
printk(KERN_CRIT __FUNCTION__
": Cannot create unix_sock SLAB cache!\n");
printk(KERN_CRIT
"af_unix_init: Cannot create unix_sock SLAB cache!\n");
sock_register(&unix_family_ops);
#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