mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [deller-parisc:5.17-vdso-mini-3 1/1] arch/parisc/kernel/vdso.c:58:38: warning: variable 'vdso_mapping_len' set but not used
@ 2022-01-28 21:34 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-28 21:34 UTC (permalink / raw)
  To: Helge Deller; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git 5.17-vdso-mini-3
head:   8d7e3770fb1fb6c01147f8ebf2914cd2037fac16
commit: 8d7e3770fb1fb6c01147f8ebf2914cd2037fac16 [1/1] parisc: Add vDSO support
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20220129/202201290517.FYpZzkIz-lkp@intel.com/config)
compiler: hppa-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/deller/parisc-linux.git/commit/?id=8d7e3770fb1fb6c01147f8ebf2914cd2037fac16
        git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
        git fetch --no-tags deller-parisc 5.17-vdso-mini-3
        git checkout 8d7e3770fb1fb6c01147f8ebf2914cd2037fac16
        # 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=parisc SHELL=/bin/bash arch/parisc/

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/parisc/kernel/vdso.c: In function 'arch_setup_additional_pages':
>> arch/parisc/kernel/vdso.c:58:38: warning: variable 'vdso_mapping_len' set but not used [-Wunused-but-set-variable]
      58 |         unsigned long vdso_text_len, vdso_mapping_len;
         |                                      ^~~~~~~~~~~~~~~~


vim +/vdso_mapping_len +58 arch/parisc/kernel/vdso.c

    57	
  > 58		unsigned long vdso_text_len, vdso_mapping_len;
    59		unsigned long vdso_text_start;
    60		struct vm_special_mapping *vdso_mapping;
    61		struct mm_struct *mm = current->mm;
    62		struct vm_area_struct *vma;
    63		int rc;
    64	
    65		if (mmap_write_lock_killable(mm))
    66			return -EINTR;
    67	

---
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-01-28 21:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 21:34 [deller-parisc:5.17-vdso-mini-3 1/1] arch/parisc/kernel/vdso.c:58:38: warning: variable 'vdso_mapping_len' 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

all inboxes | Powered by JetHome®