From: kernel test robot <lkp@intel.com>
To: Kees Cook <keescook@chromium.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Marco Elver <elver@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [stable:linux-5.15.y 5773/9027] <instantiation>:5:8: error: expected relocatable expression
Date: Sat, 13 Aug 2022 16:41:42 +0800 [thread overview]
Message-ID: <202208131620.5cpNx6DK-lkp@intel.com> (raw)
Hi Kees,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y
head: 7217df81279835a7aee62a07aabb7b8fb8c766f2
commit: 33db9912ff7c491f839c89a08e98f755aa09598f [5773/9027] ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
config: s390-randconfig-r031-20220812 (https://download.01.org/0day-ci/archive/20220813/202208131620.5cpNx6DK-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 3329cec2f79185bafd678f310fafadba2a8c76d2)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=33db9912ff7c491f839c89a08e98f755aa09598f
git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch --no-tags stable linux-5.15.y
git checkout 33db9912ff7c491f839c89a08e98f755aa09598f
# 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=s390 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 >>):
~~~~~~~~~~ ^
include/asm-generic/io.h:634:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:643:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:652:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
<instantiation>:3:19: error: too many positional arguments
GR_NUM b2, 1 /* Base register */
^
lib/raid6/s390vx8.c:73:16: note: while in macro instantiation
asm volatile ("VSTM %2,%3,0,1"
^
<inline asm>:1:2: note: instantiated into assembly here
VSTM 0,7,0,1
^
<instantiation>:3:19: error: too many positional arguments
GR_NUM b2, 1 /* Base register */
^
lib/raid6/s390vx8.c:73:16: note: while in macro instantiation
asm volatile ("VSTM %2,%3,0,1"
^
<inline asm>:1:2: note: instantiated into assembly here
VSTM 8,15,0,1
^
<instantiation>:3:21: error: too many positional arguments
GR_NUM b2, %r1 /* Base register */
^
lib/raid6/s390vx8.c:63:16: note: while in macro instantiation
asm volatile ("VLM %2,%3,0,%1"
^
<inline asm>:1:2: note: instantiated into assembly here
VLM 0,7,0,%r1
^
<instantiation>:3:21: error: too many positional arguments
GR_NUM b2, %r1 /* Base register */
^
lib/raid6/s390vx8.c:63:16: note: while in macro instantiation
asm volatile ("VLM %2,%3,0,%1"
^
<inline asm>:1:2: note: instantiated into assembly here
VLM 16,23,0,%r1
^
<instantiation>:3:21: error: too many positional arguments
GR_NUM b2, %r1 /* Base register */
^
lib/raid6/s390vx8.c:63:16: note: while in macro instantiation
asm volatile ("VLM %2,%3,0,%1"
^
<inline asm>:1:2: note: instantiated into assembly here
VLM 16,23,0,%r1
^
<instantiation>:3:19: error: too many positional arguments
GR_NUM b2, 1 /* Base register */
^
lib/raid6/s390vx8.c:73:16: note: while in macro instantiation
asm volatile ("VSTM %2,%3,0,1"
^
<inline asm>:1:2: note: instantiated into assembly here
VSTM 16,23,0,1
^
<instantiation>:3:21: error: too many positional arguments
GR_NUM b2, %r1 /* Base register */
^
lib/raid6/s390vx8.c:63:16: note: while in macro instantiation
asm volatile ("VLM %2,%3,0,%1"
^
<inline asm>:1:2: note: instantiated into assembly here
VLM 16,23,0,%r1
^
<instantiation>:3:19: error: too many positional arguments
GR_NUM b2, 1 /* Base register */
^
lib/raid6/s390vx8.c:73:16: note: while in macro instantiation
asm volatile ("VSTM %2,%3,0,1"
^
<inline asm>:1:2: note: instantiated into assembly here
VSTM 16,23,0,1
^
<instantiation>:3:21: error: too many positional arguments
GR_NUM b2, %r1 /* Base register */
^
lib/raid6/s390vx8.c:63:16: note: while in macro instantiation
asm volatile ("VLM %2,%3,0,%1"
^
<inline asm>:1:2: note: instantiated into assembly here
VLM 0,7,0,%r1
^
<instantiation>:3:21: error: too many positional arguments
GR_NUM b2, %r1 /* Base register */
^
lib/raid6/s390vx8.c:63:16: note: while in macro instantiation
asm volatile ("VLM %2,%3,0,%1"
^
<inline asm>:1:2: note: instantiated into assembly here
VLM 16,23,0,%r1
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
>> <instantiation>:5:8: error: expected relocatable expression
.word (b2 << 12) | (0)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
12 warnings and 20 errors generated.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-08-13 8:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202208131620.5cpNx6DK-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=elver@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@lists.01.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
/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