tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
staging-testing
head:   5b4f167ef3555ec4c334a8dc89c1b44bb2c6bff5
commit: 9a5ad3a2a4e6f948efbc5f4ddde8190dc25d2058 [388/409] staging: rtl8188eu: 
remove all DBG_88E calls from hal/rtl8188e_cmd.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=9a5ad3a2a4e6f948efbc5f4ddde8190dc25d2058
        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 9a5ad3a2a4e6f948efbc5f4ddde8190dc25d2058
        # 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 <l...@intel.com>

All warnings (new ones prefixed by >>):

   drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c: In function 
'rtl8188e_set_FwMediaStatus_cmd':
>> drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c:180:13: warning: variable 
>> 'macid' set but not used [-Wunused-but-set-variable]
     180 |  u8 opmode, macid;
         |             ^~~~~
>> drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c:180:5: warning: variable 
>> 'opmode' set but not used [-Wunused-but-set-variable]
     180 |  u8 opmode, macid;
         |     ^~~~~~


vim +/macid +180 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c

7ef8ded0cfdb69 Larry Finger         2013-08-21  177  
7ef8ded0cfdb69 Larry Finger         2013-08-21  178  void 
rtl8188e_set_FwMediaStatus_cmd(struct adapter *adapt, __le16 mstatus_rpt)
7ef8ded0cfdb69 Larry Finger         2013-08-21  179  {
7ef8ded0cfdb69 Larry Finger         2013-08-21 @180     u8 opmode, macid;
7ef8ded0cfdb69 Larry Finger         2013-08-21  181     u16 mst_rpt = 
le16_to_cpu(mstatus_rpt);
fc988e144cca2a Yamanappagouda Patil 2017-02-21  182  
7ef8ded0cfdb69 Larry Finger         2013-08-21  183     opmode = (u8)mst_rpt;
7ef8ded0cfdb69 Larry Finger         2013-08-21  184     macid = (u8)(mst_rpt >> 
8);
7ef8ded0cfdb69 Larry Finger         2013-08-21  185  
7ef8ded0cfdb69 Larry Finger         2013-08-21  186     FillH2CCmd_88E(adapt, 
H2C_COM_MEDIA_STATUS_RPT, sizeof(mst_rpt), (u8 *)&mst_rpt);
7ef8ded0cfdb69 Larry Finger         2013-08-21  187  }
7ef8ded0cfdb69 Larry Finger         2013-08-21  188  

:::::: The code at line 180 was first introduced by commit
:::::: 7ef8ded0cfdb690e37581af85eea35fa67cdb38d staging: r8188eu: Add files for 
new driver - part 13

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

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

Attachment: .config.gz
Description: application/gzip

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

Reply via email to