On Tue, Jul 14, 2020 at 05:01:21AM +0800, kernel test robot wrote:
Hi Johannes,
I love your patch! Yet something to improve:
[auto build test ERROR on v5.8-rc5]
[cannot apply to kdave/for-next btrfs/next next-20200713]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Johannes-Thumshirn/Two-furhter-a...
base: 11ba468877bb23f28956a35e896356252d63c983
config: x86_64-randconfig-a016-20200713 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
02946de3802d3bc65bc9f2eb9b8d4969b5a7add8)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from <built-in>:1:
In file included from ./usr/include/linux/btrfs_tree.h:5:
>> ./usr/include/linux/btrfs.h:35:15: error: expected parameter declarator
static_assert(sizeof(struct btrfs_ioctl_vol_args) == 4096);
^
Does that mean that clang (11.0) does not support static_assert? We
aren't doing anything special here, include only the standard kernel
headers and use macros as intended.