From: Andrew Morton Date: Wed, 11 Oct 2006 08:22:13 +0000 (-0700) Subject: [PATCH] dell_rbu: printk() warning fix X-Git-Tag: MMI-PSA29.97-13-9~46101 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e42ef777f62277ea9bb70976be65bb374e00b9c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/firmware/dell_rbu.c b/drivers/firmware/dell_rbu.c index fc17599c905e..8136d779ddc8 100644 --- a/drivers/firmware/dell_rbu.c +++ b/drivers/firmware/dell_rbu.c @@ -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; }