Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Arnd Bergmann 70cac501b5 drm/i915: work around false-positive maybe-uninitialized warning
gcc-9 gets confused by the code flow in check_dirty_whitelist:

drivers/gpu/drm/i915/gt/selftest_workarounds.c: In function 'check_dirty_whitelist':
drivers/gpu/drm/i915/gt/selftest_workarounds.c:492:17: error: 'rsvd' may be used uninitialized in this function [-Werror=maybe-uninitialized]

I could not figure out a good way to do this in a way that gcc
understands better, so initialize the variable to zero, as last
resort.

Fixes: aee20aaed8 ("drm/i915: Implement read-only support in whitelist selftest")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200527140526.1458215-2-arnd@arndb.de
(cherry picked from commit cc649a9eaf)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2020-06-15 12:36:07 +03:00
..
2020-04-28 16:04:00 +02:00
2020-04-28 16:13:03 +02:00
2020-04-02 14:16:44 +02:00
2020-04-21 09:02:29 +02:00
2020-04-02 14:16:44 +02:00
2020-04-24 20:51:24 +08:00
2020-04-03 17:11:41 +02:00
2020-04-02 14:16:45 +02:00
2020-04-28 16:05:15 +02:00
2020-04-28 15:15:59 +02:00
2020-03-26 15:45:36 +01:00
2020-04-02 14:16:46 +02:00
2020-04-03 17:11:41 +02:00
2020-04-03 17:11:41 +02:00
2019-10-08 18:29:00 +02:00
2020-04-28 15:05:19 +02:00
2020-03-26 15:38:09 +01:00
2020-03-16 09:27:09 +01:00
2020-04-29 18:44:26 +03:00
2020-04-03 17:11:41 +02:00
2020-04-28 16:05:15 +02:00