Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Uros Bizjak <ubizjak@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH -tip 3/5] x86/irq/32: Add ASM_CALL_CONSTRAINT to inline asm using CALL_NOSPEC
Date: Wed, 5 Mar 2025 01:04:47 +0800	[thread overview]
Message-ID: <202503050046.Lv9cC1m9-lkp@intel.com> (raw)
In-Reply-To: <20250303155446.112769-3-ubizjak@gmail.com>

Hi Uros,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/x86/core]
[also build test ERROR on tip/auto-latest linus/master v6.14-rc5 next-20250304]
[cannot apply to tip/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/Uros-Bizjak/x86-irq-32-Add-missing-clobber-to-inline-asm/20250303-235755
base:   tip/x86/core
patch link:    https://lore.kernel.org/r/20250303155446.112769-3-ubizjak%40gmail.com
patch subject: [PATCH -tip 3/5] x86/irq/32: Add ASM_CALL_CONSTRAINT to inline asm using CALL_NOSPEC
config: i386-buildonly-randconfig-001-20250304 (https://download.01.org/0day-ci/archive/20250305/202503050046.Lv9cC1m9-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250305/202503050046.Lv9cC1m9-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/202503050046.Lv9cC1m9-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/kernel/irq_32.c:62:10: error: expected ')'
      62 |                        COMMA(ASM_CALL_CONSTRAINT)
         |                        ^
   arch/x86/kernel/irq_32.c:102:10: error: expected ')'
     102 |                        COMMA(ASM_CALL_CONSTRAINT)
         |                        ^
   2 errors generated.


vim +62 arch/x86/kernel/irq_32.c

    54	
    55	static void call_on_stack(void *func, void *stack)
    56	{
    57		asm volatile("xchgl %[sp], %%esp\n"
    58			     CALL_NOSPEC
    59			     "movl %[sp], %%esp"
    60			     : [sp] "+b" (stack)
    61			     : [thunk_target] "D" (func)
  > 62			       COMMA(ASM_CALL_CONSTRAINT)
    63			     : "memory", "cc", "edx", "ecx", "eax");
    64	}
    65	

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

           reply	other threads:[~2025-03-04 17:05 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20250303155446.112769-3-ubizjak@gmail.com>]

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=202503050046.Lv9cC1m9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ubizjak@gmail.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