Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29698f1e authored by Elena Oat's avatar Elena Oat Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8188eu: Fix warning of printk should include KERN_.



This patch fixes the warning produced by checkpatch of "printk should
include KERN_ facility level". printk was replaced by netdev_info. While
at it, I have also fixed the line over 80 characters warning.

Signed-off-by: default avatarElena Oat <oat.elena@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 48e71241
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -549,7 +549,8 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
					/*  forward unknown IP packet to upper TCP/IP */
					DEBUG_INFO("NAT25: Replace DA with BR's MAC\n");
					if ((*(u32 *)priv->br_mac) == 0 && (*(u16 *)(priv->br_mac+4)) == 0) {
						printk("Re-init netdev_br_init() due to br_mac == 0!\n");
						netdev_info(skb->dev,
								"Re-init netdev_br_init() due to br_mac == 0!\n");
						netdev_br_init(priv->pnetdev);
					}
					memcpy(skb->data, priv->br_mac, ETH_ALEN);