The patch number 10915 was added via Hans Verkuil <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
Linux Media Mailing List <[email protected]>
------
From: Hans Verkuil <[email protected]>
stv0900: fix some compile warnings on 64-bit systems.
Priority: normal
Signed-off-by: Hans Verkuil <[email protected]>
---
linux/drivers/media/dvb/frontends/stv0900_core.c | 24 +++++++--------
1 file changed, 12 insertions(+), 12 deletions(-)
diff -r 6f5ca0bdb329 -r 9d20f27a1f78
linux/drivers/media/dvb/frontends/stv0900_core.c
--- a/linux/drivers/media/dvb/frontends/stv0900_core.c Fri Mar 06 14:15:01
2009 +0100
+++ b/linux/drivers/media/dvb/frontends/stv0900_core.c Fri Mar 06 14:20:00
2009 +0100
@@ -62,16 +62,16 @@ static struct stv0900_inode *find_inode(
(temp_chip->internal->i2c_addr != i2c_addr))) {
temp_chip = temp_chip->next_inode;
- dprintk(KERN_INFO "%s: store.adap %x\n", __func__,
- (int)&(*temp_chip->internal->i2c_adap));
- dprintk(KERN_INFO "%s: init.adap %x\n", __func__,
- (int)&(*i2c_adap));
+ dprintk(KERN_INFO "%s: store.adap %p\n", __func__,
+ temp_chip->internal->i2c_adap);
+ dprintk(KERN_INFO "%s: init.adap %p\n", __func__,
+ i2c_adap);
}
if (temp_chip != NULL) {/* find by i2c adapter & address */
- dprintk(KERN_INFO "%s: store.adap %x\n", __func__,
- (int)temp_chip->internal->i2c_adap);
- dprintk(KERN_INFO "%s: init.adap %x\n", __func__,
- (int)i2c_adap);
+ dprintk(KERN_INFO "%s: store.adap %p\n", __func__,
+ temp_chip->internal->i2c_adap);
+ dprintk(KERN_INFO "%s: init.adap %p\n", __func__,
+ i2c_adap);
}
}
@@ -1496,7 +1496,7 @@ static enum dvbfe_search stv0900_search(
enum fe_stv0900_error error = STV0900_NO_ERROR;
- dprintk(KERN_INFO "%s: Internal = %x\n", __func__, (u32)i_params);
+ dprintk(KERN_INFO "%s: Internal = %p\n", __func__, i_params);
p_result.locked = FALSE;
p_search.path = state->demod;
@@ -1619,7 +1619,7 @@ static int stv0900_read_status(struct dv
{
struct stv0900_state *state = fe->demodulator_priv;
- dprintk("%s: Internal = %x\n", __func__, (unsigned int)state->internal);
+ dprintk("%s: Internal = %p\n", __func__, state->internal);
if ((stv0900_status(state->internal, state->demod)) == TRUE) {
dprintk("DEMOD LOCK OK\n");
@@ -1935,8 +1935,8 @@ struct dvb_frontend *stv0900_attach(cons
if (err_stv0900)
goto error;
- dprintk(KERN_INFO "%s: Init Result = %d, handle_stv0900 = %x\n",
- __func__, err_stv0900, (unsigned int)state->internal);
+ dprintk(KERN_INFO "%s: Init Result = %d, handle_stv0900 = %p\n",
+ __func__, err_stv0900, state->internal);
break;
default:
goto error;
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/9d20f27a1f783724f4467ca76e199de1e16a941a
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits