WARNING: Prefer netdev_warn(netdev, ... then dev_warn(dev, ... then pr_warn(... to printk(KERN_WARNING ... Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@xxxxxxxxx> --- drivers/net/wireless/adm8211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c index 0392b52..00a1221 100644 --- a/drivers/net/wireless/adm8211.c +++ b/drivers/net/wireless/adm8211.c @@ -1855,8 +1855,8 @@ static int adm8211_probe(struct pci_dev *pdev, cpu_to_le16(ADM8211_CSR_READ(PAR1) & 0xFFFF); if (!is_valid_ether_addr(perm_addr)) { - printk(KERN_WARNING "%s (adm8211): Invalid hwaddr in EEPROM!\n", - pci_name(pdev)); + pr_warn("%s (adm8211): Invalid hwaddr in EEPROM!\n", + pci_name(pdev)); eth_random_addr(perm_addr); } SET_IEEE80211_PERM_ADDR(dev, perm_addr); -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html