summaryrefslogtreecommitdiffstats
path: root/drivers/net/fddi
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2015-06-05 19:19:11 +0100
committerDavid S. Miller <davem@davemloft.net>2015-06-07 00:31:22 -0700
commit908e80d6546813aaf8b546b4b4483fcec24190b6 (patch)
tree17ad6b2c584d3018db924b9f777cabbbcde69b20 /drivers/net/fddi
parentc5726d26b8147030c394964aabfb5d36140c08ef (diff)
downloadblackbird-op-linux-908e80d6546813aaf8b546b4b4483fcec24190b6.tar.gz
blackbird-op-linux-908e80d6546813aaf8b546b4b4483fcec24190b6.zip
fddi: print an address with %p format specifier rather than %x
The debug is printing the struct smt_header * address using the %x format specifier. Fix it to use %p instead. 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')
-rw-r--r--drivers/net/fddi/skfp/srf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/srf.c b/drivers/net/fddi/skfp/srf.c
index cc27dea3414e..9956680402de 100644
--- a/drivers/net/fddi/skfp/srf.c
+++ b/drivers/net/fddi/skfp/srf.c
@@ -414,7 +414,7 @@ static void smt_send_srf(struct s_smc *smc)
smt->smt_len = SMT_MAX_INFO_LEN - pcon.pc_len ;
mb->sm_len = smt->smt_len + sizeof(struct smt_header) ;
- DB_SMT("SRF: sending SRF at %x, len %d\n",smt,mb->sm_len) ;
+ DB_SMT("SRF: sending SRF at %p, len %d\n",smt,mb->sm_len) ;
DB_SMT("SRF: state SR%d Threshold %d\n",
smc->srf.sr_state,smc->srf.SRThreshold/TICKS_PER_SECOND) ;
#ifdef DEBUG
OpenPOWER on IntegriCloud