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: <202204202233.2S88zDWj-lkp@intel.com>
Date:   Thu, 21 Apr 2022 14:40:21 +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-without-chris-patches 1/5]
 drivers/gpu/drm/i915/gvt/handlers.c:75:6: error: no previous prototype for
 'intel_gvt_match_device'

tree:   https://github.com/intel/gvt-linux.git gvt-next-bak-without-chris-patches
head:   1f9dedeee16643ba20fffd43296978bc434218d2
commit: 8c7bb1f9b70a7b490776961767e69f9423280181 [1/5] i915/gvt: Separate the MMIO tracking table from GVT-g
config: x86_64-syzkaller (https://download.01.org/0day-ci/archive/20220420/202204202233.2S88zDWj-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/8c7bb1f9b70a7b490776961767e69f9423280181
        git remote add intel-gvt https://github.com/intel/gvt-linux.git
        git fetch --no-tags intel-gvt gvt-next-bak-without-chris-patches
        git checkout 8c7bb1f9b70a7b490776961767e69f9423280181
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 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 >>):

>> drivers/gpu/drm/i915/gvt/handlers.c:75:6: error: no previous prototype for 'intel_gvt_match_device' [-Werror=missing-prototypes]
      75 | bool intel_gvt_match_device(struct intel_gvt *gvt,
         |      ^~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/intel_gvt_match_device +75 drivers/gpu/drm/i915/gvt/handlers.c

12d14cc43b3470 Zhi Wang 2016-08-30  74  
12d14cc43b3470 Zhi Wang 2016-08-30 @75  bool intel_gvt_match_device(struct intel_gvt *gvt,
12d14cc43b3470 Zhi Wang 2016-08-30  76  		unsigned long device)
12d14cc43b3470 Zhi Wang 2016-08-30  77  {
12d14cc43b3470 Zhi Wang 2016-08-30  78  	return intel_gvt_get_device_type(gvt) & device;
12d14cc43b3470 Zhi Wang 2016-08-30  79  }
12d14cc43b3470 Zhi Wang 2016-08-30  80  

:::::: The code at line 75 was first introduced by commit
:::::: 12d14cc43b34706283246917329b2182163ba9aa drm/i915/gvt: Introduce a framework for tracking HW registers.

:::::: TO: Zhi Wang <zhi.a.wang@...el.com>
:::::: CC: Zhenyu Wang <zhenyuw@...ux.intel.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ