[ovs-dev] [PATCH net-next 06/12] openvswitch: flow_netlink: Use pr_fmt to OVS_NLERR output

Jesse Gross jesse at nicira.com
Fri May 16 21:07:33 UTC 2014


From: Joe Perches <joe at perches.com>

Add "openvswitch: " prefix to OVS_NLERR output
to match the other OVS_NLERR output of datapath.c

Signed-off-by: Joe Perches <joe at perches.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
---
 net/openvswitch/flow_netlink.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c
index 1b22ad2..7bd09b7 100644
--- a/net/openvswitch/flow_netlink.c
+++ b/net/openvswitch/flow_netlink.c
@@ -16,6 +16,8 @@
  * 02110-1301, USA
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include "flow.h"
 #include "datapath.h"
 #include <linux/uaccess.h>
-- 
1.9.1




More information about the dev mailing list