* [ath6kl:pending 39/50] drivers/net/wireless/ath/ath11k/dp_rx.c:1662: undefined reference to `ath11k_debugfs_htt_ext_stats_handler'
@ 2020-09-24 17:15 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-09-24 17:15 UTC (permalink / raw)
To: Kalle Valo; +Cc: kbuild-all, ath10k
[-- Attachment #1: Type: text/plain, Size: 4657 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head: 55dc2060f5674874a6c37b680bf6396629e05f99
commit: 568f06036ee23a003542227975f69a75ac172ba2 [39/50] ath11k: debugfs: move some function declarations to correct header files
config: nios2-randconfig-r026-20200923 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 568f06036ee23a003542227975f69a75ac172ba2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
nios2-linux-ld: drivers/net/wireless/ath/ath11k/dp_rx.o: in function `ath11k_dp_htt_htc_t2h_msg_handler':
>> drivers/net/wireless/ath/ath11k/dp_rx.c:1662: undefined reference to `ath11k_debugfs_htt_ext_stats_handler'
drivers/net/wireless/ath/ath11k/dp_rx.c:1662:(.text+0x4f70): relocation truncated to fit: R_NIOS2_CALL26 against `ath11k_debugfs_htt_ext_stats_handler'
# https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=568f06036ee23a003542227975f69a75ac172ba2
git remote add ath6kl https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
git fetch --no-tags ath6kl pending
git checkout 568f06036ee23a003542227975f69a75ac172ba2
vim +1662 drivers/net/wireless/ath/ath11k/dp_rx.c
1605
1606 void ath11k_dp_htt_htc_t2h_msg_handler(struct ath11k_base *ab,
1607 struct sk_buff *skb)
1608 {
1609 struct ath11k_dp *dp = &ab->dp;
1610 struct htt_resp_msg *resp = (struct htt_resp_msg *)skb->data;
1611 enum htt_t2h_msg_type type = FIELD_GET(HTT_T2H_MSG_TYPE, *(u32 *)resp);
1612 u16 peer_id;
1613 u8 vdev_id;
1614 u8 mac_addr[ETH_ALEN];
1615 u16 peer_mac_h16;
1616 u16 ast_hash;
1617
1618 ath11k_dbg(ab, ATH11K_DBG_DP_HTT, "dp_htt rx msg type :0x%0x\n", type);
1619
1620 switch (type) {
1621 case HTT_T2H_MSG_TYPE_VERSION_CONF:
1622 dp->htt_tgt_ver_major = FIELD_GET(HTT_T2H_VERSION_CONF_MAJOR,
1623 resp->version_msg.version);
1624 dp->htt_tgt_ver_minor = FIELD_GET(HTT_T2H_VERSION_CONF_MINOR,
1625 resp->version_msg.version);
1626 complete(&dp->htt_tgt_version_received);
1627 break;
1628 case HTT_T2H_MSG_TYPE_PEER_MAP:
1629 vdev_id = FIELD_GET(HTT_T2H_PEER_MAP_INFO_VDEV_ID,
1630 resp->peer_map_ev.info);
1631 peer_id = FIELD_GET(HTT_T2H_PEER_MAP_INFO_PEER_ID,
1632 resp->peer_map_ev.info);
1633 peer_mac_h16 = FIELD_GET(HTT_T2H_PEER_MAP_INFO1_MAC_ADDR_H16,
1634 resp->peer_map_ev.info1);
1635 ath11k_dp_get_mac_addr(resp->peer_map_ev.mac_addr_l32,
1636 peer_mac_h16, mac_addr);
1637 ath11k_peer_map_event(ab, vdev_id, peer_id, mac_addr, 0);
1638 break;
1639 case HTT_T2H_MSG_TYPE_PEER_MAP2:
1640 vdev_id = FIELD_GET(HTT_T2H_PEER_MAP_INFO_VDEV_ID,
1641 resp->peer_map_ev.info);
1642 peer_id = FIELD_GET(HTT_T2H_PEER_MAP_INFO_PEER_ID,
1643 resp->peer_map_ev.info);
1644 peer_mac_h16 = FIELD_GET(HTT_T2H_PEER_MAP_INFO1_MAC_ADDR_H16,
1645 resp->peer_map_ev.info1);
1646 ath11k_dp_get_mac_addr(resp->peer_map_ev.mac_addr_l32,
1647 peer_mac_h16, mac_addr);
1648 ast_hash = FIELD_GET(HTT_T2H_PEER_MAP_INFO2_AST_HASH_VAL,
1649 resp->peer_map_ev.info2);
1650 ath11k_peer_map_event(ab, vdev_id, peer_id, mac_addr, ast_hash);
1651 break;
1652 case HTT_T2H_MSG_TYPE_PEER_UNMAP:
1653 case HTT_T2H_MSG_TYPE_PEER_UNMAP2:
1654 peer_id = FIELD_GET(HTT_T2H_PEER_UNMAP_INFO_PEER_ID,
1655 resp->peer_unmap_ev.info);
1656 ath11k_peer_unmap_event(ab, peer_id);
1657 break;
1658 case HTT_T2H_MSG_TYPE_PPDU_STATS_IND:
1659 ath11k_htt_pull_ppdu_stats(ab, skb);
1660 break;
1661 case HTT_T2H_MSG_TYPE_EXT_STATS_CONF:
> 1662 ath11k_debugfs_htt_ext_stats_handler(ab, skb);
1663 break;
1664 case HTT_T2H_MSG_TYPE_PKTLOG:
1665 ath11k_htt_pktlog(ab, skb);
1666 break;
1667 case HTT_T2H_MSG_TYPE_BKPRESSURE_EVENT_IND:
1668 ath11k_htt_backpressure_event_handler(ab, skb);
1669 break;
1670 default:
1671 ath11k_warn(ab, "htt event %d not handled\n", type);
1672 break;
1673 }
1674
1675 dev_kfree_skb_any(skb);
1676 }
1677
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24853 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] 6+ messages in thread* [ath6kl:pending 39/50] drivers/net/wireless/ath/ath11k/dp_rx.c:1662: undefined reference to `ath11k_debugfs_htt_ext_stats_handler'
@ 2020-09-24 17:15 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-09-24 17:15 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4763 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head: 55dc2060f5674874a6c37b680bf6396629e05f99
commit: 568f06036ee23a003542227975f69a75ac172ba2 [39/50] ath11k: debugfs: move some function declarations to correct header files
config: nios2-randconfig-r026-20200923 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 568f06036ee23a003542227975f69a75ac172ba2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
nios2-linux-ld: drivers/net/wireless/ath/ath11k/dp_rx.o: in function `ath11k_dp_htt_htc_t2h_msg_handler':
>> drivers/net/wireless/ath/ath11k/dp_rx.c:1662: undefined reference to `ath11k_debugfs_htt_ext_stats_handler'
drivers/net/wireless/ath/ath11k/dp_rx.c:1662:(.text+0x4f70): relocation truncated to fit: R_NIOS2_CALL26 against `ath11k_debugfs_htt_ext_stats_handler'
# https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=568f06036ee23a003542227975f69a75ac172ba2
git remote add ath6kl https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
git fetch --no-tags ath6kl pending
git checkout 568f06036ee23a003542227975f69a75ac172ba2
vim +1662 drivers/net/wireless/ath/ath11k/dp_rx.c
1605
1606 void ath11k_dp_htt_htc_t2h_msg_handler(struct ath11k_base *ab,
1607 struct sk_buff *skb)
1608 {
1609 struct ath11k_dp *dp = &ab->dp;
1610 struct htt_resp_msg *resp = (struct htt_resp_msg *)skb->data;
1611 enum htt_t2h_msg_type type = FIELD_GET(HTT_T2H_MSG_TYPE, *(u32 *)resp);
1612 u16 peer_id;
1613 u8 vdev_id;
1614 u8 mac_addr[ETH_ALEN];
1615 u16 peer_mac_h16;
1616 u16 ast_hash;
1617
1618 ath11k_dbg(ab, ATH11K_DBG_DP_HTT, "dp_htt rx msg type :0x%0x\n", type);
1619
1620 switch (type) {
1621 case HTT_T2H_MSG_TYPE_VERSION_CONF:
1622 dp->htt_tgt_ver_major = FIELD_GET(HTT_T2H_VERSION_CONF_MAJOR,
1623 resp->version_msg.version);
1624 dp->htt_tgt_ver_minor = FIELD_GET(HTT_T2H_VERSION_CONF_MINOR,
1625 resp->version_msg.version);
1626 complete(&dp->htt_tgt_version_received);
1627 break;
1628 case HTT_T2H_MSG_TYPE_PEER_MAP:
1629 vdev_id = FIELD_GET(HTT_T2H_PEER_MAP_INFO_VDEV_ID,
1630 resp->peer_map_ev.info);
1631 peer_id = FIELD_GET(HTT_T2H_PEER_MAP_INFO_PEER_ID,
1632 resp->peer_map_ev.info);
1633 peer_mac_h16 = FIELD_GET(HTT_T2H_PEER_MAP_INFO1_MAC_ADDR_H16,
1634 resp->peer_map_ev.info1);
1635 ath11k_dp_get_mac_addr(resp->peer_map_ev.mac_addr_l32,
1636 peer_mac_h16, mac_addr);
1637 ath11k_peer_map_event(ab, vdev_id, peer_id, mac_addr, 0);
1638 break;
1639 case HTT_T2H_MSG_TYPE_PEER_MAP2:
1640 vdev_id = FIELD_GET(HTT_T2H_PEER_MAP_INFO_VDEV_ID,
1641 resp->peer_map_ev.info);
1642 peer_id = FIELD_GET(HTT_T2H_PEER_MAP_INFO_PEER_ID,
1643 resp->peer_map_ev.info);
1644 peer_mac_h16 = FIELD_GET(HTT_T2H_PEER_MAP_INFO1_MAC_ADDR_H16,
1645 resp->peer_map_ev.info1);
1646 ath11k_dp_get_mac_addr(resp->peer_map_ev.mac_addr_l32,
1647 peer_mac_h16, mac_addr);
1648 ast_hash = FIELD_GET(HTT_T2H_PEER_MAP_INFO2_AST_HASH_VAL,
1649 resp->peer_map_ev.info2);
1650 ath11k_peer_map_event(ab, vdev_id, peer_id, mac_addr, ast_hash);
1651 break;
1652 case HTT_T2H_MSG_TYPE_PEER_UNMAP:
1653 case HTT_T2H_MSG_TYPE_PEER_UNMAP2:
1654 peer_id = FIELD_GET(HTT_T2H_PEER_UNMAP_INFO_PEER_ID,
1655 resp->peer_unmap_ev.info);
1656 ath11k_peer_unmap_event(ab, peer_id);
1657 break;
1658 case HTT_T2H_MSG_TYPE_PPDU_STATS_IND:
1659 ath11k_htt_pull_ppdu_stats(ab, skb);
1660 break;
1661 case HTT_T2H_MSG_TYPE_EXT_STATS_CONF:
> 1662 ath11k_debugfs_htt_ext_stats_handler(ab, skb);
1663 break;
1664 case HTT_T2H_MSG_TYPE_PKTLOG:
1665 ath11k_htt_pktlog(ab, skb);
1666 break;
1667 case HTT_T2H_MSG_TYPE_BKPRESSURE_EVENT_IND:
1668 ath11k_htt_backpressure_event_handler(ab, skb);
1669 break;
1670 default:
1671 ath11k_warn(ab, "htt event %d not handled\n", type);
1672 break;
1673 }
1674
1675 dev_kfree_skb_any(skb);
1676 }
1677
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24853 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [ath6kl:pending 39/50] drivers/net/wireless/ath/ath11k/dp_rx.c:1662: undefined reference to `ath11k_debugfs_htt_ext_stats_handler'
2020-09-24 17:15 ` kernel test robot
@ 2020-09-25 6:26 ` Kalle Valo
-1 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2020-09-25 6:26 UTC (permalink / raw)
To: kernel test robot; +Cc: kbuild-all, ath11k
(moving to ath11k list)
kernel test robot <lkp@intel.com> writes:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
> head: 55dc2060f5674874a6c37b680bf6396629e05f99
> commit: 568f06036ee23a003542227975f69a75ac172ba2 [39/50] ath11k: debugfs: move some function declarations to correct header files
> config: nios2-randconfig-r026-20200923 (attached as .config)
> compiler: nios2-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 568f06036ee23a003542227975f69a75ac172ba2
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> nios2-linux-ld: drivers/net/wireless/ath/ath11k/dp_rx.o: in function `ath11k_dp_htt_htc_t2h_msg_handler':
>>> drivers/net/wireless/ath/ath11k/dp_rx.c:1662: undefined reference
>> to `ath11k_debugfs_htt_ext_stats_handler'
This happens when CONFIG_ATH11K_DEBUGFS is disabled. I'll send a fix.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-09-25 8:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-24 17:15 [ath6kl:pending 39/50] drivers/net/wireless/ath/ath11k/dp_rx.c:1662: undefined reference to `ath11k_debugfs_htt_ext_stats_handler' kernel test robot
2020-09-24 17:15 ` kernel test robot
2020-09-25 6:26 ` Kalle Valo
2020-09-25 6:26 ` Kalle Valo
2020-09-25 8:59 ` Kalle Valo
2020-09-25 8:59 ` 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.