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-prev] [day] [month] [year] [list]
Message-ID: <aXeuCXDQyFbUSe3Q@intel.com>
Date: Mon, 26 Jan 2026 13:10:17 -0500
From: Rodrigo Vivi <rodrigo.vivi@...el.com>
To: kernel test robot <lkp@...el.com>, "David E. Box"
	<david.e.box@...ux.intel.com>
CC: "David E. Box" <david.e.box@...ux.intel.com>,
	<thomas.hellstrom@...ux.intel.com>, <irenic.rajneesh@...il.com>,
	<ilpo.jarvinen@...ux.intel.com>, <srinivas.pandruvada@...ux.intel.com>,
	<intel-xe@...ts.freedesktop.org>, <dri-devel@...ts.freedesktop.org>,
	<xi.pardee@...ux.intel.com>, <oe-kbuild-all@...ts.linux.dev>,
	<hansg@...nel.org>, <linux-kernel@...r.kernel.org>,
	<platform-driver-x86@...r.kernel.org>
Subject: Re: [PATCH v4 4/6] platform/x86/intel/vsec: Switch exported helpers
 from pci_dev to device

On Mon, Jan 26, 2026 at 01:35:49AM +0800, kernel test robot wrote:
> Hi David,
> 
> kernel test robot noticed the following build errors:
> 
> [auto build test ERROR on 0f61b1860cc3f52aef9036d7235ed1f017632193]
> 
> url:    https://github.com/intel-lab-lkp/linux/commits/David-E-Box/platform-x86-intel-vsec-Refactor-base_addr-handling/20260123-105437
> base:   0f61b1860cc3f52aef9036d7235ed1f017632193
> patch link:    https://lore.kernel.org/r/20260123025108.3772255-5-david.e.box%40linux.intel.com
> patch subject: [PATCH v4 4/6] platform/x86/intel/vsec: Switch exported helpers from pci_dev to device
> config: x86_64-randconfig-074-20251025 (https://download.01.org/0day-ci/archive/20260126/202601260115.T3rBZhUE-lkp@intel.com/config)
> compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260126/202601260115.T3rBZhUE-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202601260115.T3rBZhUE-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from <command-line>:
> >> drivers/gpu/drm/xe/xe_vsec.h:13:30: error: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
>       13 | int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offset, u32 count);
>          |                              ^~~~~~
>    cc1: all warnings being treated as errors
> 
> 
> vim +13 drivers/gpu/drm/xe/xe_vsec.h
> 
>     11	
>     12	void xe_vsec_init(struct xe_device *xe);
>   > 13	int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offset, u32 count);
>     14	

David, you probably need a
struct device; in the beginning of this header to shut off this build issue.

Thanks,
Rodrigo.

> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ