drm/i915: Disable unused-but-set compiler warning
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Feb 2018 16:16:39 +0000 (16:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Feb 2018 17:09:34 +0000 (17:09 +0000)
commit6a05d290046447fca311022004a4725f3f627dc9
tree73ddd561170dfe414d0a88bae3a07f96918d51be
parent40f46095db0691bc39f5ce916eab9c3e6136c912
drm/i915: Disable unused-but-set compiler warning

The unused-but-set warning enabled by W=1 catches out a lot of the
atomic helper iterator macros and drown us in their noise (or trip over
Werror and die). Path of least resistance is to ignore the warning.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180208161639.27511-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/Makefile