All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>, nbd@nbd.name
Cc: kbuild-all@lists.01.org, linux-wireless@vger.kernel.org,
	lorenzo.bianconi@redhat.com, sean.wang@mediatek.com,
	deren.wu@mediatek.com, linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v3 9/9] mt76: mt7921: add mt7921u driver
Date: Sun, 13 Mar 2022 23:06:12 +0800	[thread overview]
Message-ID: <202203132225.CbMappWu-lkp@intel.com> (raw)
In-Reply-To: <af6cc4770cfed30a3baba5897c737008e0584719.1647175554.git.lorenzo@kernel.org>

Hi Lorenzo,

I love your patch! Yet something to improve:

[auto build test ERROR on wireless-next/main]
[also build test ERROR on next-20220310]
[cannot apply to wireless/main v5.17-rc7]
[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]

url:    https://github.com/0day-ci/linux/commits/Lorenzo-Bianconi/introduce-mt7921u-driver/20220313-205210
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220313/202203132225.CbMappWu-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/63a67380659a7ab972a09206bc2b581fdb6766b6
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Lorenzo-Bianconi/introduce-mt7921u-driver/20220313-205210
        git checkout 63a67380659a7ab972a09206bc2b581fdb6766b6
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

   drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c: In function 'mt7921u_mac_reset':
>> drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c:224:8: error: too many arguments to function 'mt7921u_dma_init'
     224 |  err = mt7921u_dma_init(dev, false);
         |        ^~~~~~~~~~~~~~~~
   drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c:124:5: note: declared here
     124 | int mt7921u_dma_init(struct mt7921_dev *dev)
         |     ^~~~~~~~~~~~~~~~


vim +/mt7921u_dma_init +224 drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c

   196	
   197	int mt7921u_mac_reset(struct mt7921_dev *dev)
   198	{
   199		int err;
   200	
   201		mt76_txq_schedule_all(&dev->mphy);
   202		mt76_worker_disable(&dev->mt76.tx_worker);
   203	
   204		set_bit(MT76_RESET, &dev->mphy.state);
   205		set_bit(MT76_MCU_RESET, &dev->mphy.state);
   206	
   207		wake_up(&dev->mt76.mcu.wait);
   208		mt7921_mcu_exit(dev);
   209	
   210		mt76u_stop_rx(&dev->mt76);
   211		mt76u_stop_tx(&dev->mt76);
   212	
   213		mt7921u_wfsys_reset(dev);
   214	
   215		clear_bit(MT76_MCU_RESET, &dev->mphy.state);
   216		err = mt76u_resume_rx(&dev->mt76);
   217		if (err)
   218			goto out;
   219	
   220		err = mt7921u_mcu_power_on(dev);
   221		if (err)
   222			goto out;
   223	
 > 224		err = mt7921u_dma_init(dev, false);

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>, nbd@nbd.name
Cc: kbuild-all@lists.01.org, linux-wireless@vger.kernel.org,
	lorenzo.bianconi@redhat.com, sean.wang@mediatek.com,
	deren.wu@mediatek.com, linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v3 9/9] mt76: mt7921: add mt7921u driver
Date: Sun, 13 Mar 2022 23:06:12 +0800	[thread overview]
Message-ID: <202203132225.CbMappWu-lkp@intel.com> (raw)
In-Reply-To: <af6cc4770cfed30a3baba5897c737008e0584719.1647175554.git.lorenzo@kernel.org>

Hi Lorenzo,

I love your patch! Yet something to improve:

[auto build test ERROR on wireless-next/main]
[also build test ERROR on next-20220310]
[cannot apply to wireless/main v5.17-rc7]
[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]

url:    https://github.com/0day-ci/linux/commits/Lorenzo-Bianconi/introduce-mt7921u-driver/20220313-205210
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220313/202203132225.CbMappWu-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/63a67380659a7ab972a09206bc2b581fdb6766b6
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Lorenzo-Bianconi/introduce-mt7921u-driver/20220313-205210
        git checkout 63a67380659a7ab972a09206bc2b581fdb6766b6
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

   drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c: In function 'mt7921u_mac_reset':
>> drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c:224:8: error: too many arguments to function 'mt7921u_dma_init'
     224 |  err = mt7921u_dma_init(dev, false);
         |        ^~~~~~~~~~~~~~~~
   drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c:124:5: note: declared here
     124 | int mt7921u_dma_init(struct mt7921_dev *dev)
         |     ^~~~~~~~~~~~~~~~


vim +/mt7921u_dma_init +224 drivers/net/wireless/mediatek/mt76/mt7921/usb_mac.c

   196	
   197	int mt7921u_mac_reset(struct mt7921_dev *dev)
   198	{
   199		int err;
   200	
   201		mt76_txq_schedule_all(&dev->mphy);
   202		mt76_worker_disable(&dev->mt76.tx_worker);
   203	
   204		set_bit(MT76_RESET, &dev->mphy.state);
   205		set_bit(MT76_MCU_RESET, &dev->mphy.state);
   206	
   207		wake_up(&dev->mt76.mcu.wait);
   208		mt7921_mcu_exit(dev);
   209	
   210		mt76u_stop_rx(&dev->mt76);
   211		mt76u_stop_tx(&dev->mt76);
   212	
   213		mt7921u_wfsys_reset(dev);
   214	
   215		clear_bit(MT76_MCU_RESET, &dev->mphy.state);
   216		err = mt76u_resume_rx(&dev->mt76);
   217		if (err)
   218			goto out;
   219	
   220		err = mt7921u_mcu_power_on(dev);
   221		if (err)
   222			goto out;
   223	
 > 224		err = mt7921u_dma_init(dev, false);

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

  reply	other threads:[~2022-03-13 15:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13 12:48 [PATCH v3 0/9] introduce mt7921u driver Lorenzo Bianconi
2022-03-13 12:48 ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 1/9] mt76: usb: add req_type to ___mt76u_rr signature Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 2/9] mt76: usb: add req_type to ___mt76u_wr signature Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 3/9] mt76: usb: introduce __mt76u_init utility routine Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 4/9] mt76: mt7921: disable runtime pm for usb Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 5/9] mt76: mt7921: update mt7921_skb_add_usb_sdio_hdr to support usb Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 6/9] mt76: mt7921: move mt7921_usb_sdio_tx_prepare_skb in common mac code Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 7/9] mt76: mt7921: move mt7921_usb_sdio_tx_complete_skb " Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 8/9] mt76: mt7921: move mt7921_usb_sdio_tx_status_data in mac common code Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 12:48 ` [PATCH v3 9/9] mt76: mt7921: add mt7921u driver Lorenzo Bianconi
2022-03-13 12:48   ` Lorenzo Bianconi
2022-03-13 15:06   ` kernel test robot [this message]
2022-03-13 15:06     ` kernel test robot

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=202203132225.CbMappWu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=deren.wu@mediatek.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=lorenzo@kernel.org \
    --cc=nbd@nbd.name \
    --cc=sean.wang@mediatek.com \
    /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.