Commit 9e42ef77 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] dell_rbu: printk() warning fix

drivers/firmware/dell_rbu.c: In function 'packetize_data':
drivers/firmware/dell_rbu.c:252: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'int'

Cc: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 27205744
...@@ -249,7 +249,7 @@ static int packetize_data(void *data, size_t length) ...@@ -249,7 +249,7 @@ static int packetize_data(void *data, size_t length)
if ((rc = create_packet(temp, packet_length))) if ((rc = create_packet(temp, packet_length)))
return rc; return rc;
pr_debug("%p:%lu\n", temp, (end - temp)); pr_debug("%p:%td\n", temp, (end - temp));
temp += packet_length; temp += packet_length;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment