mwifiex: increase priority for critical message
authorXinming Hu <huxm@marvell.com>
Thu, 31 Dec 2015 14:24:14 +0000 (06:24 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Jan 2016 09:14:05 +0000 (11:14 +0200)
This patch increase the priority for some critical
messages.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c
drivers/net/wireless/marvell/mwifiex/sdio.c

index eb0b386..6d0dc40 100644 (file)
@@ -2129,14 +2129,14 @@ static irqreturn_t mwifiex_pcie_interrupt(int irq, void *context)
        struct mwifiex_adapter *adapter;
 
        if (!pdev) {
-               pr_debug("info: %s: pdev is NULL\n", (u8 *)pdev);
+               pr_err("info: %s: pdev is NULL\n", __func__);
                goto exit;
        }
 
        card = pci_get_drvdata(pdev);
        if (!card || !card->adapter) {
-               pr_debug("info: %s: card=%p adapter=%p\n", __func__, card,
-                        card ? card->adapter : NULL);
+               pr_err("info: %s: card=%p adapter=%p\n", __func__, card,
+                      card ? card->adapter : NULL);
                goto exit;
        }
        adapter = card->adapter;
index a8af72d..4c8cae6 100644 (file)
@@ -796,8 +796,8 @@ mwifiex_sdio_interrupt(struct sdio_func *func)
 
        card = sdio_get_drvdata(func);
        if (!card || !card->adapter) {
-               pr_debug("int: func=%p card=%p adapter=%p\n",
-                        func, card, card ? card->adapter : NULL);
+               pr_err("int: func=%p card=%p adapter=%p\n",
+                      func, card, card ? card->adapter : NULL);
                return;
        }
        adapter = card->adapter;