Search Linux Wireless

Re: [PATCH] wifi: mt76: mt7921: Cancel scan work on unregister.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

kernel test robot noticed the following build errors:

[auto build test ERROR on wireless-next/main]
[also build test ERROR on wireless/main linus/master v6.11-rc2 next-20240807]
[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/David-Ruth/wifi-mt76-mt7921-Cancel-scan-work-on-unregister/20240807-065202
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link:    https://lore.kernel.org/r/20240806222113.2689446-1-druth%40chromium.org
patch subject: [PATCH] wifi: mt76: mt7921: Cancel scan work on unregister.
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240807/202408071657.Qkyy8VqM-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240807/202408071657.Qkyy8VqM-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408071657.Qkyy8VqM-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/net/wireless/mediatek/mt76/mt7921/sdio.c: In function 'mt7921s_unregister_device':
>> drivers/net/wireless/mediatek/mt76/mt7921/sdio.c:44:47: error: invalid type argument of '->' (have 'struct mt76_phy')
      44 |         struct mt792x_phy *phy = dev->mt76.phy->priv;
         |                                               ^~


vim +44 drivers/net/wireless/mediatek/mt76/mt7921/sdio.c

    40	
    41	static void mt7921s_unregister_device(struct mt792x_dev *dev)
    42	{
    43		struct mt76_connac_pm *pm = &dev->pm;
  > 44		struct mt792x_phy *phy = dev->mt76.phy->priv;
    45	
    46		cancel_delayed_work_sync(&phy->scan_work);
    47		cancel_work_sync(&dev->init_work);
    48		mt76_unregister_device(&dev->mt76);
    49		cancel_delayed_work_sync(&pm->ps_work);
    50		cancel_work_sync(&pm->wake_work);
    51	
    52		mt76s_deinit(&dev->mt76);
    53		mt7921s_wfsys_reset(dev);
    54		skb_queue_purge(&dev->mt76.mcu.res_q);
    55	
    56		mt76_free_device(&dev->mt76);
    57	}
    58	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux