All of lore.kernel.org
 help / color / mirror / Atom feed
* [staging:staging-testing 391/409] drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c:31:7: warning: variable 'dump_txdesc' set but not used
@ 2021-06-15 16:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-15 16:13 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   5b4f167ef3555ec4c334a8dc89c1b44bb2c6bff5
commit: 574e725d7330261f0d81afc613d5b890c466b76f [391/409] staging: rtl8188eu: remove all DBG_88E calls from hal/rtl8188e_xmit.c
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-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/gregkh/staging.git/commit/?id=574e725d7330261f0d81afc613d5b890c466b76f
        git remote add staging https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
        git fetch --no-tags staging staging-testing
        git checkout 574e725d7330261f0d81afc613d5b890c466b76f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

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/staging/rtl8188eu/hal/rtl8188e_xmit.c: In function '_dbg_dump_tx_info':
>> drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c:31:7: warning: variable 'dump_txdesc' set but not used [-Wunused-but-set-variable]
      31 |  bool dump_txdesc = false;
         |       ^~~~~~~~~~~


vim +/dump_txdesc +31 drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c

fc324b6a9303b2 Larry Finger 2013-08-21  26  
fc324b6a9303b2 Larry Finger 2013-08-21  27  void _dbg_dump_tx_info(struct adapter *padapter, int frame_tag,
fc324b6a9303b2 Larry Finger 2013-08-21  28  		       struct tx_desc *ptxdesc)
fc324b6a9303b2 Larry Finger 2013-08-21  29  {
fc324b6a9303b2 Larry Finger 2013-08-21  30  	u8 dmp_txpkt;
fc324b6a9303b2 Larry Finger 2013-08-21 @31  	bool dump_txdesc = false;

:::::: The code at line 31 was first introduced by commit
:::::: fc324b6a9303b290915d92977ec5aa3751b950ed staging: r8188eu: Add files for new driver - part 15

:::::: TO: Larry Finger <Larry.Finger@lwfinger.net>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 71050 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-15 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-15 16:13 [staging:staging-testing 391/409] drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c:31:7: warning: variable 'dump_txdesc' set but not used kernel test robot

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.