From: Elena Oat Date: Tue, 4 Mar 2014 21:43:41 +0000 (+0200) Subject: Staging: rtl8188eu: Fix warning of printk should include KERN_. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29698f1e9da07531c8872a646659f97c044dd928;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Elena Oat Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/core/rtw_br_ext.c b/drivers/staging/rtl8188eu/core/rtw_br_ext.c index c5a703a9b689..e843c6bd4525 100644 --- a/drivers/staging/rtl8188eu/core/rtw_br_ext.c +++ b/drivers/staging/rtl8188eu/core/rtw_br_ext.c @@ -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);