summaryrefslogtreecommitdiff
path: root/drivers/net/fddi/skfp/smt.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-12-21 19:03:23 +0300
committerDavid S. Miller <davem@davemloft.net>2016-12-21 23:34:51 +0300
commit551cde192343a10c8fbd57c4cc8f0c4b6cd307e4 (patch)
treecb5bbaf8660bbc58dfc38389cce30c7ff70dc5c5 /drivers/net/fddi/skfp/smt.c
parent0a9648f1293966c838dc570da73c15a76f4c89d6 (diff)
downloadlinux-551cde192343a10c8fbd57c4cc8f0c4b6cd307e4.tar.xz
net: fddi: skfp: use %p format specifier for addresses rather than %x
Trivial fix: Addresses should be printed using the %p format specifier rather than using %x. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi/skfp/smt.c')
-rw-r--r--drivers/net/fddi/skfp/smt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/smt.c b/drivers/net/fddi/skfp/smt.c
index cd78b7cacc75..e80a08903fcf 100644
--- a/drivers/net/fddi/skfp/smt.c
+++ b/drivers/net/fddi/skfp/smt.c
@@ -504,7 +504,7 @@ void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs)
#endif
smt_swap_para(sm,(int) mb->sm_len,1) ;
- DB_SMT("SMT : received packet [%s] at 0x%x\n",
+ DB_SMT("SMT : received packet [%s] at 0x%p\n",
smt_type_name[m_fc(mb) & 0xf],sm) ;
DB_SMT("SMT : version %d, class %s\n",sm->smt_version,
smt_class_name[(sm->smt_class>LAST_CLASS)?0 : sm->smt_class]) ;