[PATCH v2 10/12] wifi: mt76: mt7996: add wed rx support
kernel test robot
lkp at intel.com
Thu Oct 19 13:54:23 PDT 2023
Hi Lorenzo,
kernel test robot noticed the following build errors:
[auto build test ERROR on wireless-next/main]
[also build test ERROR on next-20231019]
[cannot apply to wireless/main linus/master v6.6-rc6]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Lorenzo-Bianconi/wifi-mt76-mmio-move-mt76_mmio_wed_-init-release-_rx_buf-in-common-code/20231017-141921
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link: https://lore.kernel.org/r/c82411ec41af772cc6e3244662c7de7c04096b15.1697445996.git.lorenzo%40kernel.org
patch subject: [PATCH v2 10/12] wifi: mt76: mt7996: add wed rx support
config: csky-randconfig-002-20231020 (https://download.01.org/0day-ci/archive/20231020/202310200405.OmWXdxOx-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231020/202310200405.OmWXdxOx-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310200405.OmWXdxOx-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/mediatek/mt76/mt76x02.h:12,
from drivers/net/wireless/mediatek/mt76/mt76x02_usb.h:9,
from drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c:6:
drivers/net/wireless/mediatek/mt76/mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
--
In file included from drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7,
from drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7,
from drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11,
from drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c:12:
drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
--
In file included from drivers/net/wireless/mediatek/mt76/mt76x0/../mt76x02.h:12,
from drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h:20,
from drivers/net/wireless/mediatek/mt76/mt76x0/main.c:9:
drivers/net/wireless/mediatek/mt76/mt76x0/../mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt76x0/../mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
--
In file included from drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac.h:7,
from drivers/net/wireless/mediatek/mt76/mt7921/../mt76_connac_mcu.h:7,
from drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:10,
from drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7,
from drivers/net/wireless/mediatek/mt76/mt7921/mcu.c:6:
drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt7921/../mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
--
In file included from drivers/net/wireless/mediatek/mt76/mt76x2/../mt76x02.h:12,
from drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h:23,
from drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h:11,
from drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c:6:
drivers/net/wireless/mediatek/mt76/mt76x2/../mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt76x2/../mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
--
In file included from drivers/net/wireless/mediatek/mt76/usb_trace.h:10,
from drivers/net/wireless/mediatek/mt76/usb_trace.c:10:
drivers/net/wireless/mediatek/mt76/mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
In file included from drivers/net/wireless/mediatek/mt76/usb_trace.h:86:
include/trace/define_trace.h: At top level:
include/trace/define_trace.h:95:42: fatal error: ./usb_trace.h: No such file or directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
compilation terminated.
--
In file included from drivers/net/wireless/mediatek/mt76/mt76x02.h:12,
from drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:10,
from drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10:
drivers/net/wireless/mediatek/mt76/mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
In file included from drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87:
include/trace/define_trace.h: At top level:
include/trace/define_trace.h:95:42: fatal error: ./mt76x02_trace.h: No such file or directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
compilation terminated.
--
In file included from drivers/net/wireless/mediatek/mt76/trace.h:10,
from drivers/net/wireless/mediatek/mt76/trace.c:10:
drivers/net/wireless/mediatek/mt76/mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
In file included from drivers/net/wireless/mediatek/mt76/trace.h:111:
include/trace/define_trace.h: At top level:
include/trace/define_trace.h:95:42: fatal error: ./trace.h: No such file or directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
compilation terminated.
--
In file included from drivers/net/wireless/mediatek/mt76/mt76_connac.h:7,
from drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h:7,
from drivers/net/wireless/mediatek/mt76/mt792x.h:10,
from drivers/net/wireless/mediatek/mt76/mt792x_trace.h:10,
from drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10:
drivers/net/wireless/mediatek/mt76/mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
In file included from drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51:
include/trace/define_trace.h: At top level:
include/trace/define_trace.h:95:42: fatal error: ./mt792x_trace.h: No such file or directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
compilation terminated.
--
In file included from drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac.h:7,
from drivers/net/wireless/mediatek/mt76/mt7615/../mt76_connac_mcu.h:7,
from drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h:11,
from drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:10,
from drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10:
drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h: In function 'mt76_token_get':
>> drivers/net/wireless/mediatek/mt76/mt7615/../mt76.h:1672:38: error: 'struct mtk_wed_device' has no member named 'wlan'
1672 | start = dev->mmio.wed.wlan.nbuf;
| ^
In file included from drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56:
include/trace/define_trace.h: At top level:
include/trace/define_trace.h:95:42: fatal error: ./mt7615_trace.h: No such file or directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
compilation terminated.
vim +1672 drivers/net/wireless/mediatek/mt76/mt76.h
1665
1666 static inline int
1667 mt76_token_get(struct mt76_dev *dev, struct mt76_txwi_cache **ptxwi)
1668 {
1669 int token, start = 0;
1670
1671 if (mtk_wed_device_active(&dev->mmio.wed))
> 1672 start = dev->mmio.wed.wlan.nbuf;
1673
1674 spin_lock_bh(&dev->token_lock);
1675 token = idr_alloc(&dev->token, *ptxwi, start, start + dev->token_size,
1676 GFP_ATOMIC);
1677 spin_unlock_bh(&dev->token_lock);
1678
1679 return token;
1680 }
1681
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Linux-mediatek
mailing list