Re: [REGRESSION] linux-pci/next: (build) ignoring return value of function declared with 'warn_unused_resul...
Bjorn Helgaas <[email protected]> Mon, 30 Mar 2026 12:14:19 -0500
| Newsgroups | dev.linux.lists.kernelci,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <20260330171419.GA83942@bhelgaas> |
On Fri, Mar 27, 2026 at 05:59:03PM -0000, KernelCI bot wrote: > > > > > Hello, > > New build issue found on linux-pci/next: > > --- > ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-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:c2145292d80ae85fd003068675e73a3d1f95c35e > - 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:2: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] > 68 | vga_get_uninterruptible(pdev, VGA_RSRC_LEGACY_IO); > | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ > /tmp/kci/linux/drivers/gpu/drm/i915/display/intel_vga.c:93:2: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] > 93 | vga_get_uninterruptible(pdev, VGA_RSRC_LEGACY_IO); > | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ > 2 errors generated. > > ===================================================== > > > # Builds where the incident occurred: > > ## x86_64_defconfig on (x86_64): > - compiler: clang-21 > - config: None > - dashboard: https://d.kernelci.org/build/maestro:69c6b8d23712df3240c2a959 > > > #kernelci issue maestro:c2145292d80ae85fd003068675e73a3d1f95c35e > > -- > 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