OSDN Git Service

farsync: Update to current logging forms
authorJoe Perches <joe@perches.com>
Sun, 26 Jun 2011 19:01:33 +0000 (19:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jun 2011 07:09:47 +0000 (00:09 -0700)
Use pr_fmt, pr_<level> and netdev_<level> as appropriate.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/farsync.c

index 0f27f4c..ebb9f24 100644 (file)
@@ -1665,10 +1665,9 @@ check_started_ok(struct fst_card_info *card)
         * existing firmware etc so we just report it for the moment.
         */
        if (FST_RDL(card, numberOfPorts) != card->nports) {
-               pr_warning("Port count mismatch on card %d. "
-                          "Firmware thinks %d we say %d\n",
-                          card->card_no,
-                          FST_RDL(card, numberOfPorts), card->nports);
+               pr_warn("Port count mismatch on card %d.  Firmware thinks %d we say %d\n",
+                       card->card_no,
+                       FST_RDL(card, numberOfPorts), card->nports);
        }
 }