* [linux-next:master 9446/10468] arch/s390/lib/test_unwind.c:172:28: warning: variable 'fops' set but not used
@ 2022-03-03 14:15 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-03 14:15 UTC (permalink / raw)
To: Vasily Gorbik; +Cc: kbuild-all, Linux Memory Management List
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-03 14:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03 14:15 [linux-next:master 9446/10468] arch/s390/lib/test_unwind.c:172:28: warning: variable 'fops' set but not used kernel test robot
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.