[PATCH 5/6]NET:AX25:ROSE Adds the log priority to a printk

DORMANTno replies

From: Richard Stearn <hidden>
Date: 2016-07-16 09:45:59
Also in: linux-hams
Subsystem: networking [general], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Subject: [PATCH 5/6]NET:AX25:ROSE Adds the log priority to a printk
Adds the log priority to a printk.

Signed-off-by: Richard Stearn <redacted>
---
 net/rose/rose_route.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/rose/rose_route.c b/net/rose/rose_route.c
index 56e53d5..9f256ed 100644
--- a/net/rose/rose_route.c
+++ b/net/rose/rose_route.c
@@ -903,7 +903,7 @@ int rose_route_frame(struct sk_buff *skb, ax25_cb *ax25)
 	}
 
 	if (rose_neigh == NULL) {
-		printk("rose_route : unknown neighbour or device %s\n",
+		printk(KERN_ERR "rose_route_frame: unknown neighbour or device %s\n",
 		       ax2asc(buf, &ax25->dest_addr));
 		goto out;
 	}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help