Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5305505imm; Tue, 26 Jun 2018 09:03:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeBdNzPgfqJGCC3nisdSl3s/tZZBDy39vOgEk7RcB4mDyFLwt8TEsHZ1U8ltGr3lJVSbQDh X-Received: by 2002:a62:2605:: with SMTP id m5-v6mr2157996pfm.223.1530029029824; Tue, 26 Jun 2018 09:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530029029; cv=none; d=google.com; s=arc-20160816; b=tjhnz5oggALXy77NflF9WD50SFT9UZ9gNXhpvHKAJe6ZZwNg2KBI29MyImRSitzEXA X1W7s8Q4ek7wbQABk2EMG655QkxS55rtU9A8cYhPPQB1OVqMsQjUeMi1mruf/XVKlvrK NueTqJJzp/gVYdoR/MuevepwF/qdQfJXGCh+K7xqHxVmQOfads573BFnrNwmibXcqqSx yw9cxaYmFYz1Y4jvLa6uvjlIYISY77QlRXTQYqJCHSWa2mTkJoH3/uC6Yiy6I7Szf9vt CYvlEJ1MELMQla7vhXOnSiWLdFaEZbqPc+1j2CD/GgfafKC/RblYNuQvbWRQgQnaw6oJ jInw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt :openpgp:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=g0EbmP4VgPa2r0aKEa1R21Un8Cof5OMzr5IfuzcqfgE=; b=KHUHeesHUX5LI/wdUsUkiNVy+5eAmz34uowTcr+ftV0jC2Y+QOH6tkP5tLl1eaM+FV w0WX/+IkGAF9ShhLsJdQEnOSXhD3jY2p+iJC+oZU29sDXv/+1upzQ9bqDPIjydXXsSO1 XO5fMpLUXsoeQ36ic/Nsrj2E12opg/3cQFU7cIgnFepeKydbc99vnITbE+D5S9BgfwUX pGE9MV0lx+9kceQNk/aRfiJXLsrAQ411YuE1vB4VcMLbZp5sCoKvsbgQcx0lDB8WB6pK Xx2dn39g5HOK+5pBzwZ5zgYs2m1qtVlQsBXgmDAeI0ziuDAfaj3vpR/93ptNjx2AS8bT B5iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rZsr93uh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4-v6si1568666pgs.299.2018.06.26.09.03.34; Tue, 26 Jun 2018 09:03:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rZsr93uh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966002AbeFZOYD (ORCPT + 99 others); Tue, 26 Jun 2018 10:24:03 -0400 Received: from mail-by2nam01on0089.outbound.protection.outlook.com ([104.47.34.89]:32000 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965993AbeFZOX7 (ORCPT ); Tue, 26 Jun 2018 10:23:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g0EbmP4VgPa2r0aKEa1R21Un8Cof5OMzr5IfuzcqfgE=; b=rZsr93uhdNv1tCbYywoEykOu9Gvx32k+Ec0WKmLLlnfREPkxIWF5pwIoP00KEP4gGJaIgDdaRc5AoPbcwus2D5cQxCicQ9CurXuqbf0W+JShbBHj1/zvlPzWAtq2HIQigcKsUK6zv0qU8IiWzj0MEchxo/WCoKuJdtwqHHEfrc4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Harry.Wentland@amd.com; Received: from [172.29.157.77] (165.204.55.250) by SN1PR12MB0190.namprd12.prod.outlook.com (2a01:111:e400:5144::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.24; Tue, 26 Jun 2018 14:23:56 +0000 Subject: Re: [PATCH] drm/amd/display: don't initialize result To: Stefan Agner , Alex Deucher Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, =?UTF-8?Q?Christian_K=c3=b6nig?= References: <20180617085343.10760-1-stefan@agner.ch> From: Harry Wentland Openpgp: preference=signencrypt Autocrypt: addr=harry.wentland@amd.com; prefer-encrypt=mutual; keydata= xsBNBFhb4C8BCADhHHUNoBQ7K7LupCP0FsUb443Vuqq+dH0uo4A3lnPkMF6FJmGcJ9Sbx1C6 cd4PbVAaTFZUEmjqfpm+wCRBe11eF55hW3GJ273wvfH69Q/zmAxwO8yk+i5ZWWl8Hns5h69K D9QURHLpXxrcwnfHFah0DwV23TrD1KGB7vowCZyJOw93U/GzAlXKESy0FM7ZOYIJH83X7qhh Q9KX94iTEYTeH86Wy8hwHtqM6ySviwEz0g+UegpG8ebbz0w3b5QmdKCAg+eZTmBekP5o77YE BKqR+Miiwo9+tzm2N5GiF9HDeI2pVe/egOLa5UcmsgdF4Y5FKoMnBbAHNaA6Fev8PHlNABEB AAHNJ0hhcnJ5IFdlbnRsYW5kIDxoYXJyeS53ZW50bGFuZEBhbWQuY29tPsLAdwQTAQgAIQUC WFvgLwIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAK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+YBijtPJA3x5ldbCfQ9rWiTu XQ== Message-ID: <341abd6c-0ace-11fd-733d-d7d4eb4c71c2@amd.com> Date: Tue, 26 Jun 2018 10:23:51 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180617085343.10760-1-stefan@agner.ch> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.55.250] X-ClientProxiedBy: YTXPR0101CA0045.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:1::22) To SN1PR12MB0190.namprd12.prod.outlook.com (2a01:111:e400:5144::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eb684929-a1e6-46e4-549c-08d5db707449 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989117)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020);SRVR:SN1PR12MB0190; X-Microsoft-Exchange-Diagnostics: 1;SN1PR12MB0190;3:CEXZAXKhIFhp0wrM2hR8gQcOK5A4/aNcgUkDLWg/ib/+8K93V+Nq23z0C1FhqdsCeOo0QQmhcRBjKpdLesmtDwhqZE+zbOY9RkR5LLW9ESDgI3fFYDFKOu2WBS2w0xcHhE+1bI+djKj1m4k5SbV8VQ702qZD/PJ+sVED2wpKh3sQg4kKDFfrjNxlHySiBUL+BocRYRZBA8XKmnuA2DtE/wQX9oU5qL1ooH6GKSMca2GnB8ACTMouefRXrFu8fZx5;25:F3Q2uWq42pQZ28s0Tj1GCGg+R/5o3CyG1yP39uqaqu2ZbmQnIyPa9nvx0VJvz3jGs3PjzeLZ3s3fceU3aBD0r8p3XGKy4IuuF+9nnFnahT0y/pUH4SA6ugdE2qu6AiJ9nuxKjd8YE0hnH+ACCyOwhgF3nt1Tex+u82F+a0ZVB7QE5smAVd7FhDzTdbr9NkZ6kdCppH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uqRzB7OR42AuX8Zh1INnNoX5QVcbr1PoVnD4muLJB7CNcB6XaujO6srlDIGwyUkpegB4fxSnitkSaysqXZelYNocH/WbHkQae9rweXrLFaprFCzq5F03Y++cp/FhlFVIM+yPbwgHthB749qA381vGmAHMiM2Zx254STg0epqlwFVgSjepTgj5IrEKRN7bpvDtnmRmnuaXAxjmqpKaBMNEOHJA6vh9V1 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231254)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:SN1PR12MB0190;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0190; X-Forefront-PRVS: 071518EF63 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(396003)(39860400002)(136003)(376002)(346002)(366004)(189003)(199004)(52314003)(51914003)(77096007)(2486003)(76176011)(52146003)(8936002)(16526019)(53546011)(305945005)(50466002)(386003)(2906002)(53936002)(52116002)(316002)(64126003)(54906003)(65826007)(44832011)(8676002)(2616005)(476003)(23676004)(81156014)(5660300001)(486006)(16576012)(26005)(58126008)(11346002)(110136005)(81166006)(446003)(956004)(7736002)(3846002)(230700001)(6116002)(47776003)(65956001)(36756003)(65806001)(31696002)(66066001)(25786009)(229853002)(31686004)(6486002)(6666003)(6246003)(6636002)(105586002)(72206003)(4326008)(68736007)(106356001)(97736004)(86362001)(478600001)(14444005)(575784001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR12MB0190;H:[172.29.157.77];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: amd.com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SV4gjkjjlNpGyqdH/55rM10aM2J1+ODHmpmQVJ3pvf8KW8eZGh3zi/0+RYjCTf0q2FH0MGnVYhIZTY0yxRmoNn3UT X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2018 14:23:56.7348 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eb684929-a1e6-46e4-549c-08d5db707449 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0190 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-06-17 04:53 AM, Stefan Agner wrote: > The wrong enum type is used to initialize the result, leading to a > warning when using clang: > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1998:26: warning: > implicit conversion from enumeration type 'enum ddc_result' to different > enumeration type 'enum dc_status' [-Wenum-conversion] > enum dc_status result = DDC_RESULT_UNKNOWN; > ~~~~~~ ^~~~~~~~~~~~~~~~~~ > 1 warning generated. > > Initialization of result is unnecessary anyway, just drop the > initialization. > > Signed-off-by: Stefan Agner Thanks for the patch. Reviewed-by: Harry Wentland Ill merge this today. Harry > --- > 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 7857cb42b3e6..1dbfbfc0fd45 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 > @@ -1995,7 +1995,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 dc_status result; > 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 >