[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202112272023.qjJGBBbz-lkp@intel.com>
Date: Mon, 27 Dec 2021 20:08:36 +0800
From: kernel test robot <lkp@...el.com>
To: Liu Yi L <yi.l.liu@...el.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [luxis1999-iommufd:iommufd-v5.16-rc3 24/26]
include/linux/iommufd.h:30:1: error: expected identifier or '('
tree: https://github.com/luxis1999/iommufd iommufd-v5.16-rc3
head: 9194d1d84235002ef9e0ae8666bc205840e3be74
commit: e4e0ed3d842fc0ce3952d33315f3d4a56b6f91a4 [24/26] vfio/pci: Add VFIO_DEVICE_ATTACH_IOASPT
config: riscv-randconfig-r032-20211227 (https://download.01.org/0day-ci/archive/20211227/202112272023.qjJGBBbz-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 511726c64d3b6cca66f7c54d457d586aa3129f67)
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/luxis1999/iommufd/commit/e4e0ed3d842fc0ce3952d33315f3d4a56b6f91a4
git remote add luxis1999-iommufd https://github.com/luxis1999/iommufd
git fetch --no-tags luxis1999-iommufd iommufd-v5.16-rc3
git checkout e4e0ed3d842fc0ce3952d33315f3d4a56b6f91a4
# 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=riscv SHELL=/bin/bash drivers/vfio/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from drivers/vfio/vfio.c:35:
>> include/linux/iommufd.h:30:1: error: expected identifier or '('
{
^
1 error generated.
vim +30 include/linux/iommufd.h
b72430a4d634e3 Jason Gunthorpe 2021-11-11 26
b72430a4d634e3 Jason Gunthorpe 2021-11-11 27 #else /* !CONFIG_IOMMUFD */
b72430a4d634e3 Jason Gunthorpe 2021-11-11 28 static inline struct iommufd_device *
b72430a4d634e3 Jason Gunthorpe 2021-11-11 29 iommufd_bind_pci_device(int fd, struct pci_dev *pdev, u32 *id, u64 dev_cookie);
b72430a4d634e3 Jason Gunthorpe 2021-11-11 @30 {
b72430a4d634e3 Jason Gunthorpe 2021-11-11 31 return ERR_PTR(-EOPNOTSUPP);
b72430a4d634e3 Jason Gunthorpe 2021-11-11 32 }
b72430a4d634e3 Jason Gunthorpe 2021-11-11 33
:::::: The code at line 30 was first introduced by commit
:::::: b72430a4d634e343ee1bb83e3a9e6bd020f09252 iommufd: Add kAPI toward external drivers
:::::: TO: Jason Gunthorpe <jgg@...dia.com>
:::::: CC: Jason Gunthorpe <jgg@...dia.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists