diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-03-06 07:26:24 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 03:53:59 -0400 |
commit | fb661a78699ad34c385a014fe0d17226234f8496 (patch) | |
tree | e0e595b72a288eeed0273358bccdf802add7913b /drivers | |
parent | aa40d194975e23ba7a55936c7b5dae4e964461b5 (diff) |
[media] stv0367.c: fix compiler warning
drivers/media/dvb/frontends/stv0367.c: In function 'stv0367ter_lock_algo':
drivers/media/dvb/frontends/stv0367.c:1315:2: warning: cast from pointer to integer of different size
Use %p to print addresses instead of 0x%x.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/stv0367.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stv0367.c b/drivers/media/dvb/frontends/stv0367.c index eecdf23642eb..f910d0db8156 100644 --- a/drivers/media/dvb/frontends/stv0367.c +++ b/drivers/media/dvb/frontends/stv0367.c | |||
@@ -1312,7 +1312,7 @@ stv0367_ter_signal_type stv0367ter_lock_algo(struct stv0367_state *state) | |||
1312 | 1312 | ||
1313 | tmp = stv0367_readreg(state, R367TER_SYR_STAT); | 1313 | tmp = stv0367_readreg(state, R367TER_SYR_STAT); |
1314 | tmp2 = stv0367_readreg(state, R367TER_STATUS); | 1314 | tmp2 = stv0367_readreg(state, R367TER_STATUS); |
1315 | dprintk("state=0x%x\n", (int)state); | 1315 | dprintk("state=%p\n", state); |
1316 | dprintk("LOCK OK! mode=%d SYR_STAT=0x%x R367TER_STATUS=0x%x\n", | 1316 | dprintk("LOCK OK! mode=%d SYR_STAT=0x%x R367TER_STATUS=0x%x\n", |
1317 | mode, tmp, tmp2); | 1317 | mode, tmp, tmp2); |
1318 | 1318 | ||