projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: Simplify use of OVS_GREP_IFELSE.
[openvswitch]
/
datapath
/
brc_procfs.c
diff --git
a/datapath/brc_procfs.c
b/datapath/brc_procfs.c
index cfe0175b3e57c327832ec141eb0de35da853abcb..bf328c9b8d264c10da549689077723b6b6508224 100644
(file)
--- a/
datapath/brc_procfs.c
+++ b/
datapath/brc_procfs.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/kernel.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/netdevice.h>
@@
-69,9
+71,9
@@
static struct proc_dir_entry *brc_open_dir(const char *dir_name,
if (!*dirp) {
struct proc_dir_entry *dir;
if (brc_lookup_entry(parent, dir_name)) {
if (!*dirp) {
struct proc_dir_entry *dir;
if (brc_lookup_entry(parent, dir_name)) {
- pr
intk(KERN_WARNING "%s proc directory exists, can't
"
- "simulate--probably its real module is "
-
"loaded\n",
dir_name);
+ pr
_warn("%s proc directory exists, can't simulate--
"
+ "probably its real module is loaded\n",
+ dir_name);
return NULL;
}
dir = *dirp = proc_mkdir(dir_name, parent);
return NULL;
}
dir = *dirp = proc_mkdir(dir_name, parent);