Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3332330rwb; Mon, 7 Aug 2023 11:42:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+GrlBE0QQn2WbkPn98HT0PMsZhmajQWZLYyrFE0CaXLXTX9PmzcBdNwYqSpsibuP/FDTH X-Received: by 2002:a17:90a:5207:b0:268:5fd8:d8ff with SMTP id v7-20020a17090a520700b002685fd8d8ffmr7541063pjh.0.1691433770440; Mon, 07 Aug 2023 11:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691433770; cv=none; d=google.com; s=arc-20160816; b=wHQ0fLd+MC7BjrQ6Mz7PeVFL7ERe89ZdeoIyiB8szFVo6d3N15R2c1EPl7Udr5Vh2A Gqvt59wwli4yWU7eeP3+RC/IujVRVxNUWs8S/Wl1Ev9vhDNI4NuXSp24Hqb8MuRoSsaH num7ulx9HSZqAbCIzVCXB9AiEVSoPVZuGhPeVdUlSEc3RX7cTwXoGTU4F83vaAWdjEYK UCX8twHRWSI1XqezS/Vmpvb5dzYO4drT5qf8H5/09fNlBfo/cP5QnC/+0yKl5N4QuCTR b5+o3nhGQtFZ6hcLkOtHEK+ekgEYs9R6eJQTWcSJhReFws9c4EZsorAc948bjzQT4NdA JE9Q== 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=KGmmkCXMMyEo8pM0tNNo4ZW+64gDoL7rhIgRe9x2cRY=; fh=t+hei0m6FWvWE3h8ROlSj5pw/xTY3yBXufxuldTsP1A=; b=l6e2OsdvxR8B08NGvPcR6cpF8Ot/JIZvBmoWdHd6mlzi4PEi+nd6rPJTwNWb55fPGo FpUl9G2+uNBAEl/1GO4NvSjr38lF9o65BRhj+Sx5wLmPsqpbD43WOWX4qNpfOdL3FGY1 Daw2pvwPrS0ZMMDj/xarxkUWcimgwr1Bk4bGX5UIrp4RM1kfv4Q4bel/Xx/jt3+XBugg JyIysTo8V1KdH2S9Jfyio6ikoFH57BlMMLe9Shwgc1//sZ2Zo1NhRc9yaR8A7zZkEx/u rUU1lhKLTxr54+ObOdwt5SOoMzJ14NC88uwuU+J3+/frfd6DSQfQbiS1O1NZUARO1KG7 wZ3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=D010eOd3; 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 q16-20020a17090aa01000b0025bae7f2b10si9386103pjp.13.2023.08.07.11.42.39; Mon, 07 Aug 2023 11:42:50 -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=D010eOd3; 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 S231402AbjHGQtP (ORCPT + 99 others); Mon, 7 Aug 2023 12:49:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbjHGQtO (ORCPT ); Mon, 7 Aug 2023 12:49:14 -0400 Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD33B172A for ; Mon, 7 Aug 2023 09:49:13 -0700 (PDT) Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-56c4457c82eso3097283eaf.0 for ; Mon, 07 Aug 2023 09:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691426953; x=1692031753; 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=KGmmkCXMMyEo8pM0tNNo4ZW+64gDoL7rhIgRe9x2cRY=; b=D010eOd3qhm+mh+wnfbojjbzNHNcJEgWAnKg7JHHoRbkZtgzPGeDjxM9B97GtJoerP HnUx9R4j8OJsrvaguVLGIiL68icxr4LtivDlfxekGgZkkTnDoo/Ta4eXdcUdEIoDInKU HKliqHBEouvohawZSwuAvXoWBt59s6bv71d3Wt+hbTCxzmwaLI0qLTymsmN0Rl8auc/d i8OXV7iyWqPOkMd4kiN5SF+GldxDEgZVyatkFzLuYMZuWCK3/iyk0ITTUpIn/wNMapWS 2l1Rn2118P6dpoRyTfkme0yZ/4HLNI+w23vq2tVEoJywuU9aqJggcpIATZQlP7Bgxo/R Vsyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691426953; x=1692031753; 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=KGmmkCXMMyEo8pM0tNNo4ZW+64gDoL7rhIgRe9x2cRY=; b=VIjqf7TEru24gaJp21BGkAxbRUpDxZZpUxzvL2cKmx8IxaRjgNPiMVJ0xXgS4uqaFS 8Dov86+E0dS/j4tPMlPHNbZv74qKxih38XmjGmKRo8ZuKZSMlhHilOXxGCRpSiFqMouI XLWidFxMuTwJr/8uIXn12PIbzmD39uLy4hm3VILHAl5TMpiZEUnZalkka2/rsKwimCO1 G+wUtczWO8k25TbLcIE1eAbZJI55mOwrlzajxgfNXYjVOHSiCWF+7NXFy1BgEHBvuuVc mvRNXU9bxUIdKoBvgrxa9noujyPXSTCT/gnrcRHtFiehAtWoi/yz/Y33bYG/zU6IclKX ghPQ== X-Gm-Message-State: AOJu0YwFc4Tlj9xaYz8LK0bQ5nyJOAEzc+SxPFZDLp29+DViZn6wWwsv aCulvmbFrJk96tXS5amYZKSVEiqz++Pjo6aLBpE= X-Received: by 2002:a4a:7658:0:b0:567:92:c45d with SMTP id w24-20020a4a7658000000b005670092c45dmr9029943ooe.5.1691426952955; Mon, 07 Aug 2023 09:49:12 -0700 (PDT) MIME-Version: 1.0 References: <20230801093832.7849-1-sunran001@208suo.com> In-Reply-To: <20230801093832.7849-1-sunran001@208suo.com> From: Alex Deucher Date: Mon, 7 Aug 2023 12:49:01 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/pm: Clean up errors in vega12_hwmgr.h To: Ran Sun Cc: alexander.deucher@amd.com, airlied@gmail.com, daniel@ffwll.ch, 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_NONE,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 5:38=E2=80=AFAM Ran Sun wrote= : > > Fix the following errors reported by checkpatch: > > ERROR: open brace '{' following enum go on the same line > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h b/driv= ers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h > index aa63ae41942d..9f2ce4308548 100644 > --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h > +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h > @@ -38,8 +38,7 @@ > #define VG12_PSUEDO_NUM_DCEFCLK_DPM_LEVELS 8 > #define VG12_PSUEDO_NUM_UCLK_DPM_LEVELS 4 > > -enum > -{ > +enum { > GNLD_DPM_PREFETCHER =3D 0, > GNLD_DPM_GFXCLK, > GNLD_DPM_UCLK, > -- > 2.17.1 >