From: kernel test robot <lkp@intel.com>
To: Yury Norov <yury.norov@gmail.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [norov:bitmap_tmp 12/12] include/linux/bitmap.h:419:29: error: expected identifier or '('
Date: Tue, 30 Nov 2021 05:23:33 +0800 [thread overview]
Message-ID: <202111300515.ZhTwh0ao-lkp@intel.com> (raw)
tree: https://github.com/norov/linux bitmap_tmp
head: 985b0047eb9f4a5916eeb4f85e9e173d220d8fc7
commit: 985b0047eb9f4a5916eeb4f85e9e173d220d8fc7 [12/12] aaa
config: hexagon-randconfig-r045-20211129 (https://download.01.org/0day-ci/archive/20211130/202111300515.ZhTwh0ao-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project df08b2fe8b35cb63dfb3b49738a3494b9b4e6f8e)
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
# https://github.com/norov/linux/commit/985b0047eb9f4a5916eeb4f85e9e173d220d8fc7
git remote add norov https://github.com/norov/linux
git fetch --no-tags norov bitmap_tmp
git checkout 985b0047eb9f4a5916eeb4f85e9e173d220d8fc7
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/hexagon/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:14:
In file included from include/linux/sem.h:5:
In file included from include/uapi/linux/sem.h:5:
In file included from include/linux/ipc.h:5:
In file included from include/linux/spinlock.h:62:
In file included from include/linux/lockdep.h:14:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:12:
>> include/linux/bitmap.h:419:29: error: expected identifier or '('
static __always_inline bool bitmap_weight_le(const unsigned long *src,
^
include/linux/bitmap.h:417:41: note: expanded from macro 'bitmap_weight_le'
#define bitmap_weight_le(src, nbits, n) !bitmap_weight_gt((src), (nbits), (n))
^
1 error generated.
make[2]: *** [scripts/Makefile.build:122: arch/hexagon/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1284: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:226: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +419 include/linux/bitmap.h
985b0047eb9f4a Yury Norov 2021-11-29 418
899f6b60178855 Yury Norov 2021-11-23 @419 static __always_inline bool bitmap_weight_le(const unsigned long *src,
899f6b60178855 Yury Norov 2021-11-23 420 unsigned int nbits, unsigned int num)
899f6b60178855 Yury Norov 2021-11-23 421 {
899f6b60178855 Yury Norov 2021-11-23 422 if (small_const_nbits(nbits))
899f6b60178855 Yury Norov 2021-11-23 423 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)) < num;
899f6b60178855 Yury Norov 2021-11-23 424
899f6b60178855 Yury Norov 2021-11-23 425 return __bitmap_weight_le(src, nbits, num);
899f6b60178855 Yury Norov 2021-11-23 426 }
899f6b60178855 Yury Norov 2021-11-23 427
:::::: The code at line 419 was first introduced by commit
:::::: 899f6b60178855d893aef0cb83aa1d9320216121 lib/bitmap: add bitmap_weight_{eq,gt,le}
:::::: TO: Yury Norov <yury.norov@gmail.com>
:::::: CC: Yury Norov <yury.norov@gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2021-11-29 21:26 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=202111300515.ZhTwh0ao-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=yury.norov@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
all inboxes | Powered by JetHome®