X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdp_sysfs_dp.c;h=4abe4fb6338f58c4942e675da2da19f82f6d4ebe;hb=76ecc721793b29c8bae44b10a065ec9ac07a9e4b;hp=74d0ed0be74eb5cc239380d078d8dbdaaeb54b62;hpb=63db6ec35ddc2432dda059f277257886c2d1ba8f;p=openvswitch diff --git a/datapath/dp_sysfs_dp.c b/datapath/dp_sysfs_dp.c index 74d0ed0b..4abe4fb6 100644 --- a/datapath/dp_sysfs_dp.c +++ b/datapath/dp_sysfs_dp.c @@ -6,6 +6,8 @@ * kernel, by Linus Torvalds and others. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include /* @@ -75,7 +77,7 @@ static ssize_t store_bridge_parm(DEVICE_PARAMS, /* xxx We use a default value of 0 for all fields. If the caller is * xxx attempting to set the value to our default, just silently - * xxx ignore the request. + * xxx ignore the request. */ if (val != 0) { struct datapath *dp; @@ -84,7 +86,7 @@ static ssize_t store_bridge_parm(DEVICE_PARAMS, dp = sysfs_get_dp(to_net_dev(d)); if (dp) - printk("%s: xxx writing dp parms not supported yet!\n", + printk("%s: xxx writing dp parms not supported yet!\n", dp_name(dp)); else result = -ENODEV;