From d956b1a87f9bc84aed7bd4f5f5ae52f9ead0381d Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Tue, 13 Aug 2019 09:07:14 +0200 Subject: [PATCH] can: raw: raw_module_init(): use pr_err() instead of printk(KERN_ERR, ...) This patch converts a printk(KERN_ERR, ...) to a pr_err(). Signed-off-by: Marc Kleine-Budde --- net/can/raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/can/raw.c b/net/can/raw.c index 54517f9..a28b285 100644 --- a/net/can/raw.c +++ b/net/can/raw.c @@ -885,7 +885,7 @@ static __init int raw_module_init(void) err = can_proto_register(&raw_can_proto); if (err < 0) - printk(KERN_ERR "can: registration of raw protocol failed\n"); + pr_err("can: registration of raw protocol failed\n"); return err; } -- 2.7.4