[staging:staging-testing 391/409] drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c:31:7: warning: variable 'dump_txdesc' set but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux