From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: kernel test robot <lkp@intel.com>,
"David E. Box" <david.e.box@linux.intel.com>
Cc: "David E. Box" <david.e.box@linux.intel.com>,
<thomas.hellstrom@linux.intel.com>, <irenic.rajneesh@gmail.com>,
<ilpo.jarvinen@linux.intel.com>,
<srinivas.pandruvada@linux.intel.com>,
<intel-xe@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>, <xi.pardee@linux.intel.com>,
<oe-kbuild-all@lists.linux.dev>, <hansg@kernel.org>,
<linux-kernel@vger.kernel.org>,
<platform-driver-x86@vger.kernel.org>
Subject: Re: [PATCH v4 4/6] platform/x86/intel/vsec: Switch exported helpers from pci_dev to device
Date: Mon, 26 Jan 2026 13:10:17 -0500 [thread overview]
Message-ID: <aXeuCXDQyFbUSe3Q@intel.com> (raw)
In-Reply-To: <202601260115.T3rBZhUE-lkp@intel.com>
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@intel.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
next prev parent reply other threads:[~2026-01-26 18:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-23 2:51 [PATCH v4 0/6] platform/x86/intel/vsec: Prep for ACPI PMT discovery David E. Box
2026-01-23 2:51 ` [PATCH v4 1/6] platform/x86/intel/vsec: Refactor base_addr handling David E. Box
2026-01-23 2:51 ` [PATCH v4 2/6] platform/x86/intel/vsec: Make driver_data info const David E. Box
2026-01-23 2:51 ` [PATCH v4 3/6] platform/x86/intel/vsec: Decouple add/link helpers from PCI David E. Box
2026-01-23 2:51 ` [PATCH v4 4/6] platform/x86/intel/vsec: Switch exported helpers from pci_dev to device David E. Box
2026-01-25 17:35 ` kernel test robot
2026-01-26 18:10 ` Rodrigo Vivi [this message]
2026-01-23 2:51 ` [PATCH v4 5/6] platform/x86/intel/vsec: Return real error codes from registration path David E. Box
2026-01-23 2:51 ` [PATCH v4 6/6] platform/x86/intel/vsec: Plumb ACPI PMT discovery tables through vsec David E. Box
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aXeuCXDQyFbUSe3Q@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=david.e.box@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=irenic.rajneesh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=platform-driver-x86@vger.kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
--cc=thomas.hellstrom@linux.intel.com \
--cc=xi.pardee@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox