All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, Kalle Valo <kvalo@codeaurora.org>,
	ath10k@lists.infradead.org
Subject: Re: [ath6kl:pending 16/26] drivers/net/wireless/ath/wcn36xx/main.c:1091:23: warning: no previous prototype for 'wcn36xx_get_first_vif'
Date: Sun, 23 May 2021 17:40:02 +0100	[thread overview]
Message-ID: <f4ed523d-b2c6-556f-b9a0-ae14b431645f@linaro.org> (raw)
In-Reply-To: <202105232135.GqT7BiXu-lkp@intel.com>

On 23/05/2021 14:05, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
> head:   a9cccebc0c3b91c2e5d2033d11def1e6f7fc74d4
> commit: d1f965c7b4068af9420408f308bcc6206158b658 [16/26] wcn36xx: Run suspend for the first ieee80211_vif
> config: arc-allyesconfig (attached as .config)
> compiler: arceb-elf-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
>          # https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=d1f965c7b4068af9420408f308bcc6206158b658
>          git remote add ath6kl https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
>          git fetch --no-tags ath6kl pending
>          git checkout d1f965c7b4068af9420408f308bcc6206158b658
>          # save the attached .config to linux build tree
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>):
> 
>>> drivers/net/wireless/ath/wcn36xx/main.c:1091:23: warning: no previous prototype for 'wcn36xx_get_first_vif' [-Wmissing-prototypes]
>      1091 | struct ieee80211_vif *wcn36xx_get_first_vif(struct wcn36xx *wcn)
>           |                       ^~~~~~~~~~~~~~~~~~~~~
> 
> 
> vim +/wcn36xx_get_first_vif +1091 drivers/net/wireless/ath/wcn36xx/main.c
> 
>    1090	
>> 1091	struct ieee80211_vif *wcn36xx_get_first_vif(struct wcn36xx *wcn)
>    1092	{
>    1093		struct wcn36xx_vif *tmp;
>    1094		struct ieee80211_vif *vif = NULL;
>    1095	
>    1096		list_for_each_entry(tmp, &wcn->vif_list, list) {
>    1097			vif = wcn36xx_priv_to_vif(tmp);
>    1098			if (vif)
>    1099				break;
>    1100		}
>    1101		return vif;
>    1102	}
>    1103	
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> 

Hi Kalle.

I'll issue a fix for both of these ASAP

---
bod

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

WARNING: multiple messages have this Message-ID (diff)
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: kbuild-all@lists.01.org
Subject: Re: [ath6kl:pending 16/26] drivers/net/wireless/ath/wcn36xx/main.c:1091:23: warning: no previous prototype for 'wcn36xx_get_first_vif'
Date: Sun, 23 May 2021 17:40:02 +0100	[thread overview]
Message-ID: <f4ed523d-b2c6-556f-b9a0-ae14b431645f@linaro.org> (raw)
In-Reply-To: <202105232135.GqT7BiXu-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2181 bytes --]

On 23/05/2021 14:05, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
> head:   a9cccebc0c3b91c2e5d2033d11def1e6f7fc74d4
> commit: d1f965c7b4068af9420408f308bcc6206158b658 [16/26] wcn36xx: Run suspend for the first ieee80211_vif
> config: arc-allyesconfig (attached as .config)
> compiler: arceb-elf-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
>          # https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?id=d1f965c7b4068af9420408f308bcc6206158b658
>          git remote add ath6kl https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
>          git fetch --no-tags ath6kl pending
>          git checkout d1f965c7b4068af9420408f308bcc6206158b658
>          # save the attached .config to linux build tree
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>):
> 
>>> drivers/net/wireless/ath/wcn36xx/main.c:1091:23: warning: no previous prototype for 'wcn36xx_get_first_vif' [-Wmissing-prototypes]
>      1091 | struct ieee80211_vif *wcn36xx_get_first_vif(struct wcn36xx *wcn)
>           |                       ^~~~~~~~~~~~~~~~~~~~~
> 
> 
> vim +/wcn36xx_get_first_vif +1091 drivers/net/wireless/ath/wcn36xx/main.c
> 
>    1090	
>> 1091	struct ieee80211_vif *wcn36xx_get_first_vif(struct wcn36xx *wcn)
>    1092	{
>    1093		struct wcn36xx_vif *tmp;
>    1094		struct ieee80211_vif *vif = NULL;
>    1095	
>    1096		list_for_each_entry(tmp, &wcn->vif_list, list) {
>    1097			vif = wcn36xx_priv_to_vif(tmp);
>    1098			if (vif)
>    1099				break;
>    1100		}
>    1101		return vif;
>    1102	}
>    1103	
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> 

Hi Kalle.

I'll issue a fix for both of these ASAP

---
bod

  reply	other threads:[~2021-05-23 16:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-23 13:05 [ath6kl:pending 16/26] drivers/net/wireless/ath/wcn36xx/main.c:1091:23: warning: no previous prototype for 'wcn36xx_get_first_vif' kernel test robot
2021-05-23 13:05 ` kernel test robot
2021-05-23 16:40 ` Bryan O'Donoghue [this message]
2021-05-23 16:40   ` Bryan O'Donoghue
2021-05-23 17:32   ` Kalle Valo
2021-05-23 17:32     ` Kalle Valo
2021-05-23 17:54     ` Bryan O'Donoghue
2021-05-23 17:54       ` Bryan O'Donoghue

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=f4ed523d-b2c6-556f-b9a0-ae14b431645f@linaro.org \
    --to=bryan.odonoghue@linaro.org \
    --cc=ath10k@lists.infradead.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kvalo@codeaurora.org \
    --cc=lkp@intel.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.