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>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 20 Apr 2022 14:06:58 +0800
From:   kernel test robot <lkp@...el.com>
To:     Zhi Wang <zhi.a.wang@...el.com>
Cc:     kbuild-all@...ts.01.org, zhenyu.z.wang@...el.com,
        terrence.xu@...el.com, intel-gvt-dev@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org, Christoph Hellwig <hch@....de>,
        Zhenyu Wang <zhenyuw@...ux.intel.com>
Subject: [intel-gvt:gvt-next-bak-2022-04-13 2/4]
 drivers/gpu/drm/i915/intel_gvt.h:66:5: error: no previous prototype for
 'intel_gvt_iterate_mmio_table'

tree:   https://github.com/intel/gvt-linux.git gvt-next-bak-2022-04-13
head:   f267d34e47f33a283b785a31b7b8d1c899502743
commit: e870ce1791520cd03f67c5a16f309d94e4aede85 [2/4] i915/gvt: Separate the MMIO tracking table from GVT-g
config: i386-defconfig (https://download.01.org/0day-ci/archive/20220420/202204201327.wDSzH3pV-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://github.com/intel/gvt-linux/commit/e870ce1791520cd03f67c5a16f309d94e4aede85
        git remote add intel-gvt https://github.com/intel/gvt-linux.git
        git fetch --no-tags intel-gvt gvt-next-bak-2022-04-13
        git checkout e870ce1791520cd03f67c5a16f309d94e4aede85
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/

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/gpu/drm/i915/gvt/gvt.h:39,
                    from drivers/gpu/drm/i915/gvt/mpt.h:36,
                    from <command-line>:
   drivers/gpu/drm/i915/intel_gvt.h:66:41: error: 'struct intel_gvt_mmio_table_iter' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
      66 | int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
         |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/intel_gvt.h:66:5: error: no previous prototype for 'intel_gvt_iterate_mmio_table' [-Werror=missing-prototypes]
      66 | int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/intel_gvt_iterate_mmio_table +66 drivers/gpu/drm/i915/intel_gvt.h

    65	
  > 66	int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter)
    67	{
    68		return 0;
    69	}
    70	#endif
    71	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ