New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 803490 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Bad variable assignment in dc_link_handle_hpd_rx_irq

Project Member Reported by groeck@chromium.org, Jan 18 2018

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.

 
Cc: ddavenp...@chromium.org
Labels: OS-Chrome
Owner: dbehr@chromium.org
Status: Assigned (was: Untriaged)

Comment 2 by groeck@chromium.org, Jan 18 2018

Note that this is also seen in the upstream kernel (including -next), so the fix should be submitted upstream.

Comment 3 by dbehr@chromium.org, May 8 2018

Status: Fixed (was: Assigned)
Fixed in https://chromium-review.googlesource.com/924525

Sign in to add a comment