[linux-yocto] [PATCH 06/29] openvswitch: flow_netlink: Use pr_fmt	to OVS_NLERR output
    zhe.he at windriver.com 
    zhe.he at windriver.com
       
    Wed Aug 20 22:50:46 PDT 2014
    
    
  
From: Joe Perches <joe at perches.com>
commit 2235ad1c3ac545bd8fc2c026be5be16d98b9a891 upstream
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>
Signed-off-by: He Zhe <zhe.he at windriver.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 linux-yocto
mailing list