Re: [PATCH v1 4/6] PKEY:selftest pkey_enforce_api for mprotect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab]

url:    https://github.com/intel-lab-lkp/linux/commits/jeffxu-chromium-org/PKEY-Introduce-PKEY_ENFORCE_API-flag/20230519-093355
base:   ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab
patch link:    https://lore.kernel.org/r/20230519011915.846407-5-jeffxu%40chromium.org
patch subject: [PATCH v1 4/6] PKEY:selftest pkey_enforce_api for mprotect
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce:
        # https://github.com/intel-lab-lkp/linux/commit/ee635a3d72bf9f400d3542d27d1df9d2813640dc
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review jeffxu-chromium-org/PKEY-Introduce-PKEY_ENFORCE_API-flag/20230519-093355
        git checkout ee635a3d72bf9f400d3542d27d1df9d2813640dc
        make O=/tmp/kselftest headers
        make O=/tmp/kselftest -C tools/testing/selftests

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305301758.ddYd6um5-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from pkey_enforce_api.c:72:
   pkey-x86.h: In function 'expect_fault_on_read_execonly_key':
>> pkey-x86.h:165:13: warning: variable 'ptr_contents' set but not used [-Wunused-but-set-variable]
     165 |         int ptr_contents;
         |             ^~~~~~~~~~~~

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux