aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-06-26 15:01:33 -0400
committerDavid S. Miller <davem@davemloft.net>2011-06-27 03:09:47 -0400
commite8c122f450d0b83d7a15535ba49e55ad21a9e63f (patch)
tree9f460dcee9b27110b280fbb5341d4fc436670acd /drivers/net/wan
parent09a1732bee89fc31e63b1bd999f93acd58843f35 (diff)
farsync: Update to current logging forms
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>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r--drivers/net/wan/farsync.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wan/farsync.c b/drivers/net/wan/farsync.c
index 0f27f4c5bb73..ebb9f24eefb5 100644
--- a/drivers/net/wan/farsync.c
+++ b/drivers/net/wan/farsync.c
@@ -1665,10 +1665,9 @@ check_started_ok(struct fst_card_info *card)
1665 * existing firmware etc so we just report it for the moment. 1665 * existing firmware etc so we just report it for the moment.
1666 */ 1666 */
1667 if (FST_RDL(card, numberOfPorts) != card->nports) { 1667 if (FST_RDL(card, numberOfPorts) != card->nports) {
1668 pr_warning("Port count mismatch on card %d. " 1668 pr_warn("Port count mismatch on card %d. Firmware thinks %d we say %d\n",
1669 "Firmware thinks %d we say %d\n", 1669 card->card_no,
1670 card->card_no, 1670 FST_RDL(card, numberOfPorts), card->nports);
1671 FST_RDL(card, numberOfPorts), card->nports);
1672 } 1671 }
1673} 1672}
1674 1673