Re: [REGRESSION] linux-pci/nex t: (build) ignoring return value of ‘vga_get_ uninterruptible’ declared with a...
Bjorn Helgaas <[email protected]> Mon, 30 Mar 2026 12:14:33 -0500
| Newsgroups | dev.linux.lists.kernelci,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <20260330171433.GA84073@bhelgaas> |
On Fri, Mar 27, 2026 at 05:59:05PM -0000, KernelCI bot wrote: > > > > > Hello, > > New build issue found on linux-pci/next: > > --- > ignoring return value of ‘vga_get_uninterruptible’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] in drivers/gpu/drm/i915/display/intel_vga.o (drivers/gpu/drm/i915/display/intel_vga.c) [logspec:kbuild,kbuild.compiler.error] > --- > > - dashboard: https://d.kernelci.org/i/maestro:f670fdf443306495220d2cea8670ce85a80aed1e > - giturl: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git > - commit HEAD: 50451816531d66141cafe2347f9a896bd4dcb2b3 Dropped the commits related to this, see https://lore.kernel.org/all/20260330161802.GA79047@bhelgaas > > > Please include the KernelCI tag when submitting a fix: > > Reported-by: kernelci.org bot <[email protected]> > > > Log excerpt: > ===================================================== > /tmp/kci/linux/drivers/gpu/drm/i915/display/intel_vga.c:68:9: error: ignoring return value of ‘vga_get_uninterruptible’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] > 68 | vga_get_uninterruptible(pdev, VGA_RSRC_LEGACY_IO); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /tmp/kci/linux/drivers/gpu/drm/i915/display/intel_vga.c: In function ‘intel_vga_reset_io_mem’: > /tmp/kci/linux/drivers/gpu/drm/i915/display/intel_vga.c:93:9: error: ignoring return value of ‘vga_get_uninterruptible’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] > 93 | vga_get_uninterruptible(pdev, VGA_RSRC_LEGACY_IO); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > ===================================================== > > > # Builds where the incident occurred: > > ## x86_64_defconfig+kselftest on (x86_64): > - compiler: gcc-14 > - config: None > - dashboard: https://d.kernelci.org/build/maestro:69c6b9023712df3240c2a985 > > > #kernelci issue maestro:f670fdf443306495220d2cea8670ce85a80aed1e > > -- > This is an experimental report format. Please send feedback in! > Talk to us at [email protected] > > Made with love by the KernelCI team - https://kernelci.org