]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57cc673445153cadeb756ccbcd9a135d55fb7039
treee4bea3d66b0e78287edc393e19cbbd9e1995fe6a
parent931fea4246ee5c4234f49e73b67d1d86b9e23cd8
drm/i915: Enable -Wsometimes-uninitialized

This warning helps catch uninitialized variables. It should have been
enabled at the same time as commit 6d672b75ef7b ("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