Skip to content

Commit

Permalink
[PATCH] dell_rbu: printk() warning fix
Browse files Browse the repository at this point in the history
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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Oct 11, 2006
1 parent 2720574 commit 9e42ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/dell_rbu.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static int packetize_data(void *data, size_t length)
if ((rc = create_packet(temp, packet_length)))
return rc;

pr_debug("%p:%lu\n", temp, (end - temp));
pr_debug("%p:%td\n", temp, (end - temp));
temp += packet_length;
}

Expand Down

0 comments on commit 9e42ef7

Please sign in to comment.