Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10399380rwp; Thu, 20 Jul 2023 21:14:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlEMHxp7a4Kfbvw1/Bo3Iz1FDm1cQjLfrSXfhC2SGoVSGQ0kStKqV1t9vbVeeX9M48pgMRqM X-Received: by 2002:a17:907:7797:b0:99b:48a9:f56d with SMTP id ky23-20020a170907779700b0099b48a9f56dmr614781ejc.22.1689912857473; Thu, 20 Jul 2023 21:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689912857; cv=none; d=google.com; s=arc-20160816; b=G2/uOzTI/ABDETVybiWbkddTpclSXgKFAhtP4WQJx2gkJbyCt/dv/u/uNDpZpUHrjK RayyhR8Y1Y0yRnlbzrE+RWOh1bn1AxhvbPK9XomxlzFaOBp0GXfof+eb+FIx4vr279vf NNuAIcfhxLpHPv+r63g4TSvypfs2kSdqrIfQCf6U/R8L5ffoa3plIFnid8fAGNmq0xxU NRtjjMUVZkWka8Tu765/5IYXtK1eHpAxC9ZqJuEiFxps7NzpUbG6w4CMmQzaYNZuUUrx b32l7ZXLMWu0iGL9wLZBxExWQnN6r7Ni+U3wFdHaYAlxa4Zsvb+s9S2k0Cj2xgNwf4l2 yJQQ== 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=E8Swaqn5wmLzA+B5z+y1eF++AqbdfNNTDFe2kARF+H4=; fh=7mrb+jEz4ldW4HYDrM78dc1rA6GIHF/xkKOCEiigzvE=; b=nU/RNc9ZV2Rbm3u9i0OYHYfDW9aX/3JwWU5iXwLu13tPicDoy0KhnnpEjdR6pCgHhy ag3vka0pmc72ThNoh/3SIh+AYha4uO1boBtqOcSkyF+O9batQXSuVBTYJBraEYd2T/dQ 02D9LO1bIZAUzdYI9p9xqmnWNao4qsmG5+kpRphWuopDakGNvKZTFcJquuf7vNWC2vxH nwQfwNYLVGMR9Pd4p6W6oBEKttrOyFojtU4FBAYYaHIreAWoxizsjDI4HKi0GbpeazMv eUc7V2PStzXRup/rKq9bZCEh+XymtG9pxEB+p3cyHkeLMkDGHeJi038vn9k77bmIgxlM vSKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=P3hINweb; 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 l25-20020a170906a41900b0098896420108si1540171ejz.170.2023.07.20.21.13.53; Thu, 20 Jul 2023 21:14:17 -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=P3hINweb; 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 S229797AbjGUDxg (ORCPT + 99 others); Thu, 20 Jul 2023 23:53:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjGUDxd (ORCPT ); Thu, 20 Jul 2023 23:53:33 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7D751BC1 for ; Thu, 20 Jul 2023 20:53:31 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R6bJ82wBLzBRDtD for ; Fri, 21 Jul 2023 11:53:28 +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=1689911608; x=1692503609; bh=EV1nMV2DEsYn3s4L7x/locP5eq+ nsZH2TFRR4al9MOI=; b=P3hINwebdkVqLqRSRAURbCkxh+oG5TAgzlmV28pB8vx Ow99HynbMP32Ksri8TbAYYIacXwE2LQSETplBvAF+RdhIkJWxU4p8f7nL2LzLVCE svKWSjCoiQHug48PKTwSMDWTuxahbJhepMh37Dsyerjy+JO9xr8SaHkG1dXHNREv piGZJC9tOSVgszsGgxPII8wgH+vG92C2zRWzmJJ1b09MyokSzMZlBf9C53kucnBf YGmjV6hZ5Vlt1KZOx9GML11NDlb9GyhTwN5XnNscztrFRaNfELkhApXDZ+SWVZob HblGDIV/DgUKVvM5YZJlndmWBHeRiorF7uMOk5wTgBw== 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 uLn5vkOH2r_r for ; Fri, 21 Jul 2023 11:53:28 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R6bJ80fkQzBHXhJ; Fri, 21 Jul 2023 11:53:28 +0800 (CST) MIME-Version: 1.0 Date: Fri, 21 Jul 2023 11:53:28 +0800 From: sunran001@208suo.com To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd/pm: open brace '{' following struct go on the same line In-Reply-To: <20230721035225.4986-1-xujianghui@cdjrlc.com> References: <20230721035225.4986-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_dpm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h index ddc488251313..0cf564ea1ed8 100644 --- a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h +++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h @@ -429,10 +429,10 @@ int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_versio int amdgpu_dpm_handle_passthrough_sbr(struct amdgpu_device *adev, bool enable); int amdgpu_dpm_send_hbm_bad_pages_num(struct amdgpu_device *adev, uint32_t size); int amdgpu_dpm_send_hbm_bad_channel_flag(struct amdgpu_device *adev, uint32_t size); -int amdgpu_dpm_get_dpm_freq_range(struct amdgpu_device *adev,enum pp_clock_type type, - uint32_t *min,uint32_t *max); -int amdgpu_dpm_set_soft_freq_range(struct amdgpu_device *adev,enum pp_clock_type type, - uint32_t min,uint32_t max); +int amdgpu_dpm_get_dpm_freq_range(struct amdgpu_device *adev, enum pp_clock_type type, + uint32_t *min, uint32_t *max); +int amdgpu_dpm_set_soft_freq_range(struct amdgpu_device *adev, enum pp_clock_type type, + uint32_t min, uint32_t max); int amdgpu_dpm_write_watermarks_table(struct amdgpu_device *adev); int amdgpu_dpm_wait_for_event(struct amdgpu_device *adev, enum smu_event_type event, uint64_t event_arg);