Skip to content

Commit

Permalink
[PATCH] libertas: printk warning fixes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and David S. Miller committed Oct 10, 2007
1 parent 655b4d1 commit 4ecd41b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/libertas/if_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ static int if_cs_prog_helper(struct if_cs_card *card)
ret = -ENODEV;
goto done;
}
lbs_deb_cs("helper size %d\n", fw->size);
lbs_deb_cs("helper size %td\n", fw->size);

/* "Set the 5 bytes of the helper image to 0" */
/* Not needed, this contains an ARM branch instruction */
Expand Down Expand Up @@ -535,7 +535,7 @@ static int if_cs_prog_real(struct if_cs_card *card)
ret = -ENODEV;
goto done;
}
lbs_deb_cs("fw size %d\n", fw->size);
lbs_deb_cs("fw size %td\n", fw->size);

ret = if_cs_poll_while_fw_download(card, IF_CS_C_SQ_READ_LOW, IF_CS_C_SQ_HELPER_OK);
if (ret < 0) {
Expand Down

0 comments on commit 4ecd41b

Please sign in to comment.