Commit 9b171ffe authored by John W. Linville's avatar John W. Linville

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: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1965c853
...@@ -731,7 +731,7 @@ static int if_spi_c2h_data(struct if_spi_card *card) ...@@ -731,7 +731,7 @@ static int if_spi_c2h_data(struct if_spi_card *card)
goto out; goto out;
} else if (len > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE) { } else if (len > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE) {
lbs_pr_err("%s: error: card has %d bytes of data, but " lbs_pr_err("%s: error: card has %d bytes of data, but "
"our maximum skb size is %u\n", "our maximum skb size is %lu\n",
__func__, len, MRVDRV_ETH_RX_PACKET_BUFFER_SIZE); __func__, len, MRVDRV_ETH_RX_PACKET_BUFFER_SIZE);
err = -EINVAL; err = -EINVAL;
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment