linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [luxis1999-iommufd:iommufd-v5.16-rc3 32/33] include/linux/iommufd.h:30:1: error: expected identifier or '('
@ 2021-12-10 17:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-10 17:22 UTC (permalink / raw)
  To: Liu Yi L; +Cc: llvm, kbuild-all, linux-kernel

tree:   https://github.com/luxis1999/iommufd iommufd-v5.16-rc3
head:   44f89b130eec28760e6b655facd4be49c5bcc3f9
commit: 219a6860a2c8c2c89d71793ce4f9375f3e7bb61f [32/33] vfio/pci: Add VFIO_DEVICE_ATTACH_IOASPT
config: hexagon-randconfig-r011-20211210 (https://download.01.org/0day-ci/archive/20211211/202112110116.DbhBjj3j-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
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/luxis1999/iommufd/commit/219a6860a2c8c2c89d71793ce4f9375f3e7bb61f
        git remote add luxis1999-iommufd https://github.com/luxis1999/iommufd
        git fetch --no-tags luxis1999-iommufd iommufd-v5.16-rc3
        git checkout 219a6860a2c8c2c89d71793ce4f9375f3e7bb61f
        # 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 SHELL=/bin/bash drivers/vfio/

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 drivers/vfio/vfio.c:35:
>> include/linux/iommufd.h:30:1: error: expected identifier or '('
   {
   ^
   1 error generated.


vim +30 include/linux/iommufd.h

8a81aeff73cead Jason Gunthorpe 2021-11-11  26  
8a81aeff73cead Jason Gunthorpe 2021-11-11  27  #else /* !CONFIG_IOMMUFD */
8a81aeff73cead Jason Gunthorpe 2021-11-11  28  static inline struct iommufd_device *
8a81aeff73cead Jason Gunthorpe 2021-11-11  29  iommufd_bind_pci_device(int fd, struct pci_dev *pdev, u32 *id, u64 dev_cookie);
8a81aeff73cead Jason Gunthorpe 2021-11-11 @30  {
8a81aeff73cead Jason Gunthorpe 2021-11-11  31  	return ERR_PTR(-EOPNOTSUPP);
8a81aeff73cead Jason Gunthorpe 2021-11-11  32  }
8a81aeff73cead Jason Gunthorpe 2021-11-11  33  

:::::: The code at line 30 was first introduced by commit
:::::: 8a81aeff73cead826a9b7d26e9af4f09c9fd700f iommufd: Add kAPI toward external drivers

:::::: TO: Jason Gunthorpe <jgg@nvidia.com>
:::::: CC: Liu Yi L <yi.l.liu@intel.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-10 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 17:22 [luxis1999-iommufd:iommufd-v5.16-rc3 32/33] include/linux/iommufd.h:30:1: error: expected identifier or '(' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).