mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Daniel Palmer <daniel@thingy.jp>, geert@linux-m68k.org
Cc: oe-kbuild-all@lists.linux.dev, kas@kernel.org, mingo@kernel.org,
	seanjc@google.com, bp@alien8.de, linux-m68k@lists.linux-m68k.org,
	linux-kernel@vger.kernel.org, Daniel Palmer <daniel@thingy.jp>
Subject: Re: [PATCH] m68k: implement runtime consts
Date: Thu, 27 Nov 2025 09:59:24 +0800	[thread overview]
Message-ID: <202511270956.hzGiPzdZ-lkp@intel.com> (raw)
In-Reply-To: <20251127000505.2117956-1-daniel@thingy.jp>

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

  reply	other threads:[~2025-11-27  1:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-27  0:05 Daniel Palmer
2025-11-27  1:59 ` kernel test robot [this message]
2025-11-27 10:13   ` Daniel Palmer
2025-11-27 10:22     ` Geert Uytterhoeven
2025-12-03  8:06       ` Daniel Palmer
2025-12-04  9:57         ` Jean-Michel Hautbois
2025-12-05  9:23           ` Daniel Palmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202511270956.hzGiPzdZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bp@alien8.de \
    --cc=daniel@thingy.jp \
    --cc=geert@linux-m68k.org \
    --cc=kas@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=mingo@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=seanjc@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®