Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3221174rwb; Mon, 7 Aug 2023 09:57:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEnZr3VeSMguubLEHUJNjAWm3W9MvSEoCDVh2sJYKTS1FgWOvnbPpDxluviqg1p5C/Oopny X-Received: by 2002:a17:903:248:b0:1bb:7b0a:374 with SMTP id j8-20020a170903024800b001bb7b0a0374mr9095566plh.4.1691427479262; Mon, 07 Aug 2023 09:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691427479; cv=none; d=google.com; s=arc-20160816; b=E1KNZc7HtoPo1gKArL1UChGnUqlC+KzlbEcDE70svKHiSZQ9zBBOVNkWWEclgT/vGW GghGojLU4R/IW44KIleY5DaqMKmIRr+Pfj2/xMcvqhiBTOwx9mF7ZkmJZIEdkANXSBuo E3FjG72qNGFtXU/FWQrbxlI9wY4Ef6wdro9jhI/1h+wNKBbhEu323jzavGa7eEnkHdGF LvRsDAHVAXGEBtrBoYGqkptyafi5Pju0uI4v14lWnyGzoe18qLHUacTtr/Sqq4Prohaw q+dJD7k4SjgPEvS3X8vW7pZRcf4FmSa9P6uFNG7VbeCjJ/Pym5YeBR+lHO4mKwaf2Hss jIjA== 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=DqtZMNFkHtE7NtetbFmM02AlfhGVT1s/OA7WGoZWJgw=; fh=t+hei0m6FWvWE3h8ROlSj5pw/xTY3yBXufxuldTsP1A=; b=igGZE1M+66FW23+GfBU4Ev8Yi+ki8tFY+MTtVeySai4JD41FnW40Pn+bjPwOJNADVd Q+VTTxMfXhfIZHOPTb8P46rbZ2qSU1ErWQCNLo32qWOryFaIhiDpJFV9goejCLgJjiXa eGsMmTqT9k/EUfrirFY54EW5/EW3MxjJ5kgBqkq72NwYKLuo/vGdhxZmZJKDwTElmrex FAau6BZXscPPC1jQdoEcrNOf3pV0EZBOMtDP8JXCZV33FUsTmyLZw2plrBzFQjIOHTEf OWU8EX48rYE+WnkfdwPjcYUZCcw+xqVLYKZGa4IDnugCQn/B5T2BzXF2Yn2rNIq6rqYq a1+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=O1FdvLNo; 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 x6-20020a170902a38600b001b9d5f07068si5845767pla.585.2023.08.07.09.57.47; Mon, 07 Aug 2023 09:57:59 -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=O1FdvLNo; 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 S229654AbjHGQf4 (ORCPT + 99 others); Mon, 7 Aug 2023 12:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231226AbjHGQfy (ORCPT ); Mon, 7 Aug 2023 12:35:54 -0400 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 586031BCB for ; Mon, 7 Aug 2023 09:35:33 -0700 (PDT) Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-6bca5d6dcedso4048811a34.1 for ; Mon, 07 Aug 2023 09:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691426131; x=1692030931; 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=DqtZMNFkHtE7NtetbFmM02AlfhGVT1s/OA7WGoZWJgw=; b=O1FdvLNo2u7VnDpYvsN6GXkWaNuvA32nyCOocicZIPzzPZRMOxyL277vOMBmL5x4Gl KhUfU93Yhb5e2he+cOSbqICKKNtdT6+oIq62WjFjw7v5wD4jS+JQ6m73KWbmT+JY1lAu GPaLtWWeG/1GW1PuhLgrTGR+ICKWqHmKUl5OYv3mI6+Tu+InSpweqGoe5XfwNbD3OW6o OtE7d5PWwTaIVSOiBPKSON4Yj8nbFH5wsEvrMLpKXdAl+jxSYJbhzA+QMf4rVLDjgwo9 oE12Dorsx7+vIOscd4oEkB9OfA52u3Sv5VTqvj4kB655SjgQoieEfaO/QaOemmhqdQyE 0QwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691426131; x=1692030931; 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=DqtZMNFkHtE7NtetbFmM02AlfhGVT1s/OA7WGoZWJgw=; b=N2OMjr2yeqXLVrWzaF9a7FvvH5MsoVoyjAfPQg+cDY4joYOpZofvNcKpRwLSWVnOQC npit7Jcf8/DEQk1tYvNjFn0lNrUODCEXysHz/Fzx0kjgm0m4P8qE8mabGAIdwBkhTvGN XHMIFEEqrtsOK7FN5kw8CpeqnA2MB7zpkLuOcWipvvZnZF44ea+clp9SThwO0rDGYsn+ 9h+lFCLJZLE128tFNzVpXZBIjgR2psYY3ObZ0OkxjG2tuKb7xaKXKuRnLJ+aff0sIWbr 746Byk+YAJM4Scli9kliyHezs4cZ4wqMEgHYTKB4PrctwXr8Dic8h+yio7K+HVcTxVXW 4QtA== X-Gm-Message-State: AOJu0YzjHr1AihbC5jDv8WJygYQyUEX+16n8zfZmIOESbsDG4ZyVFGy8 bnWCC7HtrlzfBGdjciJ9EzA/xfVWe3DmjE0VdLU= X-Received: by 2002:a05:6870:e74a:b0:1be:ccce:7991 with SMTP id t10-20020a056870e74a00b001beccce7991mr11787641oak.13.1691426130867; Mon, 07 Aug 2023 09:35:30 -0700 (PDT) MIME-Version: 1.0 References: <20230801075507.6377-1-sunran001@208suo.com> In-Reply-To: <20230801075507.6377-1-sunran001@208suo.com> From: Alex Deucher Date: Mon, 7 Aug 2023 12:35:19 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: Clean up errors in common_baco.c 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_BLOCKED,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 3:55=E2=80=AFAM Ran Sun wrote= : > > Fix the following errors reported by checkpatch: > > ERROR: code indent should use tabs where possible > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c b/drive= rs/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c > index 1c73776bd606..fd79337a3536 100644 > --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c > +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/common_baco.c > @@ -42,7 +42,7 @@ static bool baco_wait_register(struct pp_hwmgr *hwmgr, = u32 reg, u32 mask, u32 va > } > > static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 re= g, u32 mask, > - u32 shift, u32 value, u32 timeout) > + u32 shift, u32 value, u32 timeout) > { > struct amdgpu_device *adev =3D (struct amdgpu_device *)(hwmgr->ad= ev); > u32 data; > -- > 2.17.1 >