Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3279866rwb; Mon, 7 Aug 2023 10:50:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENko/RJ1KoRG1O4tI6PLJSPY82tWIOZlMrxStfd3aqg7Bd1kxRCjlUNqvOTD+C5gy/Fz6r X-Received: by 2002:a05:6a00:17a1:b0:687:9ba5:e3fe with SMTP id s33-20020a056a0017a100b006879ba5e3femr13393711pfg.23.1691430632904; Mon, 07 Aug 2023 10:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691430632; cv=none; d=google.com; s=arc-20160816; b=S9lS6KWJfDdwonTvjhLN8L2tyseikqzhsro6sUjt4Xt3nX7E1HIUG35yzwKuuVIhxo yyCtIHQZuFvRFyULQH6baI7SMxPe2GfyGuKRfKMF+yj5Kd/HrPI+yUFANEnSmmygERzs bYvNNqFTOHLBjrfqsxm8YIAK7S86fYltHkz3zukceRaFyZcVairQt3D7lD+5vFrs2Qcs FwU008Tu2eh2Ftgam/lfU6oI3tAlhbDdGuZFN5MqkPImYqqonH7I8iU1ZdgvG0Z/MMyd QxsPxIKRe46kAVATGv0iya6hzg06RpwnEwQnCTqiLaBAn8am8SkTg28nv5N5aOUUKnnK 5RVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YVnv4Pt11q/ZKsoCJD2SAX36HKBbik8lLwU9hV+RPkI=; fh=YwR8hmjC2QSif+72cT3/sIS32/1FMEJSAUJ+j+OuTzU=; b=Q53eQlJUcK1pqhKzgK6PMLSkKGMCHILit0QnISbDuCRl8tpJ0lH4XbMasaXw9WtIFP 8CQSfA0yfPkRUBYhT0bPI0+WeyyRvHi7Md81XimHn93y4s38TG259t7205jRnhAtulgm irxyXUrtikN5M4DGXnU9RQhJ//RGhQUEA4qE4LVKfXYS1KJ9Vqo7SDMljdrJ8QpD1hjg HY0mBzpPsRz1eCaDMhfMOS05mXzPa1UzKg0FH35RF/Cln3QZJ3N399cjLlgnhr/LJrni vjTsHzR338fee8+aIdDOuXlDmbNzj9KzzN0AKr9H4gEFomTF18z7hk12aYuTLC5yNtC+ zBlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=oywPoegN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fi10-20020a056a00398a00b0068730bad69bsi6008370pfb.305.2023.08.07.10.50.21; Mon, 07 Aug 2023 10:50:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=oywPoegN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231904AbjHGRKd (ORCPT + 99 others); Mon, 7 Aug 2023 13:10:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232029AbjHGRK0 (ORCPT ); Mon, 7 Aug 2023 13:10:26 -0400 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE786199E for ; Mon, 7 Aug 2023 10:10:08 -0700 (PDT) Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6bcccbd9365so3681839a34.2 for ; Mon, 07 Aug 2023 10:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691428208; x=1692033008; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YVnv4Pt11q/ZKsoCJD2SAX36HKBbik8lLwU9hV+RPkI=; b=oywPoegN13kmjmfc1hbMrkM6c8UhdKOpLvWPnCis7HDZzdByg9orxAspo3B5FX2T19 u6BUE3G9LTpdj2mR9LBaeVDgspHapuIVLCmE7M3LDyK4BnLBIkcb0PFRgvTxVIRw0Q3S Km0qyzEdOdFE7W34yBmgk/xVOuI0lL3TJ+KBhwCDtlqr9SsnqTEXgzE27SFXnQQ2qFTT Pbrl6kibusLcdiP2M/LC0k4Kg6t+kcXMYiOTUv4+CYYhQuxNtK4U7AGT3Cw0ek7cqM0b /UdopVVPDvkBXNqdhL0NH4e3PU44lN2R+jAytKTEvJXXjlp+5F2yIe3DfQBgPuHzP3VA xZsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691428208; x=1692033008; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YVnv4Pt11q/ZKsoCJD2SAX36HKBbik8lLwU9hV+RPkI=; b=iqrBKcq38joXIl5b6YaxQ5suZPWlZjA+Fim2hMJphEoXF1z+ITkeD7TiT4jHmpV9p7 q0zq/Nuo+fXOyiFQUU863T7Pg07nsyRRKKnsmu7PtpVYjgUf5+yo1i7n83gdz7IhEDl6 YL5wWP4vaSXqz9eKTamtqEEHxmZvhfjIgQ+++G5KaUI8gVxG/S+3nTstjQBfPqinGUF8 vUSPn8SGCsfeAZF7orGj2N0qwhU8fssvnK8KfYTRXuz3cQsm04x/aMFRo2nU64714P3e ED/h+hAJABLlbpIOR/bcLdmooQX3OodtxrMvAq3nEjaArvUfX4v1XPjvbwY+Z6yvYANp 5kNw== X-Gm-Message-State: AOJu0Yw4Tyt7edsKQ5wqbzNEdGDMvjFDFvGo/RUrVZJnozfaHEpyfMPW e0YUl3CcLI2muiaEHoaXiZOcdv39ov+kwDLC8F8= X-Received: by 2002:a05:6870:a916:b0:1bf:7cdc:df0 with SMTP id eq22-20020a056870a91600b001bf7cdc0df0mr11644328oab.35.1691428208036; Mon, 07 Aug 2023 10:10:08 -0700 (PDT) MIME-Version: 1.0 References: <20230802025443.10458-1-sunran001@208suo.com> In-Reply-To: <20230802025443.10458-1-sunran001@208suo.com> From: Alex Deucher Date: Mon, 7 Aug 2023 13:09:57 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/display: Clean up errors in dce112_hw_sequencer.c To: Ran Sun Cc: alexander.deucher@amd.com, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! On Tue, Aug 1, 2023 at 10:54=E2=80=AFPM Ran Sun wrot= e: > > Fix the following errors reported by checkpatch: > > ERROR: space required before the open brace '{' > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c = b/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c > index 690caaaff019..0ef9ebb3c1e2 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c > +++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_hw_sequencer.c > @@ -127,7 +127,7 @@ static bool dce112_enable_display_power_gating( > else > cntl =3D ASIC_PIPE_DISABLE; > > - if (power_gating !=3D PIPE_GATING_CONTROL_INIT || controller_id = =3D=3D 0){ > + if (power_gating !=3D PIPE_GATING_CONTROL_INIT || controller_id = =3D=3D 0) { > > bp_result =3D dcb->funcs->enable_disp_power_gating( > dcb, controller_id + 1, c= ntl); > -- > 2.17.1 >