linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Catalin Marinas <catalin.marinas@arm.com>
Subject: Re: [linux-next:master 11523/11993] include/asm-generic/rwonce.h:67:9: error: expected string literal in 'asm'
Date: Mon, 3 Oct 2022 15:16:43 -0700	[thread overview]
Message-ID: <YztfSxGPA5JNwInL@dev-arch.thelio-3990X> (raw)
In-Reply-To: <202210040658.MIQoJiKz-lkp@intel.com>

On Tue, Oct 04, 2022 at 06:13:07AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   274d7803837da78dfc911bcda0d593412676fc20
> commit: ba00c2a04fa5431d204a4183062b30372c062aa7 [11523/11993] arm64: fix the build with binutils 2.27
> config: arm64-randconfig-r034-20221003
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install arm64 cross compiling tool for clang build
>         # apt-get install binutils-aarch64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ba00c2a04fa5431d204a4183062b30372c062aa7
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout ba00c2a04fa5431d204a4183062b30372c062aa7
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from arch/arm64/kernel/module-plts.c:6:
>    In file included from include/linux/elf.h:6:
>    In file included from arch/arm64/include/asm/elf.h:8:
>    In file included from arch/arm64/include/asm/hwcap.h:9:
>    In file included from arch/arm64/include/asm/cpufeature.h:9:
>    In file included from arch/arm64/include/asm/alternative-macros.h:5:
>    In file included from include/linux/bits.h:22:
>    In file included from include/linux/build_bug.h:5:
>    In file included from include/linux/compiler.h:248:
>    In file included from arch/arm64/include/asm/rwonce.h:71:
> >> include/asm-generic/rwonce.h:67:9: error: expected string literal in 'asm'
>            return __READ_ONCE(*(unsigned long *)addr);
>                   ^
>    arch/arm64/include/asm/rwonce.h:43:16: note: expanded from macro '__READ_ONCE'
>                    asm volatile(__LOAD_RCPC(b, %w0, %1)                    \
>                                 ^
>    arch/arm64/include/asm/rwonce.h:17:2: note: expanded from macro '__LOAD_RCPC'
>            ALTERNATIVE(                                                    \
>            ^

https://lore.kernel.org/20221003193759.1141709-1-nathan@kernel.org/
should resolve this.

Cheers,
Nathan


      reply	other threads:[~2022-10-03 22:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-03 22:13 kernel test robot
2022-10-03 22:16 ` Nathan Chancellor [this message]

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=YztfSxGPA5JNwInL@dev-arch.thelio-3990X \
    --to=nathan@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=mark.rutland@arm.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