From: kernel test robot <lkp@intel.com>
To: Vasily Gorbik <gor@linux.ibm.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 9446/10468] arch/s390/lib/test_unwind.c:172:28: warning: variable 'fops' set but not used
Date: Thu, 3 Mar 2022 22:15:48 +0800 [thread overview]
Message-ID: <202203032203.QcgbgWCu-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 91265a6da44d13296bdb5b3fbafa19d06be462f2
commit: 829ec7491c401e4a3068955a438578d2c2ae8acc [9446/10468] s390/test_unwind: add ftrace test
config: s390-randconfig-r011-20220302 (https://download.01.org/0day-ci/archive/20220303/202203032203.QcgbgWCu-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 11.2.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/next/linux-next.git/commit/?id=829ec7491c401e4a3068955a438578d2c2ae8acc
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 829ec7491c401e4a3068955a438578d2c2ae8acc
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash
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 >>):
arch/s390/lib/test_unwind.c: In function 'test_unwind_ftrace':
>> arch/s390/lib/test_unwind.c:172:28: warning: variable 'fops' set but not used [-Wunused-but-set-variable]
172 | struct ftrace_ops *fops;
| ^~~~
vim +/fops +172 arch/s390/lib/test_unwind.c
169
170 static int test_unwind_ftrace(struct unwindme *u)
171 {
> 172 struct ftrace_ops *fops;
173 int ret;
174
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-03-03 14:16 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=202203032203.QcgbgWCu-lkp@intel.com \
--to=lkp@intel.com \
--cc=gor@linux.ibm.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox