aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/dell_rbu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/dell_rbu.c')
-rw-r--r--drivers/firmware/dell_rbu.c4
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