From patchwork Fri Feb 2 00:06:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominik Behr X-Patchwork-Id: 10196155 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E751B60362 for ; Fri, 2 Feb 2018 00:06:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D67B828BCF for ; Fri, 2 Feb 2018 00:06:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAC6B28C59; Fri, 2 Feb 2018 00:06:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 56FFC28BCF for ; Fri, 2 Feb 2018 00:06:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B11946E2F4; Fri, 2 Feb 2018 00:06:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com [IPv6:2607:f8b0:400e:c05::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2717F6E2F4 for ; Fri, 2 Feb 2018 00:06:46 +0000 (UTC) Received: by mail-pg0-x242.google.com with SMTP id o13so13208724pgs.2 for ; Thu, 01 Feb 2018 16:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=RDVCWE5yLfAaTfNPgtwyJvQEp7LvsgBnVitGgP47Ioo=; b=OC2OGBHHpDQ9YVRwngMMI++btDxplNzinZF0x6HWGsiqHDJU8mLRvr/RWosftvYp6V T0Afm2RNflnZpbhEeno1alOF8Xpkje3IpqjOTog9gljbwapX/4CP4SWfBNLBYaZmuE7h S5HARc3rL2nx16hzw+KacQTikuONYZPeHB/EM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RDVCWE5yLfAaTfNPgtwyJvQEp7LvsgBnVitGgP47Ioo=; b=Bg3KhEI6L+TWKTI06QkMIs5GmabO2lLGhdq2PggHPS/99Mjf/S0SJCgibnf9adzPMT iStjHrGAElvF+n4OvwFIEXLkKx73A0AWQFO5WXVk9B+TKUw/f7RovrS4rpx3xqe51zPT WllEuwZz1JUa1Y6uNSX7Sk5MLlXXYPpDz963uqykeDzWDw69gducxafqZ5t1parWG0Nw DB5fJClJcjH1pjp6C01jNuSNmbxaWG2CYKPz6mjoNyCEf7deU1ELpmbhGURu8jyKIEre 4GOZedR19nM8OYIj2esk5XlSvb7Xp8yyUx73hsHiLI6A1Bfe5lbSO5QFAkJFgv2ZpWtS lP6Q== X-Gm-Message-State: AKwxytc5r6B8dIasEzZzyAewM+Kq8JgVKjiqYPn6UzjSOAJM8x+jders dgm7dXbMPOwk2ABng5n+2DVdhn6UPnE= X-Google-Smtp-Source: AH8x226TEY0puCRcnxVA4EShxqVGchHY+WH7ACsSW/P+uSlaarefiffkEZ+AUJdNfdOWwk6naJYhPg== X-Received: by 10.99.111.193 with SMTP id k184mr29294514pgc.378.1517530005652; Thu, 01 Feb 2018 16:06:45 -0800 (PST) Received: from dbehr.mtv.corp.google.com ([2620:0:1000:1500:a2af:17f9:a481:da98]) by smtp.gmail.com with ESMTPSA id d68sm851769pfj.66.2018.02.01.16.06.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 16:06:45 -0800 (PST) From: dbehr@chromium.org To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/amdgpu/display: fix wrong enum type for ddc_result Date: Thu, 1 Feb 2018 16:06:42 -0800 Message-Id: <20180202000642.207035-1-dbehr@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexander.deucher@amd.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Dominik Behr Signed-off-by: Dominik Behr --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 33d91e4474ea..6c1ab6aa17f9 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -1926,7 +1926,7 @@ bool dc_link_handle_hpd_rx_irq(struct dc_link *link, union hpd_irq_data *out_hpd { union hpd_irq_data hpd_irq_dpcd_data = {{{{0}}}}; union device_service_irq device_service_clear = { { 0 } }; - enum dc_status result = DDC_RESULT_UNKNOWN; + enum ddc_result result = DDC_RESULT_UNKNOWN; bool status = false; /* For use cases related to down stream connection status change, * PSR and device auto test, refer to function handle_sst_hpd_irq