diff options
author | Joe Perches <joe@perches.com> | 2016-12-21 19:54:53 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-29 11:37:14 -0500 |
commit | 5671e8c19c8cb4dd432e54f5bc5e2e9a9bac894b (patch) | |
tree | add972959654d78fae74dc9a513fda94b7a63d7d /drivers/net/fddi/skfp/drvfbi.c | |
parent | skfp: hwmtm: Use proper logging macros, correct mismatches (diff) | |
download | linux-dev-5671e8c19c8cb4dd432e54f5bc5e2e9a9bac894b.tar.xz linux-dev-5671e8c19c8cb4dd432e54f5bc5e2e9a9bac894b.zip |
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>
Diffstat (limited to 'drivers/net/fddi/skfp/drvfbi.c')
-rw-r--r-- | drivers/net/fddi/skfp/drvfbi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fddi/skfp/drvfbi.c b/drivers/net/fddi/skfp/drvfbi.c index 07da97c303d6..fed3a92d3df4 100644 --- a/drivers/net/fddi/skfp/drvfbi.c +++ b/drivers/net/fddi/skfp/drvfbi.c @@ -343,8 +343,8 @@ void init_board(struct s_smc *smc, u_char *mac_addr) */ void sm_pm_bypass_req(struct s_smc *smc, int mode) { - DB_ECMN(1,"ECM : sm_pm_bypass_req(%s)\n",(mode == BP_INSERT) ? - "BP_INSERT" : "BP_DEINSERT",0) ; + DB_ECMN(1, "ECM : sm_pm_bypass_req(%s)", + mode == BP_INSERT ? "BP_INSERT" : "BP_DEINSERT"); if (smc->s.sas != SMT_DAS) return ; |