[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 lkp at intel.com
Tue Jun 15 16:13:55 UTC 2021


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 at 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 at lwfinger.net>
:::::: CC: Greg Kroah-Hartman <gregkh at linuxfoundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 71050 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20210616/8ac86e11/attachment-0001.bin>


More information about the devel mailing list