Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10375939rwp; Thu, 20 Jul 2023 20:41:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlFvQhjQUe8y74G5EDG2ZCqINer3euBAJrvzPcUWX0NUw1rhcC2jufmM8Po3oKoIH8alsHyU X-Received: by 2002:a05:6a20:3d8b:b0:134:5c75:3d23 with SMTP id s11-20020a056a203d8b00b001345c753d23mr985892pzi.18.1689910870169; Thu, 20 Jul 2023 20:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689910870; cv=none; d=google.com; s=arc-20160816; b=is048l0LY0RQWZkWFpgyfRq1ivVTKndScN+JDAPlbcsqOIHg+4fuN4twAkL4mgb2kG t21iEJyK1jxaC6R91ePQvWIAqGsK6o5i8JCJWUeI0UvWK3BFqLvduzmgpPga02axvwHb rE4UgnHh66j2Y1sD1B0WlNKJC21IOeCxo2ew1ey3LkDlgN7k7rZ3IbsuauBcMHe1ackn MmRlEQMMv8ojlLmq9o1JFcsX5LJ15YZt3QRCuy01Ocg2avHMMLuA5x+7RPjCQoDKJJni d6KQF1/SWg1ytre13lKpxe9KwxcBX51FbNMoP4tg0dnMrLbfTAv8SMt3hxPz6+uucHjG qPZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=53fneVgPUagMrCAfKguN6XJ+ZoAXRp6yZ9wr4Tu1qYY=; fh=GDkpILfRjgAhZtnvVhQi0rAjJPG9YqggTdI6WH8Mebg=; b=OOVceTSFguBkcCyBBDXRhKAEn4oPS8a5599qy5/6XpDk0p36Y4WdkGl1cAluIRipUQ XsJhMaleEF5ZPiO7XwjYsdGL/yjHgfItg1FDLxT4vl9JRGA/y13l1eK5gqC6J9pYB6l0 znGevtIDE5rE6er8tnq8tAyI9UMxP6CeFsVh15gI4KrDiVgYyUMRM7f9EDXdyigVbeAI mYUFpRb6sopyWmQyfP9TpowbAcPAzlQc9EMehVdcxN6is04YJaVTyJnszBjZyUljmot4 Jgye8etnrRZHvdZZcNPJlwGii4JUyTaYsKedpxJKQKcr+ij2wstRRhtrHePOsSvyBOQ8 zMAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=L92kgOZB; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ct7-20020a056a000f8700b00682642ec7c0si2182151pfb.338.2023.07.20.20.40.56; Thu, 20 Jul 2023 20:41:10 -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=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=L92kgOZB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229824AbjGUDcM (ORCPT + 99 others); Thu, 20 Jul 2023 23:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjGUDcK (ORCPT ); Thu, 20 Jul 2023 23:32:10 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 916871726 for ; Thu, 20 Jul 2023 20:32:09 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R6ZqW1LzmzBRDtM for ; Fri, 21 Jul 2023 11:32:07 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689910327; x=1692502328; bh=DgngVkhS4Y2EpAg4Rz03E9/o90m U59SYiP+mSo3EkDk=; b=L92kgOZBjYxTAwTQMpz91K3P04x5FIHueeyz09mIhMH H2DAXpE9oaPeNeswRrcoTz+sRb5TuyVYRLwC0seqzyIyizXUVkrbpsU2rzMcZefm WhTozeLPQ+U31bhe+zPmc7JpPwAWTcCtCtwBFNlhDMHr67+SL6PKZhvtwIU3IN3o UtzXYA9w1ilXdcIFpDyAvf1/MQBarZBawBr0xrIakCHU4aA71Htd5XN9M1zk8Ew4 r2i0U8JRSE5BN03n5JLjlTCCiXVCsSs5yBl2uUgwLvCN3k40ZVMVEDuxwqFsEBtJ gMM9m3jHEAbnMamkMsm2PTREL/mgTaIllwNQg/qYA/g== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xKi8Zvp4_Syj for ; Fri, 21 Jul 2023 11:32:07 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R6ZqV5jSmzBRDrd; Fri, 21 Jul 2023 11:32:06 +0800 (CST) MIME-Version: 1.0 Date: Fri, 21 Jul 2023 11:32:06 +0800 From: sunran001@208suo.com To: alexander.deucher@amd.com, airlied@gmail.com, daniel@ffwll.ch Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amdgpu: open brace '{' following struct go on the same line In-Reply-To: <20230721033048.4840-1-xujianghui@cdjrlc.com> References: <20230721033048.4840-1-xujianghui@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: X-Sender: sunran001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 ERROR: open brace '{' following struct go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h index 52045ad59bed..eec816f0cbf9 100644 --- a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h +++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h @@ -24,8 +24,7 @@ #ifndef __AMDGPU_PM_H__ #define __AMDGPU_PM_H__ -struct cg_flag_name -{ +struct cg_flag_name { u64 flag; const char *name; };