ath10k: fix __le32 warning in ath10k_wmi_tlv_op_gen_request_peer_stats_info()
PATCH 1/1 ath10k: fix __le32 warning in ath10k_wmi_tlv_op_gen_request_peer_stats_info()
From: Wen Gong <[email protected]>
Sparse warned:
drivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: warning: incorrect type in assignment (different base types)drivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: expected
restricted __le32 [usertype] reset_after_requestdrivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: got unsigned int
[usertype] reset
Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00042.
--- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/wmi-tlv.c +1 -1
@@ -3010,7 +3010,7 @@ ath10k_wmi_tlv_op_gen_request_peer_stats_info(struct ath10k *ar,if (type ==WMI_REQUEST_ONE_PEER_STATS_INFO )ether_addr_copy (cmd->peer_macaddr.addr, addr); - cmd->reset_after_request = reset; + cmd->reset_after_request =__cpu_to_le32 (reset);ath10k_dbg (ar,ATH10K_DBG_WMI ,"wmi tlv request peer stats info\n" );return skb; }
Signature · 6 lines
2.7.4 _______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 9 lines · Kalle Valo
Sparse warned:
drivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: warning: incorrect type in assignment (different base types)drivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: expected
restricted__le32[usertype]reset_after_requestdrivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: got unsigned int
[usertype] reset
Quoted 5 lines
Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00042.
Fixes 0f7cb26830a6 ("ath10k: add rx bitrate report for SDIO")Signed-off-by Wen Gong <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
e47210f72a68 ath10k: fix __le32 warning in ath10k_wmi_tlv_op_gen_request_peer_stats_info()
Signature · 8 lines
https://patchwork.kernel.org/patch/11530437/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 9 lines · Kalle Valo
Sparse warned:
drivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: warning: incorrect type in assignment (different base types)drivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: expected
restricted__le32[usertype]reset_after_requestdrivers/net/wireless/ath/ath10k/wmi-tlv.c:3013:34: got unsigned int
[usertype] reset
Quoted 5 lines
Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00042.
Fixes 0f7cb26830a6 ("ath10k: add rx bitrate report for SDIO")Signed-off-by Wen Gong <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
e47210f72a68 ath10k: fix __le32 warning in ath10k_wmi_tlv_op_gen_request_peer_stats_info()
Signature · 3 lines
https://patchwork.kernel.org/patch/11530437/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches