All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Sasha Levin <sashal@kernel.org>
Subject: [stable:linux-rolling-lts 3567/3903] drivers/staging/rtl8192e/rtl8192e/rtl_core.c:28:33: warning: unused variable 'rtl819xp_ops'
Date: Tue, 6 Jun 2023 16:37:33 +0800	[thread overview]
Message-ID: <202306061620.pKDPd9DB-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-rolling-lts
head:   eaf8bf7b2c945057aa386c9a5b92deb7c0295ce7
commit: ec310591cf839653a5b2c1fcf6b8a110c3f2485c [3567/3903] staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
config: powerpc-randconfig-r021-20230606 (https://download.01.org/0day-ci/archive/20230606/202306061620.pKDPd9DB-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=ec310591cf839653a5b2c1fcf6b8a110c3f2485c
        git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
        git fetch --no-tags stable linux-rolling-lts
        git checkout ec310591cf839653a5b2c1fcf6b8a110c3f2485c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/staging/rtl8192e/rtl8192e/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306061620.pKDPd9DB-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/staging/rtl8192e/rtl8192e/rtl_core.c:28:33: warning: unused variable 'rtl819xp_ops' [-Wunused-const-variable]
      28 | static const struct rtl819x_ops rtl819xp_ops = {
         |                                 ^
   1 warning generated.


vim +/rtl819xp_ops +28 drivers/staging/rtl8192e/rtl8192e/rtl_core.c

94a799425eee82 drivers/staging/rtl8192e/rtl_core.c          Larry Finger       2011-08-23  27  
1c099ed63f8363 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Julia Lawall       2016-09-11 @28  static const struct rtl819x_ops rtl819xp_ops = {
94a799425eee82 drivers/staging/rtl8192e/rtl_core.c          Larry Finger       2011-08-23  29  	.nic_type			= NIC_8192E,
b095be37004f91 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  30  	.get_eeprom_size		= rtl92e_get_eeprom_size,
df85a1313fee7d drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  31  	.init_adapter_variable		= rtl92e_init_variables,
460266292de1c3 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  32  	.initialize_adapter		= rtl92e_start_adapter,
b974b289c4cb8a drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  33  	.link_change			= rtl92e_link_change,
072b3948d473f8 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  34  	.tx_fill_descriptor		= rtl92e_fill_tx_desc,
63b544a17c63c0 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  35  	.tx_fill_cmd_descriptor		= rtl92e_fill_tx_cmd_desc,
7897285ceb2864 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  36  	.rx_query_status_descriptor	= rtl92e_get_rx_stats,
94a799425eee82 drivers/staging/rtl8192e/rtl_core.c          Larry Finger       2011-08-23  37  	.rx_command_packet_handler = NULL,
fe99c77b44e41c drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  38  	.stop_adapter			= rtl92e_stop_adapter,
575d48c5753246 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  39  	.update_ratr_table		= rtl92e_update_ratr_table,
6d99c68e6f5024 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  40  	.irq_enable			= rtl92e_enable_irq,
baadea565daae4 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  41  	.irq_disable			= rtl92e_disable_irq,
dc578b417facae drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  42  	.irq_clear			= rtl92e_clear_irq,
78c352b2b22348 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  43  	.rx_enable			= rtl92e_enable_rx,
6af7a8b662f6bb drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  44  	.tx_enable			= rtl92e_enable_tx,
a57165d15dae6f drivers/staging/rtl8192e/rtl8192e/rtl_core.c Mateusz Kulikowski 2015-07-19  45  	.interrupt_recognized		= rtl92e_ack_irq,
254d6fca9d38f9 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Philipp Hortmann   2022-08-24  46  	.tx_check_stuck_handler	= rtl92e_is_tx_stuck,
254d6fca9d38f9 drivers/staging/rtl8192e/rtl8192e/rtl_core.c Philipp Hortmann   2022-08-24  47  	.rx_check_stuck_handler	= rtl92e_is_rx_stuck,
94a799425eee82 drivers/staging/rtl8192e/rtl_core.c          Larry Finger       2011-08-23  48  };
94a799425eee82 drivers/staging/rtl8192e/rtl_core.c          Larry Finger       2011-08-23  49  

:::::: The code at line 28 was first introduced by commit
:::::: 1c099ed63f8363228a0b075a25511c9feb90e03f staging: rtl8192e: constify local structures

:::::: TO: Julia Lawall <Julia.Lawall@lip6.fr>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

                 reply	other threads:[~2023-06-06  8:38 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 \
    --in-reply-to=202306061620.pKDPd9DB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=philipp.g.hortmann@gmail.com \
    --cc=sashal@kernel.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.