]> git.hungrycats.org Git - linux/commitdiff
[MEDIA]: Print out pointers correctly in dst.c
authorDavid S. Miller <davem@nuts.davemloft.net>
Thu, 19 Feb 2004 13:47:33 +0000 (05:47 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Thu, 19 Feb 2004 13:47:33 +0000 (05:47 -0800)
drivers/media/dvb/frontends/dst.c

index 80ea6183fe31c5dfaaa8c44d02817f913a9cab83..859a203481214cb3fbedaf3ac1b4b48e521c3c5f 100644 (file)
@@ -1149,8 +1149,8 @@ static int dst_attach (struct dvb_i2c_bus *i2c, void **data)
        }
 
        dst_init (dst);
-       dprintk("%s: register dst %8.8x bt %8.8x i2c %8.8x\n", __FUNCTION__, 
-                       (u32)dst, (u32)(dst->bt), (u32)(dst->i2c));
+       dprintk("%s: register dst %p bt %p i2c %p\n", __FUNCTION__, 
+               dst, dst->bt, dst->i2c);
 
        info = &dst_info_sat;
        if (dst->dst_type == DST_TYPE_IS_TERR)
@@ -1166,7 +1166,7 @@ static int dst_attach (struct dvb_i2c_bus *i2c, void **data)
 static void dst_detach (struct dvb_i2c_bus *i2c, void *data)
 {
        dvb_unregister_frontend (dst_ioctl, i2c);
-       dprintk("%s: unregister dst %8.8x\n", __FUNCTION__, (u32)(data));
+       dprintk("%s: unregister dst %p\n", __FUNCTION__, data);
        if (data)
                kfree(data);
 }