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/pmf.c | |
parent | 5dbc6530939126cd61cb6c2e6d7b0a95741aaee6 (diff) | |
download | linux-5671e8c19c8cb4dd432e54f5bc5e2e9a9bac894b.tar.bz2 |
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/pmf.c')
-rw-r--r-- | drivers/net/fddi/skfp/pmf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fddi/skfp/pmf.c b/drivers/net/fddi/skfp/pmf.c index 52fa162a31e0..eee447315e32 100644 --- a/drivers/net/fddi/skfp/pmf.c +++ b/drivers/net/fddi/skfp/pmf.c @@ -284,7 +284,7 @@ void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) SMbuf *reply ; sm = smtod(mb,struct smt_header *) ; - DB_SMT("SMT: processing PMF frame at %p len %d\n",sm,mb->sm_len) ; + DB_SMT("SMT: processing PMF frame at %p len %d", sm, mb->sm_len); #ifdef DEBUG dump_smt(smc,sm,"PMF Received") ; #endif @@ -1585,7 +1585,7 @@ void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) dump_hex((char *) &sm->smt_source,6) ; printf(" Class %x Type %x Version %x\n", sm->smt_class,sm->smt_type,sm->smt_version) ; - printf("TID %lx\t\tSID ",sm->smt_tid) ; + printf("TID %x\t\tSID ", sm->smt_tid); dump_hex((char *) &sm->smt_sid,8) ; printf(" LEN %x\n",sm->smt_len) ; |