diff options
author | John W. Linville <linville@tuxdriver.com> | 2009-04-24 15:30:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-24 15:41:37 -0400 |
commit | 9b171ffe1b3004587f4a90ef293531a4a262e538 (patch) | |
tree | 7acbf8f84512e8ce9841d5c7ec91636577eeca8c /drivers | |
parent | 1965c85331ed29dc4fd32479ff31663e3e9a518f (diff) |
libertas: fix format warning
drivers/net/wireless/libertas/if_spi.c: In function ‘if_spi_c2h_data’:
drivers/net/wireless/libertas/if_spi.c:733: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘long unsigned int’
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/libertas/if_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_spi.c b/drivers/net/wireless/libertas/if_spi.c index 97493e2f4109..dccd01fd1f10 100644 --- a/drivers/net/wireless/libertas/if_spi.c +++ b/drivers/net/wireless/libertas/if_spi.c | |||
@@ -731,7 +731,7 @@ static int if_spi_c2h_data(struct if_spi_card *card) | |||
731 | goto out; | 731 | goto out; |
732 | } else if (len > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE) { | 732 | } else if (len > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE) { |
733 | lbs_pr_err("%s: error: card has %d bytes of data, but " | 733 | lbs_pr_err("%s: error: card has %d bytes of data, but " |
734 | "our maximum skb size is %u\n", | 734 | "our maximum skb size is %lu\n", |
735 | __func__, len, MRVDRV_ETH_RX_PACKET_BUFFER_SIZE); | 735 | __func__, len, MRVDRV_ETH_RX_PACKET_BUFFER_SIZE); |
736 | err = -EINVAL; | 736 | err = -EINVAL; |
737 | goto out; | 737 | goto out; |