Re: [PATCH] i2c driver fixes for 2.6.4

From: Greg KH
Date: Mon Mar 15 2004 - 19:30:44 EST


ChangeSet 1.1597.1.8, 2004/02/23 17:23:15-08:00, greg@xxxxxxxxx

I2C: fix compiler warnings in 2 drivers.


drivers/i2c/busses/i2c-elv.c | 2 +-
drivers/i2c/busses/i2c-velleman.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/drivers/i2c/busses/i2c-elv.c b/drivers/i2c/busses/i2c-elv.c
--- a/drivers/i2c/busses/i2c-elv.c Mon Mar 15 14:35:57 2004
+++ b/drivers/i2c/busses/i2c-elv.c Mon Mar 15 14:35:57 2004
@@ -152,7 +152,7 @@
return -ENODEV;
}
}
- pr_debug("i2c-elv: found device at %#x.\n",base);
+ pr_debug("i2c-elv: found device at %p.\n", (void *)base);
return 0;
}

diff -Nru a/drivers/i2c/busses/i2c-velleman.c b/drivers/i2c/busses/i2c-velleman.c
--- a/drivers/i2c/busses/i2c-velleman.c Mon Mar 15 14:35:57 2004
+++ b/drivers/i2c/busses/i2c-velleman.c Mon Mar 15 14:35:57 2004
@@ -138,7 +138,7 @@
return -ENODEV;
}
}
- pr_debug("i2c-velleman: found device at %#x.\n",base);
+ pr_debug("i2c-velleman: found device at %p.\n",(void *)base);
return 0;
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/