Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2871811rwo; Mon, 24 Jul 2023 02:36:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlFXjjyRC+NKGkm6Upo9iGNLwIwvz/3RuIEGfAKxBSnwh8vs8YzcP8Cn5/tjylEbXVS25ZhA X-Received: by 2002:a05:6830:46:b0:6b9:c5b5:6a96 with SMTP id d6-20020a056830004600b006b9c5b56a96mr5264119otp.6.1690191383379; Mon, 24 Jul 2023 02:36:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690191383; cv=none; d=google.com; s=arc-20160816; b=D/RrhMn5FHirwZxyr34Lr8ObZ//qsQDIz5j5+pbkK9Ube1qE+bqxo5hRI6RqWCbOKK Ql/A5/jN7MB7LoEe1r6huREx4UAW0iK8r6oP8HW6kyd00KHpRMahdBen4133MJf0Y/3R tF3+SdEeiyENxwX5m5wAwgVWHbGiPa1iiZPBfwbiaqBuQcwfqO6DbuVrcDsrOsnAjYHF oHs9YEce0zwbcXKHAAj/1xoi87j6Uzuzw8DJlGcSuqQEWmdsaiT9LYIvNl2/wRjKhVi5 /0pqI09vijY9KvzHdGbILihJI20fOjiHjSBgkzjKD2Flkg+dkLIhoVZqxdD/GpHog5ra sFbw== 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=lF6m1UqRIt41cf5FU/778e4C8f1vJ0j8pDfNEZIKtGl7IxSbDItha7oZOMM4Huzy4S t1c0vX+6gx20ZMh1JaDGafbeKQTMndNoUvWhEQF/FhtvA2suyozcBaeAygeLCffgQNKo zJCE/N0HcaUxw/tJTBEZ/npNRL5NU7qItAg7eYLZC57nKY+Jpf+MGmNcA6qFrhbDSim6 WSmGXSx5VxdiBOmXamZXAJ1Rq/CwwjPJRsUqJ11K/J3SdVARxijMJfLNmEgEXNQJkv8z OFjKSEOAbtJiyDzH6mlBgpULHEpLi9gxf2PcTHSGx6e51JRxOdHVsJkBx9s5KWmAX2pA jhRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@208.org header.s=dkim header.b=LOuLu5N3; 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 i4-20020a633c44000000b00563ab5598f1si2360070pgn.307.2023.07.24.02.36.10; Mon, 24 Jul 2023 02:36:23 -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=LOuLu5N3; 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 S230286AbjGXIpE (ORCPT + 99 others); Mon, 24 Jul 2023 04:45:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231857AbjGXIow (ORCPT ); Mon, 24 Jul 2023 04:44:52 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70E69184 for ; Mon, 24 Jul 2023 01:44:32 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R8Yc25Bq7zBRx5N for ; Mon, 24 Jul 2023 16:44:02 +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=1690188242; x=1692780243; bh=GSjQh+24fDmg268C3FAmWe759o+ e7JqjQBA0Ouu1xsQ=; b=LOuLu5N3qJAUG+I53obzAL1Noiw+URzi25qlxflJmnM xwlZwQp4s13ZM5OGa+A1C5SWe0hG7pqJ9r/3gEgBsvtMkjFJtjiB2e46RoVNChTw GyHyria8Xz/yYLYExUiDzvw8TFt2lT9miSDretauoyUdJsV2fcdpaDKQIg1beqhv v9CFV8pwzsW2F0d5QCeTiBgtkbtzOz6lyjnh/a4zTu/OM070b8Ok6tLCdf0J9R0W WUrojCGYlhSSmPgyXhWWOEIKNg5RZRF4FmFXy7hmFEv2SCiUuIryheAznOE5dCWS io2+XHCDyy+vnQG8w4NP+CFx0kSbMBACfxvcW9OGezQ== 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 RhTae7fa2xP3 for ; Mon, 24 Jul 2023 16:44:02 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R8Yc23Y15zB7Bvn; Mon, 24 Jul 2023 16:44:02 +0800 (CST) MIME-Version: 1.0 Date: Mon, 24 Jul 2023 16:44:02 +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: 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); }