You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
net: 8021q: Add pr_fmt
Use the current logging style. Add #define pr_fmt and remove embedded prefix from formats. Not converting the current pr_<level> uses to netdev_<level> because all the output here is nicely prefaced with "8021q: ". Remove __func__ use from proc registration failure message. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8a07eb0a50
commit
afab2d2999
@@ -17,6 +17,8 @@
|
||||
* Jan 20, 1998 Ben Greear Initial Version
|
||||
*****************************************************************************/
|
||||
|
||||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/kernel.h>
|
||||
@@ -155,7 +157,7 @@ int __net_init vlan_proc_init(struct net *net)
|
||||
return 0;
|
||||
|
||||
err:
|
||||
pr_err("%s: can't create entry in proc filesystem!\n", __func__);
|
||||
pr_err("can't create entry in proc filesystem!\n");
|
||||
vlan_proc_cleanup(net);
|
||||
return -ENOBUFS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user