drm/i915: Enable -Wsometimes-uninitialized
authorNathan Chancellor <nathan@kernel.org>
Tue, 24 Aug 2021 22:54:27 +0000 (15:54 -0700)
committerJani Nikula <jani.nikula@intel.com>
Tue, 14 Sep 2021 16:44:17 +0000 (19:44 +0300)
commit43192617f7816bb74584c1df06f57363afd15337
treee4bea3d66b0e78287edc393e19cbbd9e1995fe6a
parent46f20a353b80d02492655d99714f0566018a17e8
drm/i915: Enable -Wsometimes-uninitialized

This warning helps catch uninitialized variables. It should have been
enabled at the same time as commit b2423184ac33 ("drm/i915: Enable
-Wuninitialized") but I did not realize they were disabled separately.
Enable it now that i915 is clean so that it stays that way.

Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210824225427.2065517-4-nathan@kernel.org
drivers/gpu/drm/i915/Makefile