GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
From: kernel test robot <[email protected]>
To: Ammar Faizi <[email protected]>,
	GNU/Weeb Mailing List <[email protected]>
Cc: [email protected]
Subject: [ammarfaizi2-block:google/android/kernel/common/android-4.19-q-release 1268/7614] drivers/net/wireless/virt_wifi.c:432:31: warning: variable 'w_priv' set but not used
Date: Tue, 24 Jan 2023 05:35:32 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.19-q-release
head:   39793952000376f86462e9cfc33766da2aa57084
commit: 55fabf05a9f648f8b93735bc9d801d662220eca0 [1268/7614] FROMGIT: mac80211-next: rtnetlink wifi simulation device
config: x86_64-randconfig-a011-20230123 (https://download.01.org/0day-ci/archive/20230124/[email protected]/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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://github.com/ammarfaizi2/linux-block/commit/55fabf05a9f648f8b93735bc9d801d662220eca0
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.19-q-release
        git checkout 55fabf05a9f648f8b93735bc9d801d662220eca0
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/wireless/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/virt_wifi.c:432:31: warning: variable 'w_priv' set but not used [-Wunused-but-set-variable]
           struct virt_wifi_wiphy_priv *w_priv;
                                        ^
   1 warning generated.


vim +/w_priv +432 drivers/net/wireless/virt_wifi.c

   427	
   428	/* Called with rtnl lock held. */
   429	static int virt_wifi_net_device_stop(struct net_device *dev)
   430	{
   431		struct virt_wifi_netdev_priv *n_priv = netdev_priv(dev);
 > 432		struct virt_wifi_wiphy_priv *w_priv;
   433	
   434		n_priv->is_up = false;
   435	
   436		if (!dev->ieee80211_ptr)
   437			return 0;
   438		w_priv = wiphy_priv(dev->ieee80211_ptr->wiphy);
   439	
   440		virt_wifi_cancel_scan(dev->ieee80211_ptr->wiphy);
   441		virt_wifi_cancel_connect(dev);
   442		netif_carrier_off(dev);
   443	
   444		return 0;
   445	}
   446	

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

                 reply	other threads:[~2023-01-23 21:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox