All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath6kl:pending 15/15] drivers/net/wireless/ath/ath10k/wmi.c:2407:46: warning: cast to restricted __le32
@ 2018-10-08 13:49 kbuild test robot
  2018-10-12 14:36 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-10-08 13:49 UTC (permalink / raw)
  To: Balaji Pothunoori; +Cc: Kalle Valo, kbuild-all, ath10k

[-- Attachment #1: Type: text/plain, Size: 5773 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   70aa9eaba2a46b3d53caf03060576a7615182814
commit: 70aa9eaba2a46b3d53caf03060576a7615182814 [15/15] ath10k: management tx ack rssi capability check
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 70aa9eaba2a46b3d53caf03060576a7615182814
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath10k/wmi.c:2407:46: warning: cast to restricted __le32
   drivers/net/wireless/ath/ath10k/wmi.c:2408:42: warning: cast to restricted __le32
--
>> drivers/net/wireless/ath/ath10k/wmi-tlv.c:744:26: warning: incorrect type in assignment (different base types)
   drivers/net/wireless/ath/ath10k/wmi-tlv.c:744:26:    expected restricted __le32 [usertype] num_reports
   drivers/net/wireless/ath/ath10k/wmi-tlv.c:744:26:    got unsigned int [unsigned] [usertype] <noident>
--
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:37:23: warning: symbol 'mt76x02_rates' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:53:6: warning: symbol 'mt76x02_configure_filter' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:87:5: warning: symbol 'mt76x02_sta_add' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:128:5: warning: symbol 'mt76x02_sta_remove' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:149:6: warning: symbol 'mt76x02_vif_init' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:162:1: warning: symbol 'mt76x02_add_interface' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:191:6: warning: symbol 'mt76x02_remove_interface' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:200:5: warning: symbol 'mt76x02_ampdu_action' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:250:5: warning: symbol 'mt76x02_set_key' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:317:5: warning: symbol 'mt76x02_conf_tx' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:361:6: warning: symbol 'mt76x02_sta_rate_tbl_update' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:382:5: warning: symbol 'mt76x02_insert_hdr_pad' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:398:6: warning: symbol 'mt76x02_remove_hdr_pad' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:421:6: warning: symbol 'mt76x02_tx_complete' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:436:6: warning: symbol 'mt76x02_tx_complete_skb' was not declared. Should it be static?
   drivers/net/wireless/mediatek/mt76/mt76x02_util.c:444:6: warning: symbol 'mt76x02_tx_status_data' was not declared. Should it be static?
>> drivers/net/wireless/mediatek/mt76/mt76x02_util.c:457:11: warning: symbol 'mt76x02_beacon_offsets' was not declared. Should it be static?
>> drivers/net/wireless/mediatek/mt76/mt76x02_util.c:479:6: warning: symbol 'mt76x02_set_beacon_offsets' was not declared. Should it be static?

vim +2407 drivers/net/wireless/ath/ath10k/wmi.c

dc405152 Rakesh Pillai 2018-07-25  2388  
4c2d114d Rakesh Pillai 2018-10-02  2389  int ath10k_wmi_event_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb)
4c2d114d Rakesh Pillai 2018-10-02  2390  {
4c2d114d Rakesh Pillai 2018-10-02  2391  	struct wmi_tlv_mgmt_tx_bundle_compl_ev_arg arg;
4c2d114d Rakesh Pillai 2018-10-02  2392  	u32 *desc_ids, *status;
4c2d114d Rakesh Pillai 2018-10-02  2393  	u32 num_reports;
4c2d114d Rakesh Pillai 2018-10-02  2394  	int i, ret;
4c2d114d Rakesh Pillai 2018-10-02  2395  
4c2d114d Rakesh Pillai 2018-10-02  2396  	ret = ath10k_wmi_pull_mgmt_tx_bundle_compl(ar, skb, &arg);
4c2d114d Rakesh Pillai 2018-10-02  2397  	if (ret) {
4c2d114d Rakesh Pillai 2018-10-02  2398  		ath10k_warn(ar, "failed to parse bundle mgmt compl event: %d\n", ret);
4c2d114d Rakesh Pillai 2018-10-02  2399  		return ret;
4c2d114d Rakesh Pillai 2018-10-02  2400  	}
4c2d114d Rakesh Pillai 2018-10-02  2401  
4c2d114d Rakesh Pillai 2018-10-02  2402  	num_reports = __le32_to_cpu(arg.num_reports);
4c2d114d Rakesh Pillai 2018-10-02  2403  	desc_ids = (u32 *)arg.desc_ids;
4c2d114d Rakesh Pillai 2018-10-02  2404  	status = (u32 *)arg.status;
4c2d114d Rakesh Pillai 2018-10-02  2405  
4c2d114d Rakesh Pillai 2018-10-02  2406  	for (i = 0; i < num_reports; i++)
4c2d114d Rakesh Pillai 2018-10-02 @2407  		wmi_process_mgmt_tx_comp(ar, __le32_to_cpu(desc_ids[i]),
4c2d114d Rakesh Pillai 2018-10-02  2408  					 __le32_to_cpu(status[i]));
4c2d114d Rakesh Pillai 2018-10-02  2409  
4c2d114d Rakesh Pillai 2018-10-02  2410  	ath10k_dbg(ar, ATH10K_DBG_WMI, "wmi tlv event bundle mgmt tx completion\n");
4c2d114d Rakesh Pillai 2018-10-02  2411  
4c2d114d Rakesh Pillai 2018-10-02  2412  	return 0;
4c2d114d Rakesh Pillai 2018-10-02  2413  }
4c2d114d Rakesh Pillai 2018-10-02  2414  

:::::: The code at line 2407 was first introduced by commit
:::::: 4c2d114d71170ab5a81c71042676ac8e16b70a82 ath10k: Handle bundled tx completion for managenent frames

:::::: TO: Rakesh Pillai <pillair@codeaurora.org>
:::::: CC: Kalle Valo <kvalo@codeaurora.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65826 bytes --]

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ath6kl:pending 15/15] drivers/net/wireless/ath/ath10k/wmi.c:2407:46: warning: cast to restricted __le32
  2018-10-08 13:49 [ath6kl:pending 15/15] drivers/net/wireless/ath/ath10k/wmi.c:2407:46: warning: cast to restricted __le32 kbuild test robot
@ 2018-10-12 14:36 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2018-10-12 14:36 UTC (permalink / raw)
  To: kbuild test robot; +Cc: Balaji Pothunoori, kbuild-all, ath10k

kbuild test robot <lkp@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
> head:   70aa9eaba2a46b3d53caf03060576a7615182814
> commit: 70aa9eaba2a46b3d53caf03060576a7615182814 [15/15] ath10k:
> management tx ack rssi capability check
> config: x86_64-allmodconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
>         git checkout 70aa9eaba2a46b3d53caf03060576a7615182814
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
>
> All warnings (new ones prefixed by >>):
>
>>> drivers/net/wireless/ath/ath10k/wmi.c:2407:46: warning: cast to restricted __le32
>    drivers/net/wireless/ath/ath10k/wmi.c:2408:42: warning: cast to restricted __le32
> --
>>> drivers/net/wireless/ath/ath10k/wmi-tlv.c:744:26: warning:
>>> incorrect type in assignment (different base types)
>    drivers/net/wireless/ath/ath10k/wmi-tlv.c:744:26: expected
> restricted __le32 [usertype] num_reports
>    drivers/net/wireless/ath/ath10k/wmi-tlv.c:744:26: got unsigned int
> [unsigned] [usertype] <noident>

The warnings seem to be valid but it was not caused by patch "ath10k:
management tx ack rssi capability check". Instead they were added by:

[1/2] ath10k: Handle bundled tx completion for managenent frames

https://patchwork.kernel.org/patch/10623969/

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-12 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-08 13:49 [ath6kl:pending 15/15] drivers/net/wireless/ath/ath10k/wmi.c:2407:46: warning: cast to restricted __le32 kbuild test robot
2018-10-12 14:36 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.