lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208280502.wOrVPveF-lkp@intel.com>
Date:   Sun, 28 Aug 2022 05:37:38 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jason Gunthorpe <jgg@...dia.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jgunthorpe:vfio_iommufd 31/32] drivers/vfio/vfio.h:139:1: error:
 expected identifier or '(' before '{' token

tree:   https://github.com/jgunthorpe/linux vfio_iommufd
head:   e2712af9ab672315cac202aee200eac0d63d7537
commit: e44832b4f99da1885565bf73e49805c2f82a7386 [31/32] vfio: Make vfio_container optionally compiled
config: sparc64-randconfig-c041-20220828 (https://download.01.org/0day-ci/archive/20220828/202208280502.wOrVPveF-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.1.0
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/jgunthorpe/linux/commit/e44832b4f99da1885565bf73e49805c2f82a7386
        git remote add jgunthorpe https://github.com/jgunthorpe/linux
        git fetch --no-tags jgunthorpe vfio_iommufd
        git checkout e44832b4f99da1885565bf73e49805c2f82a7386
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc64 SHELL=/bin/bash drivers/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All error/warnings (new ones prefixed by >>):

   In file included from drivers/vfio/vfio_main.c:36:
>> drivers/vfio/vfio.h:139:1: error: expected identifier or '(' before '{' token
     139 | {
         | ^
>> drivers/vfio/vfio.h:138:19: warning: 'vfio_container_use' used but never defined
     138 | static inline int vfio_container_use(struct vfio_group *group);
         |                   ^~~~~~~~~~~~~~~~~~
--
   In file included from drivers/vfio/vfio_iommufd.c:8:
>> drivers/vfio/vfio.h:139:1: error: expected identifier or '(' before '{' token
     139 | {
         | ^
   drivers/vfio/vfio.h:138:19: warning: 'vfio_container_use' declared 'static' but never defined [-Wunused-function]
     138 | static inline int vfio_container_use(struct vfio_group *group);
         |                   ^~~~~~~~~~~~~~~~~~


vim +139 drivers/vfio/vfio.h

   137	
 > 138	static inline int vfio_container_use(struct vfio_group *group);
 > 139	{
   140		return -EOPNOTSUPP;
   141	}
   142	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ