summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwmc3200wifi/tx.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-04-16 05:28:43 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 23:47:00 +0400
commit3c997e8849c5b982662f2a9b3e8cb64260382faa (patch)
tree5975ce39db627bec0e26e56ed38201c49fca70f5 /drivers/net/wireless/iwmc3200wifi/tx.c
parent1c0fc65e6de4e941ff483df445e721d6edb1f84b (diff)
downloadlinux-3c997e8849c5b982662f2a9b3e8cb64260382faa.tar.xz
iwmc3200wifi: Fix sparse warnings
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/tx.c')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/tx.c b/drivers/net/wireless/iwmc3200wifi/tx.c
index a20b936ae21f..3cfa7b81fef2 100644
--- a/drivers/net/wireless/iwmc3200wifi/tx.c
+++ b/drivers/net/wireless/iwmc3200wifi/tx.c
@@ -301,8 +301,8 @@ void iwm_tx_credit_init_pools(struct iwm_priv *iwm,
#define IWM_UDMA_HDR_LEN sizeof(struct iwm_umac_wifi_out_hdr)
-static int iwm_tx_build_packet(struct iwm_priv *iwm, struct sk_buff *skb,
- int pool_id, u8 *buf)
+static __le16 iwm_tx_build_packet(struct iwm_priv *iwm, struct sk_buff *skb,
+ int pool_id, u8 *buf)
{
struct iwm_umac_wifi_out_hdr *hdr = (struct iwm_umac_wifi_out_hdr *)buf;
struct iwm_udma_wifi_cmd udma_cmd;