From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [staging:staging-testing 391/409] drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c:31:7: warning: variable 'dump_txdesc' set but not used
Date: Wed, 16 Jun 2021 00:13:55 +0800 [thread overview]
Message-ID: <202106160047.bpnTahYN-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-06-15 16:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202106160047.bpnTahYN-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.