[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202511270956.hzGiPzdZ-lkp@intel.com>
Date: Thu, 27 Nov 2025 09:59:24 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Palmer <daniel@...ngy.jp>, geert@...ux-m68k.org
Cc: oe-kbuild-all@...ts.linux.dev, kas@...nel.org, mingo@...nel.org,
seanjc@...gle.com, bp@...en8.de, linux-m68k@...ts.linux-m68k.org,
linux-kernel@...r.kernel.org, Daniel Palmer <daniel@...ngy.jp>
Subject: Re: [PATCH] m68k: implement runtime consts
Hi Daniel,
kernel test robot noticed the following build warnings:
[auto build test WARNING on geert-m68k/for-next]
[also build test WARNING on geert-m68k/for-linus linus/master v6.18-rc7 next-20251126]
[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/Daniel-Palmer/m68k-implement-runtime-consts/20251127-080652
base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-next
patch link: https://lore.kernel.org/r/20251127000505.2117956-1-daniel%40thingy.jp
patch subject: [PATCH] m68k: implement runtime consts
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20251127/202511270956.hzGiPzdZ-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251127/202511270956.hzGiPzdZ-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/202511270956.hzGiPzdZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/dcache.c:38:
arch/m68k/include/asm/runtime-const.h: In function '__runtime_fixup_ptr':
>> arch/m68k/include/asm/runtime-const.h:28:29: warning: unused variable 'end' [-Wunused-variable]
28 | const unsigned long end = start + sizeof(*value);
| ^~~
arch/m68k/include/asm/runtime-const.h: In function '__runtime_fixup_shift':
arch/m68k/include/asm/runtime-const.h:51:29: warning: unused variable 'end' [-Wunused-variable]
51 | const unsigned long end = start + sizeof(*insn);
| ^~~
vim +/end +28 arch/m68k/include/asm/runtime-const.h
13
14 #define runtime_const_ptr(sym) ({ \
15 typeof(sym) __ret; \
16 asm_inline("1:\t" \
17 "mov.l #0xcafef00d,%0\n\t" \
18 ".pushsection runtime_ptr_" #sym ",\"a\"\n\t" \
19 ".long 1b - .\n\t" \
20 ".popsection" \
21 : "=a" (__ret)); \
22 __ret; })
23
24 static inline void __runtime_fixup_ptr(void *where, unsigned long val)
25 {
26 u32 *value = where + 2;
27 const unsigned long start = ((unsigned long) where) + 2;
> 28 const unsigned long end = start + sizeof(*value);
29
30 *value = val;
31
32 flush_icache_range(start, end);
33 }
34
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists