Content-Type: multipart/mixed; boundary="===============7215830698237875214==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 04/10] staging: r8188eu: remove all DBG_88E calls from hal dir Date: Tue, 25 Jan 2022 16:27:32 +0800 Message-ID: <202201251642.5tYQO4Fb-lkp@intel.com> In-Reply-To: <20220124224415.831-5-phil@philpotter.co.uk> List-Id: --===============7215830698237875214== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Phillip, I love your patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] [also build test WARNING on v5.17-rc1 next-20220124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Phillip-Potter/Cleanup-and= -removal-of-DBG_88E-macro/20220125-125206 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git = fa783154524a71ab74e293cd8251155e5971952b config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220125/= 202201251642.5tYQO4Fb-lkp(a)intel.com/config) compiler: arceb-elf-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/041fe115dad9245f83646e767= 4341f28094d62a5 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Phillip-Potter/Cleanup-and-removal= -of-DBG_88E-macro/20220125-125206 git checkout 041fe115dad9245f83646e7674341f28094d62a5 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Darc SHELL=3D/bin/bash drivers/staging/r8188eu/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/staging/r8188eu/hal/rtl8188e_cmd.c: In function 'rtl8188e_set_Fw= MediaStatus_cmd': >> drivers/staging/r8188eu/hal/rtl8188e_cmd.c:195:20: warning: variable 'ma= cid' set but not used [-Wunused-but-set-variable] 195 | u8 opmode, macid; | ^~~~~ >> drivers/staging/r8188eu/hal/rtl8188e_cmd.c:195:12: warning: variable 'op= mode' set but not used [-Wunused-but-set-variable] 195 | u8 opmode, macid; | ^~~~~~ vim +/macid +195 drivers/staging/r8188eu/hal/rtl8188e_cmd.c 8cd574e6af5463 Phillip Potter 2021-07-28 192 = 8cd574e6af5463 Phillip Potter 2021-07-28 193 void rtl8188e_set_FwMediaSta= tus_cmd(struct adapter *adapt, __le16 mstatus_rpt) 8cd574e6af5463 Phillip Potter 2021-07-28 194 { 8cd574e6af5463 Phillip Potter 2021-07-28 @195 u8 opmode, macid; 8cd574e6af5463 Phillip Potter 2021-07-28 196 u16 mst_rpt =3D le16_to_cpu= (mstatus_rpt); 8cd574e6af5463 Phillip Potter 2021-07-28 197 opmode =3D (u8)mst_rpt; 8cd574e6af5463 Phillip Potter 2021-07-28 198 macid =3D (u8)(mst_rpt >> 8= ); 8cd574e6af5463 Phillip Potter 2021-07-28 199 = 8cd574e6af5463 Phillip Potter 2021-07-28 200 FillH2CCmd_88E(adapt, H2C_C= OM_MEDIA_STATUS_RPT, sizeof(mst_rpt), (u8 *)&mst_rpt); 8cd574e6af5463 Phillip Potter 2021-07-28 201 } 8cd574e6af5463 Phillip Potter 2021-07-28 202 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7215830698237875214==--