git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: Use pr_fmt and pr_<level>
[sliver-openvswitch.git]
/
datapath
/
vport-gre.c
diff --git
a/datapath/vport-gre.c
b/datapath/vport-gre.c
index
223644e
..
0a7092f
100644
(file)
--- a/
datapath/vport-gre.c
+++ b/
datapath/vport-gre.c
@@
-6,6
+6,8
@@
* kernel, by Linus Torvalds and others.
*/
* kernel, by Linus Torvalds and others.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
@@
-345,7
+347,7
@@
static int gre_init(void)
err = inet_add_protocol(&gre_protocol_handlers, IPPROTO_GRE);
if (err) {
err = inet_add_protocol(&gre_protocol_handlers, IPPROTO_GRE);
if (err) {
- pr
intk(KERN_WARNING "openvswitch:
cannot register gre protocol handler\n");
+ pr
_warn("
cannot register gre protocol handler\n");
goto out;
}
goto out;
}