lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 29 Jan 2022 05:34:26 +0800
From:   kernel test robot <lkp@...el.com>
To:     Helge Deller <deller@....de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [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

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ