aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-08-21 05:15:45 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:38 -0400
commit4ecd41bd0ff5dfcb4f2c59d980f9196c160882be (patch)
treee34cbad92f2ec21b1328021efef92bb745c66404
parent655b4d16ac5e551e5c8dac5812156edfd87bf822 (diff)
[PATCH] libertas: printk warning fixes
drivers/net/wireless/libertas/if_cs.c: In function 'if_cs_prog_helper': drivers/net/wireless/libertas/if_cs.c:462: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' drivers/net/wireless/libertas/if_cs.c: In function 'if_cs_prog_real': drivers/net/wireless/libertas/if_cs.c:538: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/libertas/if_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/if_cs.c b/drivers/net/wireless/libertas/if_cs.c
index 4dffc5cc0d1a..09c87df5c2fd 100644
--- a/drivers/net/wireless/libertas/if_cs.c
+++ b/drivers/net/wireless/libertas/if_cs.c
@@ -459,7 +459,7 @@ static int if_cs_prog_helper(struct if_cs_card *card)
459 ret = -ENODEV; 459 ret = -ENODEV;
460 goto done; 460 goto done;
461 } 461 }
462 lbs_deb_cs("helper size %d\n", fw->size); 462 lbs_deb_cs("helper size %td\n", fw->size);
463 463
464 /* "Set the 5 bytes of the helper image to 0" */ 464 /* "Set the 5 bytes of the helper image to 0" */
465 /* Not needed, this contains an ARM branch instruction */ 465 /* Not needed, this contains an ARM branch instruction */
@@ -535,7 +535,7 @@ static int if_cs_prog_real(struct if_cs_card *card)
535 ret = -ENODEV; 535 ret = -ENODEV;
536 goto done; 536 goto done;
537 } 537 }
538 lbs_deb_cs("fw size %d\n", fw->size); 538 lbs_deb_cs("fw size %td\n", fw->size);
539 539
540 ret = if_cs_poll_while_fw_download(card, IF_CS_C_SQ_READ_LOW, IF_CS_C_SQ_HELPER_OK); 540 ret = if_cs_poll_while_fw_download(card, IF_CS_C_SQ_READ_LOW, IF_CS_C_SQ_HELPER_OK);
541 if (ret < 0) { 541 if (ret < 0) {