summaryrefslogtreecommitdiffstats
path: root/net/wimax/op-reset.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-07 22:12:03 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-08 02:28:44 +0200
commit28b7deae75642c51f097391765fd39ff0dd6ce95 (patch)
tree944ac968107870b0c9b1cd1bd4747df0c531f362 /net/wimax/op-reset.c
parentaf_unix: remove 0 assignment on static (diff)
downloadlinux-28b7deae75642c51f097391765fd39ff0dd6ce95.tar.xz
linux-28b7deae75642c51f097391765fd39ff0dd6ce95.zip
wimax: convert printk to pr_foo()
Use current logging functions and add module name prefix. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wimax/op-reset.c')
-rw-r--r--net/wimax/op-reset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/wimax/op-reset.c b/net/wimax/op-reset.c
index eb4580784d9d..a42079165e1f 100644
--- a/net/wimax/op-reset.c
+++ b/net/wimax/op-reset.c
@@ -107,8 +107,7 @@ int wimax_gnl_doit_reset(struct sk_buff *skb, struct genl_info *info)
d_fnstart(3, NULL, "(skb %p info %p)\n", skb, info);
result = -ENODEV;
if (info->attrs[WIMAX_GNL_RESET_IFIDX] == NULL) {
- printk(KERN_ERR "WIMAX_GNL_OP_RFKILL: can't find IFIDX "
- "attribute\n");
+ pr_err("WIMAX_GNL_OP_RFKILL: can't find IFIDX attribute\n");
goto error_no_wimax_dev;
}
ifindex = nla_get_u32(info->attrs[WIMAX_GNL_RESET_IFIDX]);