Thread (1 message) 1 message, 1 author, 2015-08-14
DORMANTno replies

[PATCH 10/11] nfc: st-nci: Remove pr_err in llt_ndlc_rcv_queue when ndlc header is unknown

From: Christophe Ricard <hidden>
Date: 2015-08-14 20:33:39
Subsystem: nfc subsystem, the rest · Maintainers: David Heidelberg, Linus Torvalds

spi phy needs to use ndlc_recv at every spi transaction causing "unknown
packet control byte" error message each time the header is 00.

Make this silent.

Signed-off-by: Christophe Ricard <redacted>
---
 drivers/nfc/st-nci/ndlc.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/nfc/st-nci/ndlc.c b/drivers/nfc/st-nci/ndlc.c
index 4f51649..d2cf84e 100644
--- a/drivers/nfc/st-nci/ndlc.c
+++ b/drivers/nfc/st-nci/ndlc.c
@@ -194,7 +194,6 @@ static void llt_ndlc_rcv_queue(struct llt_ndlc *ndlc)
 					  msecs_to_jiffies(NDLC_TIMER_T1_WAIT));
 				break;
 			default:
-				pr_err("UNKNOWN Packet Control Byte=%d\n", pcb);
 				kfree_skb(skb);
 				break;
 			}
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help