aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/rx.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-04-14 11:45:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:44 -0400
commita2caba6b5fc4e046edfefb1db82f52b939b526a5 (patch)
treef808afd9baf8fb7dae3e8e87a51dc71af849ebf4 /drivers/net/wireless/libertas/rx.c
parenta83b9141b540f96dd59409c6487828e880113a29 (diff)
libertas: fix warning about %zd:
drivers/net/wireless/libertas/rx.c: In function ‘lbs_process_rxed_packet’: drivers/net/wireless/libertas/rx.c:184: warning: format ‘%zd’ expects type ‘signed size_t’, but argument 4 has type ‘__le32’ drivers/net/wireless/libertas/rx.c:184: warning: format ‘%zd’ expects type ‘signed size_t’, but argument 5 has type ‘unsigned int’ Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/rx.c')
-rw-r--r--drivers/net/wireless/libertas/rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c
index bd845d09f174..65f02cc6752f 100644
--- a/drivers/net/wireless/libertas/rx.c
+++ b/drivers/net/wireless/libertas/rx.c
@@ -182,8 +182,8 @@ int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb)
182 } 182 }
183 183
184 lbs_deb_rx("rx data: skb->len - pkt_ptr = %d-%zd = %zd\n", 184 lbs_deb_rx("rx data: skb->len - pkt_ptr = %d-%zd = %zd\n",
185 skb->len, le32_to_cpu(p_rx_pd->pkt_ptr), 185 skb->len, (size_t)le32_to_cpu(p_rx_pd->pkt_ptr),
186 skb->len - le32_to_cpu(p_rx_pd->pkt_ptr)); 186 skb->len - (size_t)le32_to_cpu(p_rx_pd->pkt_ptr));
187 187
188 lbs_deb_hex(LBS_DEB_RX, "RX Data: Dest", p_rx_pkt->eth803_hdr.dest_addr, 188 lbs_deb_hex(LBS_DEB_RX, "RX Data: Dest", p_rx_pkt->eth803_hdr.dest_addr,
189 sizeof(p_rx_pkt->eth803_hdr.dest_addr)); 189 sizeof(p_rx_pkt->eth803_hdr.dest_addr));