Re: linux-next: build failure after merge of the pci tree

From: Simon Richter

Date: Mon Mar 30 2026 - 11:14:38 EST


Hi,

On 3/30/26 23:06, Mark Brown wrote:

After merging the pci tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

>> /tmp/next/build/drivers/gpu/drm/i915/display/intel_vga.c:
>> In function 'intel_vga_disable':
>> /tmp/next/build/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);
>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is still present today.

The fix for that should have gone in through drm-next. The version where the warning occurs in line 68 is ancient however (that was changed[2] in December).

There's a backported fix[3] that applies to anything from 5.3 onwards. Will send as a patch as a reply to this mail.

Simon

[1] https://cgit.freedesktop.org/drm/drm/commit/?id=cda15ff39df82ef6842affeb8cf57d0090708227

[2] https://cgit.freedesktop.org/drm/drm/commit/?id=cc6ed470caa201b25e9e7e1ca21144e17914644c

[3] https://patchwork.freedesktop.org/patch/709684/?series=161721&rev=4

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature