OSDN Git Service

fddi: skfp: Use more common logging styles
authorJoe Perches <joe@perches.com>
Thu, 22 Dec 2016 03:54:53 +0000 (19:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Dec 2016 16:37:14 +0000 (11:37 -0500)
commit5671e8c19c8cb4dd432e54f5bc5e2e9a9bac894b
treeadd972959654d78fae74dc9a513fda94b7a63d7d
parent5dbc6530939126cd61cb6c2e6d7b0a95741aaee6
fddi: skfp: Use more common logging styles

Several macros use non-standard styles where format and arguments
are not verified.  Convert these to a more typical fmt, ##__VA_ARGS__
use so format and arguments match as appropriate.

Miscellanea:

o Fix format and argument mismatches
o Realign and reindent misindented block
o Strip newlines from formats and add to macro defines
o Coalesce a few consecutive logging uses to more simple single uses

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
drivers/net/fddi/skfp/cfm.c
drivers/net/fddi/skfp/drvfbi.c
drivers/net/fddi/skfp/ecm.c
drivers/net/fddi/skfp/ess.c
drivers/net/fddi/skfp/fplustm.c
drivers/net/fddi/skfp/h/cmtdef.h
drivers/net/fddi/skfp/hwmtm.c
drivers/net/fddi/skfp/pcmplc.c
drivers/net/fddi/skfp/pmf.c
drivers/net/fddi/skfp/rmt.c
drivers/net/fddi/skfp/smt.c
drivers/net/fddi/skfp/srf.c