diff options
author | Zach Brown <zach.brown@oracle.com> | 2006-10-03 04:16:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:04:19 -0400 |
commit | cb7cf57a6196a4b27e5d2f71debefc80a2fa1725 (patch) | |
tree | bf6edb3d66cafa539df6ed82b6e4fd9a952a5b99 /drivers/firmware/dell_rbu.c | |
parent | 5df0a29d9c2239c28b5864037b51ac3d747439a9 (diff) |
[PATCH] pr_debug: dell_rbu: fix pr_debug argument warnings
dell_rbu: fix pr_debug argument warnings
Use size_t length modifier when outputting size_t and use %p instead of %lu for
'u8 *'.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/firmware/dell_rbu.c')
-rw-r--r-- | drivers/firmware/dell_rbu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/dell_rbu.c b/drivers/firmware/dell_rbu.c index 23b086685453..fc17599c905e 100644 --- a/drivers/firmware/dell_rbu.c +++ b/drivers/firmware/dell_rbu.c | |||
@@ -227,7 +227,7 @@ static int packetize_data(void *data, size_t length) | |||
227 | int packet_length; | 227 | int packet_length; |
228 | u8 *temp; | 228 | u8 *temp; |
229 | u8 *end = (u8 *) data + length; | 229 | u8 *end = (u8 *) data + length; |
230 | pr_debug("packetize_data: data length %d\n", length); | 230 | pr_debug("packetize_data: data length %zd\n", length); |
231 | if (!rbu_data.packetsize) { | 231 | if (!rbu_data.packetsize) { |
232 | printk(KERN_WARNING | 232 | printk(KERN_WARNING |
233 | "dell_rbu: packetsize not specified\n"); | 233 | "dell_rbu: packetsize not specified\n"); |
@@ -249,7 +249,7 @@ static int packetize_data(void *data, size_t length) | |||
249 | if ((rc = create_packet(temp, packet_length))) | 249 | if ((rc = create_packet(temp, packet_length))) |
250 | return rc; | 250 | return rc; |
251 | 251 | ||
252 | pr_debug("%lu:%lu\n", temp, (end - temp)); | 252 | pr_debug("%p:%lu\n", temp, (end - temp)); |
253 | temp += packet_length; | 253 | temp += packet_length; |
254 | } | 254 | } |
255 | 255 | ||