aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp_mst.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-10-30 17:29:27 +0000
committerChris Wilson <[email protected]>2017-10-30 21:17:12 +0000
commit4ab09d0ec3c81aceaebf8967efe111ba69a406d8 (patch)
treedbd058c8a60d27ee16db09c05697a5ff717f9cc5 /drivers/gpu/drm/i915/intel_dp_mst.c
parentdrm/i915: Use intel_ddi_get_config() for MST (diff)
downloadkernel-4ab09d0ec3c81aceaebf8967efe111ba69a406d8.tar.gz
kernel-4ab09d0ec3c81aceaebf8967efe111ba69a406d8.zip
drm/i915: Replace "cc-option -Wno-foo" with "cc-disable-warning foo"
To quote kbuild/makefiles.txt: cc-disable-warning checks if gcc supports a given warning and returns the commandline switch to disable it. This special function is needed, because gcc 4.4 and later accept any unknown -Wno-* option and only warn about it if there is another warning in the source file. This is exactly what we were trying to achieve with cc-option -Wno-foo and failed miserably. Reported-by: [email protected] Fixes: 39bf4de89ff7 ("drm/i915: Add -Wall -Wextra to our build, set warnings to full") Signed-off-by: Chris Wilson <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions