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>
This commit is contained in:
Joe Perches 2011-06-26 19:01:33 +00:00 committed by David S. Miller
parent 09a1732bee
commit e8c122f450

View file

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