All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: David Ruth <druth@chromium.org>, nbd@nbd.name, lorenzo@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-wireless@vger.kernel.org,
	timvp@chromium.org, sean.wang@mediatek.com,
	ryder.lee@mediatek.com, shayne.chen@mediatek.com,
	David Ruth <druth@chromium.org>
Subject: Re: [PATCH] wifi: mt76: mt7921: Cancel scan work on unregister.
Date: Wed, 7 Aug 2024 18:31:09 +0800	[thread overview]
Message-ID: <202408071730.Ux9Cr643-lkp@intel.com> (raw)
In-Reply-To: <20240806222113.2689446-1-druth@chromium.org>

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: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240807/202408071730.Ux9Cr643-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240807/202408071730.Ux9Cr643-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408071730.Ux9Cr643-lkp@intel.com/

All errors (new ones prefixed by >>):

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


vim +45 drivers/net/wireless/mediatek/mt76/mt7921/pci.c

    40	
    41	static void mt7921e_unregister_device(struct mt792x_dev *dev)
    42	{
    43		int i;
    44		struct mt76_connac_pm *pm = &dev->pm;
  > 45		struct mt792x_phy *phy = dev->mt76.phy->priv;
    46	
    47		cancel_delayed_work_sync(&phy->scan_work);
    48		cancel_work_sync(&dev->init_work);
    49		mt76_unregister_device(&dev->mt76);
    50		mt76_for_each_q_rx(&dev->mt76, i)
    51			napi_disable(&dev->mt76.napi[i]);
    52		cancel_delayed_work_sync(&pm->ps_work);
    53		cancel_work_sync(&pm->wake_work);
    54		cancel_work_sync(&dev->reset_work);
    55	
    56		mt76_connac2_tx_token_put(&dev->mt76);
    57		__mt792x_mcu_drv_pmctrl(dev);
    58		mt792x_dma_cleanup(dev);
    59		mt792x_wfsys_reset(dev);
    60		skb_queue_purge(&dev->mt76.mcu.res_q);
    61	
    62		tasklet_disable(&dev->mt76.irq_tasklet);
    63	}
    64	

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

  parent reply	other threads:[~2024-08-07 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-06 22:21 [PATCH] wifi: mt76: mt7921: Cancel scan work on unregister David Ruth
2024-08-07  9:19 ` kernel test robot
2024-08-07 10:31 ` kernel test robot [this message]
2024-08-07 12:08   ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202408071730.Ux9Cr643-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=druth@chromium.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=nbd@nbd.name \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ryder.lee@mediatek.com \
    --cc=sean.wang@mediatek.com \
    --cc=shayne.chen@mediatek.com \
    --cc=timvp@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.