[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202511010731.B5nbGjbm-lkp@intel.com>
Date: Sat, 1 Nov 2025 07:30:11 +0800
From: kernel test robot <lkp@...el.com>
To: Mateusz Guzik <mjguzik@...il.com>, torvalds@...ux-foundation.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev, brauner@...nel.org,
viro@...iv.linux.org.uk, jack@...e.cz, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, tglx@...utronix.de, pfalcato@...e.de,
Mateusz Guzik <mjguzik@...il.com>
Subject: Re: [PATCH 3/3] fs: hide names_cachep behind runtime access machinery
Hi Mateusz,
kernel test robot noticed the following build warnings:
[auto build test WARNING on arnd-asm-generic/master]
[also build test WARNING on linus/master brauner-vfs/vfs.all v6.18-rc3 next-20251031]
[cannot apply to linux/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Mateusz-Guzik/x86-fix-access_ok-and-valid_user_address-using-wrong-USER_PTR_MAX-in-modules/20251101-054539
base: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
patch link: https://lore.kernel.org/r/20251031174220.43458-4-mjguzik%40gmail.com
patch subject: [PATCH 3/3] fs: hide names_cachep behind runtime access machinery
config: um-allnoconfig (https://download.01.org/0day-ci/archive/20251101/202511010731.B5nbGjbm-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d1c086e82af239b245fe8d7832f2753436634990)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251101/202511010731.B5nbGjbm-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511010731.B5nbGjbm-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/dcache.c:38:
In file included from ./arch/um/include/generated/asm/runtime-const.h:1:
>> include/asm-generic/runtime-const.h:11:9: warning: 'runtime_const_ptr' macro redefined [-Wmacro-redefined]
11 | #define runtime_const_ptr(sym) (sym)
| ^
arch/x86/include/asm/runtime-const-accessors.h:21:9: note: previous definition is here
21 | #define runtime_const_ptr(sym) ({ \
| ^
In file included from fs/dcache.c:38:
In file included from ./arch/um/include/generated/asm/runtime-const.h:1:
>> include/asm-generic/runtime-const.h:12:9: warning: 'runtime_const_shift_right_32' macro redefined [-Wmacro-redefined]
12 | #define runtime_const_shift_right_32(val, sym) ((u32)(val)>>(sym))
| ^
arch/x86/include/asm/runtime-const-accessors.h:35:9: note: previous definition is here
35 | #define runtime_const_shift_right_32(val, sym) ({ \
| ^
2 warnings generated.
vim +/runtime_const_ptr +11 include/asm-generic/runtime-const.h
e78298556ee5d8 Linus Torvalds 2024-06-04 4
e78298556ee5d8 Linus Torvalds 2024-06-04 5 /*
e78298556ee5d8 Linus Torvalds 2024-06-04 6 * This is the fallback for when the architecture doesn't
e78298556ee5d8 Linus Torvalds 2024-06-04 7 * support the runtime const operations.
e78298556ee5d8 Linus Torvalds 2024-06-04 8 *
e78298556ee5d8 Linus Torvalds 2024-06-04 9 * We just use the actual symbols as-is.
e78298556ee5d8 Linus Torvalds 2024-06-04 10 */
e78298556ee5d8 Linus Torvalds 2024-06-04 @11 #define runtime_const_ptr(sym) (sym)
e78298556ee5d8 Linus Torvalds 2024-06-04 @12 #define runtime_const_shift_right_32(val, sym) ((u32)(val)>>(sym))
e78298556ee5d8 Linus Torvalds 2024-06-04 13 #define runtime_const_init(type,sym) do { } while (0)
e78298556ee5d8 Linus Torvalds 2024-06-04 14
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists