linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 9446/10468] arch/s390/lib/test_unwind.c:172:21: warning: variable 'fops' set but not used
@ 2022-03-03 15:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-03 15:17 UTC (permalink / raw)
  To: Vasily Gorbik; +Cc: llvm, 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-r015-20220303 (https://download.01.org/0day-ci/archive/20220303/202203032324.ysoZaPqS-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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
        # install s390 cross compiling tool for clang build
        # apt-get install binutils-s390x-linux-gnu
        # 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=clang make.cross W=1 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:172:21: warning: variable 'fops' set but not used [-Wunused-but-set-variable]
           struct ftrace_ops *fops;
                              ^
   1 warning generated.


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 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03 15:17 [linux-next:master 9446/10468] arch/s390/lib/test_unwind.c:172:21: warning: variable 'fops' set but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox