Bad variable assignment in dc_link_handle_hpd_rx_irq |
|
Issue description
Trying to build Linux in chromeos-4.14 with clang results in the following build error.
kernel/v4.14/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1931:26: error: implicit conversion from enumeration type 'enum ddc_result' to different enumeration type 'enum dc_status' [-Werror,-Wenum-conversion]
enum dc_status result = DDC_RESULT_UNKNOWN;
~~~~~~ ^~~~~~~~~~~~~~~~~~
DDC_RESULT_UNKNOWN is from enum dc_result, not from enum dc_status.
,
Jan 18 2018
Note that this is also seen in the upstream kernel (including -next), so the fix should be submitted upstream.
,
May 8 2018
|
|
►
Sign in to add a comment |
|
Comment 1 by djkurtz@chromium.org
, Jan 18 2018Labels: OS-Chrome
Owner: dbehr@chromium.org
Status: Assigned (was: Untriaged)