]> 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:48:30 +0000 (19:48 +0300)
commit9c9118c9010dfec659a3f2bb5cd4c3ebc41e29e9
tree61ea7397b864231cabbdec87aad2a293f4d5f734
parent5f3fe5560dea6e6169085bfb11d6bae625efd7fa
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
(cherry picked from commit 43192617f7816bb74584c1df06f57363afd15337)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/Makefile