Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35716660rwd; Mon, 10 Jul 2023 11:24:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlEPoBGo2C1Qhctm+WQCfgRVrP48Wi08YWvMl04PE51A8ceIrdePdB1fOy6dcmQML+6gSYoL X-Received: by 2002:a17:906:7046:b0:992:ba2c:2e0c with SMTP id r6-20020a170906704600b00992ba2c2e0cmr11386290ejj.36.1689013483615; Mon, 10 Jul 2023 11:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689013483; cv=none; d=google.com; s=arc-20160816; b=YZ+OsGuZtu0GIs7EDutydU6Xysz4C9Zipk38Zt73zIaKNWbTZuqZS6cttHxfg56TXa vGaZYjDLFOB/bHdv6P7UkYGhNM3G/A0v63pAPRI1QqtB5N1iWzSc+fLjLQkzzcx25jF8 m4L0FFvwoogIxHD79ztZfQrjjhmCKlvskLyAkyFKeu6+4LGDqzKagz5n9YJVEYmTQclW EDRYkILznyCCSStbsqy2HXTBu1KFw6ZusM7utKmptYlIS7B3P8s1xCQbtLukf96atTrk hjRtTpFk2N0Oy0cp/P+YemUW7axsIUSrhI4ky3nlqTdnjKdcud0FPoJTorEnrPfW6A1Z YZ0Q== 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=Mf12W3QMfs8wvFJMdqGBjbgKzWxSCEjVtEY7fJMchAc=; fh=xMl1srSOZ+k6FKiPfIHkrySJc5X18B4yOUAIM0Km2C4=; b=BZjH6Mdoiexl1MwagJteMeDEdMGwVsMCdH9rZfbHopkFqIjLne6kIYoSNL7A3ZoTfC vaz1HyLX2n9zKmp79UWwZTdylwcCNXHgg5k8D2G3WCMXz3Ski6y6vIn8a7dh7trqPdnZ BkVvMZCMkhc9HUuROAECwO/GxQTvUnx0e4laam8JzoMSgGHpGYo4/OEfo+N1OPSll9ej aNcAKk2nm8ooka6SSOaKUHj6mx/JOyweQTBVxOwiSFvaJkgTtbHCc74I6TkwAAhlVdHW kEjev5vAolFDQ53zItK7M6CPR1hcj7Z4XAFmtO1S+nwE3a72ywVTjDiv/udD0V/RfxgF E3Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=chZ3x25f; 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 gh23-20020a170906e09700b00992b75d594csi169553ejb.317.2023.07.10.11.24.18; Mon, 10 Jul 2023 11:24:43 -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=chZ3x25f; 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 S231690AbjGJRTr (ORCPT + 99 others); Mon, 10 Jul 2023 13:19:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229756AbjGJRTq (ORCPT ); Mon, 10 Jul 2023 13:19:46 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B041D128 for ; Mon, 10 Jul 2023 10:19:45 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3a3b7fafd61so3896450b6e.2 for ; Mon, 10 Jul 2023 10:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689009585; x=1691601585; 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=Mf12W3QMfs8wvFJMdqGBjbgKzWxSCEjVtEY7fJMchAc=; b=chZ3x25f3s+60NDSQ0WbJLU67n5riu5akD7uta1MmfBjYnD3qhkRXaV0MzbYTUHLy6 nd6s8ypIqSXuEYguSk2epTD+HY2nKcsH7+8Nq6ARy29Ake00XMOMiU8bW9kHSku0ijGh gWM+0qwflHgKVV77vvm5DnHzKuRVTLTfhMjVZ8aKiQT50Vx642VdCB28Ur2c5vLwx6bo 41efc6E5X4IrXzuf36jSg4msj9szH4161XIK/ogVfkjONxSm5zR7Ks0lIapYZJ3SIqHD vzmA8RNS1vU0U1nqSiaRG04Gn2Rvc24Q9I1r3R4/JoGa26zj0kMmrrzETon7cZIZioLX PD7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689009585; x=1691601585; 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=Mf12W3QMfs8wvFJMdqGBjbgKzWxSCEjVtEY7fJMchAc=; b=HJfD+XNK4kecefBGLBehdVmzcMZ1ktjr7+m6eM7d9p0GK+rXqErL1MgRINqS1bXJ+9 rkn8brD6UH94Enj4JThsB0Qc4PDOyrtTrv3tU7YFqzFhDZjAIyKcx8SUIcXTNuP3eKWR bwTONp4A8PHuwyX0hzAyQV6FbgxcveBk1BXTQTnBgZ8ne1kYmwtnA8lqkDc8u2SqoyO5 50JVdoFtUfAT4A4B31m14sVtVy0x5qYpMNFHsF9gh8k3+014kDPxZ2Ffn9T5oAHnD4Er Pmcgcx7nY+eB1EiVLy7tI5WSeW2j75k2KRfrtk3UmNubjgGX3QW/+rLSgdgrAnw+ZTt6 qR4Q== X-Gm-Message-State: ABy/qLbkmoINI2GGF4tJS1FYiBomZjvpfJxLmTb+f6YcDS6SJmmUol2+ h7F9pNle8eotiSSJ6Irtkwt49/2S41JmLfuwcNivrA8V X-Received: by 2002:a05:6808:2216:b0:3a3:72ef:5959 with SMTP id bd22-20020a056808221600b003a372ef5959mr16680965oib.53.1689009585008; Mon, 10 Jul 2023 10:19:45 -0700 (PDT) MIME-Version: 1.0 References: <20230710073659.54188-1-xujianghui@cdjrlc.com> <656c6d33a676c141ea35fadb519ccfbc@208suo.com> In-Reply-To: <656c6d33a676c141ea35fadb519ccfbc@208suo.com> From: Alex Deucher Date: Mon, 10 Jul 2023 13:19:33 -0400 Message-ID: Subject: Re: [PATCH] drm/radeon: ERROR: "foo * bar" should be "foo *bar" To: sunran001@208suo.com Cc: 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,T_SCC_BODY_TEXT_LINE 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 Mon, Jul 10, 2023 at 3:38=E2=80=AFAM wrote: > > Fix nine occurrences of the checkpatch.pl error: > ERROR: "foo * bar" should be "foo *bar" > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/radeon/atom.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/atom.c > b/drivers/gpu/drm/radeon/atom.c > index c1bbfbe28bda..11a1940bb26d 100644 > --- a/drivers/gpu/drm/radeon/atom.c > +++ b/drivers/gpu/drm/radeon/atom.c > @@ -1156,7 +1156,7 @@ static struct { > atom_op_shr, ATOM_ARG_MC}, { > atom_op_debug, 0},}; > > -static int atom_execute_table_locked(struct atom_context *ctx, int > index, uint32_t * params) > +static int atom_execute_table_locked(struct atom_context *ctx, int > index, uint32_t *params) > { > int base =3D CU16(ctx->cmd_table + 4 + 2 * index); > int len, ws, ps, ptr; > @@ -1216,7 +1216,7 @@ static int atom_execute_table_locked(struct > atom_context *ctx, int index, uint32 > return ret; > } > > -int atom_execute_table_scratch_unlocked(struct atom_context *ctx, int > index, uint32_t * params) > +int atom_execute_table_scratch_unlocked(struct atom_context *ctx, int > index, uint32_t *params) > { > int r; > > @@ -1237,7 +1237,7 @@ int atom_execute_table_scratch_unlocked(struct > atom_context *ctx, int index, uin > return r; > } > > -int atom_execute_table(struct atom_context *ctx, int index, uint32_t * > params) > +int atom_execute_table(struct atom_context *ctx, int index, uint32_t > *params) > { > int r; > mutex_lock(&ctx->scratch_mutex); > @@ -1359,8 +1359,8 @@ void atom_destroy(struct atom_context *ctx) > } > > bool atom_parse_data_header(struct atom_context *ctx, int index, > - uint16_t * size, uint8_t * frev, uint8_t * crev, > - uint16_t * data_start) > + uint16_t *size, uint8_t *frev, uint8_t *crev, > + uint16_t *data_start) > { > int offset =3D index * 2 + 4; > int idx =3D CU16(ctx->data_table + offset); > @@ -1379,8 +1379,8 @@ bool atom_parse_data_header(struct atom_context > *ctx, int index, > return true; > } > > -bool atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t > * frev, > - uint8_t * crev) > +bool atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t > *frev, > + uint8_t *crev) > { > int offset =3D index * 2 + 4; > int idx =3D CU16(ctx->cmd_table + offset);