summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2023-05-26 19:38:06 +0300
committerJani Nikula <jani.nikula@intel.com>2023-06-07 13:25:48 +0300
commit84f9c3c73b9a18a21ea13135d4e850fcf7629f59 (patch)
treee10bd46b560e5e00eb63ec81be9bc7c7f5a646d4 /scripts/gdb/linux/utils.py
parentace873049e8cb543f00d8393dcad19711e7ec969 (diff)
downloadlinux-84f9c3c73b9a18a21ea13135d4e850fcf7629f59.tar.xz
drm/i915: annotate maybe unused but set intel_crtc_state variables
Prepare for re-enabling -Wunused-but-set-variable. for_each_new_intel_crtc_in_state() requires passing in a struct intel_crtc_state pointer, which it uses, but in a few places this leads to warning about unused but set variables. Annotate them with __maybe_unused. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/eb041f426bc3d76ef7a0ea906f99367cbf439b1a.1685119007.git.jani.nikula@intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions