From: kernel test robot <lkp@intel.com>
To: Matteo Croce <mcroce@microsoft.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Anup Patel <anup@brainfault.org>
Subject: [avpatel:virtio_rpmsg_bus_fix_v1 36/52] arch/riscv/lib/string.c:89:7: error: expected identifier or '('
Date: Thu, 9 Jun 2022 18:55:44 +0800 [thread overview]
Message-ID: <202206091823.jt1rchtM-lkp@intel.com> (raw)
tree: https://github.com/avpatel/linux.git virtio_rpmsg_bus_fix_v1
head: 390aaf641ff2f8919268d611e864227265c3f3f2
commit: 312a993799c081eda5135198ad59b691211d14fe [36/52] riscv: optimized memcpy
config: riscv-randconfig-r042-20220609 (https://download.01.org/0day-ci/archive/20220609/202206091823.jt1rchtM-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b92436efcb7813fc481b30f2593a4907568d917a)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/avpatel/linux/commit/312a993799c081eda5135198ad59b691211d14fe
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel virtio_rpmsg_bus_fix_v1
git checkout 312a993799c081eda5135198ad59b691211d14fe
# 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=riscv 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 >>):
>> arch/riscv/lib/string.c:89:7: error: expected identifier or '('
void *memcpy(void *dest, const void *src, size_t count) __weak __alias(__memcpy);
^
include/linux/fortify-string.h:385:26: note: expanded from macro 'memcpy'
#define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
^
include/linux/fortify-string.h:374:42: note: expanded from macro '__fortify_memcpy_chk'
p_size_field, q_size_field, op) ({ \
^
>> arch/riscv/lib/string.c:89:7: error: expected ')'
include/linux/fortify-string.h:385:26: note: expanded from macro 'memcpy'
#define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
^
include/linux/fortify-string.h:374:42: note: expanded from macro '__fortify_memcpy_chk'
p_size_field, q_size_field, op) ({ \
^
arch/riscv/lib/string.c:89:7: note: to match this '('
include/linux/fortify-string.h:385:26: note: expanded from macro 'memcpy'
#define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
^
include/linux/fortify-string.h:374:41: note: expanded from macro '__fortify_memcpy_chk'
p_size_field, q_size_field, op) ({ \
^
2 errors generated.
vim +89 arch/riscv/lib/string.c
88
> 89 void *memcpy(void *dest, const void *src, size_t count) __weak __alias(__memcpy);
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-09 10:56 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=202206091823.jt1rchtM-lkp@intel.com \
--to=lkp@intel.com \
--cc=anup@brainfault.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mcroce@microsoft.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