Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2812668rwo; Mon, 24 Jul 2023 01:23:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlHvatWFTkczBKaJ3yYdBU627fKNrK18Os93StA0lw0714PUKoC1sAEHkp7plHRkc83jGCK0 X-Received: by 2002:a05:6a00:acb:b0:671:4b06:4ea7 with SMTP id c11-20020a056a000acb00b006714b064ea7mr6892386pfl.15.1690187019861; Mon, 24 Jul 2023 01:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690187019; cv=none; d=google.com; s=arc-20160816; b=UdDSeS2/jO+M4MEk+Q7oOmoegVfrK0WpWeYJO5/m2YusnlWdPKG0AzQmnrv+0B2IRY 6h3fJMZ69tOcI78WAc/9LFbVwIqhlnlOgeHFkQpNnkUn3XaeQoPLKMplIOvtx8sosEWN KsAcLwHYTdqYqM2uqx2sgQKFTd3TzB27NKR+6PX1y/ikiXkOswkg5IFiBzVF+mF0LsKy hBz7UKlTrxGgVrNbbvo/I/ZcPOHJO9XkvqfZHTfxFAvULD5F/oRMhKHzy6dhtKPYpMRu ZFCGFpsYUUmpZsgRlc082haY1sVYhRy0wqWUk/G2T9Sv0RBFhe0T+G/SqU2DTYanBYDf LY+w== 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=Hy6RkJdLLSeexgeD9okDhGan9u7Uzr9aJ97ex8SQ48Q=; fh=7mrb+jEz4ldW4HYDrM78dc1rA6GIHF/xkKOCEiigzvE=; b=lKWtf5eqXDLz4MlkrACZU4NhzInGryxflpEUXe7mqqkUms0kuPwPzZNFVRRP8iJelJ xHzJJvz4jqkkMC2K6Vocbg93TVW60qYKQ/cZIg0RvmZ1t3hgiGF9kB3ewBgi9Fvd6N9P 9anAS7aebJOGXUUJITMou003nLwHIIeIeVOheatE29BitvVaw6T5wCFOcqU07sogoRHo q0Y6LPmW597EKIkMHat0TF/MnhwzjR828ICzrsiyDdUcNdmixbOYbW5ch9TRmugSv3n5 nBjuRfY5gnuA4AqhbDIf+xyUR3qiqvOveGj7eeoFw4DbXMhsQy/g6uSNxCOxPkBT91kF dH+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=nY50u1mi; 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 u15-20020a056a00158f00b006862f5ac976si8990275pfk.379.2023.07.24.01.23.27; Mon, 24 Jul 2023 01:23:39 -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=nY50u1mi; 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 S230253AbjGXHMd (ORCPT + 99 others); Mon, 24 Jul 2023 03:12:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjGXHMb (ORCPT ); Mon, 24 Jul 2023 03:12:31 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D15D184 for ; Mon, 24 Jul 2023 00:12:18 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R8WZ620rQzBRx4f for ; Mon, 24 Jul 2023 15:12:14 +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=1690182734; x=1692774735; bh=GSjQh+24fDmg268C3FAmWe759o+ e7JqjQBA0Ouu1xsQ=; b=nY50u1mioKgn6dyttJAUVTwcgoytrZJy3qN3w+Tc1cM DtRZIQvlXBRwDNxRlnIbtIE+jbS/QwSXqGQt5LYWM0L1AjS9Qt4juLLugXgcHSE9 Wk37DJ1l+i3P/PEiYAf3k62Z1Kl4ibHmr6Q5Yv3DrGXmFMJYVl6o2ivUC+8rpQ7o aI+Lv3087KJzoakgW/VCdiHQ3yAOKlZdaeO07OBRAzAOubHLolK4dYsiFB+KnfdM 8MrcjL7KBdTmtoZnaVuAozJvpsnlmmeTs2kwR7u7yx24WvFnMhKw8rENdOmup/ne ZX36iP8GvEcAWo4p4h7OH3k/0V/XWx8zPEaA6dOMtqw== 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 GK5w1yVQfm8t for ; Mon, 24 Jul 2023 15:12:14 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R8WZ56rwWzBL0sr; Mon, 24 Jul 2023 15:12:13 +0800 (CST) MIME-Version: 1.0 Date: Mon, 24 Jul 2023 15:12:13 +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 function definitions go on the next line In-Reply-To: <20230724071121.8710-1-xujianghui@cdjrlc.com> References: <20230724071121.8710-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,RDNS_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 function definitions go on the next line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c b/drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c index c788aa7a99a9..5e408a195860 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c @@ -205,7 +205,8 @@ int smu_v12_0_set_default_dpm_tables(struct smu_context *smu) return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); } -int smu_v12_0_mode2_reset(struct smu_context *smu){ +int smu_v12_0_mode2_reset(struct smu_context *smu) +{ return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GfxDeviceDriverReset, SMU_RESET_MODE_2, NULL); }