Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp629430rwp; Wed, 12 Jul 2023 20:46:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlEiBHkLsFwKkF1uIOz7p1MW+MUpv3D4mgAB+fdKiyakprW3tWqNU6eEH9TBvZGw31bJIjb2 X-Received: by 2002:a17:906:341b:b0:992:a836:a194 with SMTP id c27-20020a170906341b00b00992a836a194mr175838ejb.59.1689219999377; Wed, 12 Jul 2023 20:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689219999; cv=none; d=google.com; s=arc-20160816; b=HVmkoQgRZid4c36WTrUBXrKiNC0ccuD+ErvTjdRzUHWSKrqnztlNbirXhvmKbCNzkX ANZI7yrsD+MNQBISna2N4jRPYv6Rru6YXUixE1fV7+2ClTTMkwnG5mgxHoebz43tKVQo /h/dLg+yl2bPxOFRqh1jYlX+dxffURXNYgMFX/t81WSoM+0tvgOxcYYxpGcEt1t5Sitp wPo/uHAkGdUp7IsocOjCdg708chZPLR/ix9TKvUFhe2sm9ETnVhn50OIJJb+9Cjq6BS+ jo+ncNBSrs7mOSmlB9/3fZTQK8mlvuD/+cYtSvsasBWvN2qb71NVNXLIFrnzCdbAqpE3 A9pg== 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=wS1JS/IilaUUgAWPfKQsAhwxv2ECa+u873/HcYUkgV0=; fh=IaLGSOtJLpX+17pj5xqjySag+byFz+Th3ktzFSNRxnQ=; b=vyM0k+/aFi/JG0+Hf20wko6q36bwplZTQDZqbN/m34gGRlOh4TQyxRMMVsVXksGxw8 nyV6ruCbvRMYj8iMUK1eJQgJAKdQN/EXBylTIgG53vvjQeYotLHfMbtMuzozmZ8z5/lV vQrTVg9Xj0c4QjsTy4hf+VaN/AzjsyFRziR1UeDUjaTTUG8aJ3e50cmu8+2PuucUNjCT rlwWYPiDjzK7jxPk6N9+uUB+XzfFs9U7VyY043Bfa1dv7xqYgAirwW5LV4+YavWLPmXT NbS9rM17jmzlMdulCqyMUOwzBEpSFZrn+XqmeA2DYhwzVDtIm8hWAjvYRNIb5VmKanZF UbOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=MagLv5jG; 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 w13-20020a17090652cd00b00965ec09592bsi7107915ejn.817.2023.07.12.20.46.15; Wed, 12 Jul 2023 20:46: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=neutral (bad version) header.i=@208.org header.s=dkim header.b=MagLv5jG; 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 S232130AbjGMDL0 (ORCPT + 99 others); Wed, 12 Jul 2023 23:11:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjGMDLY (ORCPT ); Wed, 12 Jul 2023 23:11:24 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EE5E1BD7 for ; Wed, 12 Jul 2023 20:11:23 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R1flC00rLzBJBXT for ; Thu, 13 Jul 2023 11:11:18 +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=1689217878; x=1691809879; bh=nwNP2MyNrAdRHJfIy7eTE9fTnt0 LobDKQvEr5pDGzFw=; b=MagLv5jGyfWJM+2hnpM9R496CqzC+uP2Kh+DrS8juMD F1Ojvzez/GjxgpHrDEXvEz1NqiLlCL0g3BPvNoUG9lunGylgGOyGih1gTN9j4f/u Pe7IRnoh+siAEPIh06I2luTcyrWab7zqLLKOIvtrxs9Qv7z8L8reHxf/Z6vgJnya znMio0V4Blrx+LzIfVQft3Nk/Ulx1MX2Z1fw22xRp9Ct9rw37bCBEXMuNWiuyDm4 4zmCLdDNhjaUXLVYhbIB4IrZRIvKBr+RiKetxNT2yFaB7+Jx30zRodxSAsvKA7Zt 8JpOShmh5rgGwGm9IMv7PinTY4SRx5sK0zEbpxh9S4g== 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 tYdzRxWltnoS for ; Thu, 13 Jul 2023 11:11:18 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R1flB4LZzzBHXgf; Thu, 13 Jul 2023 11:11:18 +0800 (CST) MIME-Version: 1.0 Date: Thu, 13 Jul 2023 11:11:18 +0800 From: liubin001@208suo.com To: airlied@gmail.com, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Fwd: [PATCH] drm/vmwgfx: "foo* const bar" should be "foo * const bar"\ that ope- n brace { should be on the previous line In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <7d2a5aba980cd6b7928c15e65fd94086@208suo.com> X-Sender: liubin001@208suo.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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_FAIL,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 -------- =E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6 -------- =E4=B8=BB=E9=A2=98: [PATCH] drm/vmwgfx: "foo* const bar" should be "foo * const bar"\=20 that ope- n brace { should be on the previous line =E6=97=A5=E6=9C=9F: 2023-07-13 10:44 =E5=8F=91=E4=BB=B6=E4=BA=BA: fujie <2459483872@qq.com> =E6=94=B6=E4=BB=B6=E4=BA=BA: liubin001@208suo.com =E6=8A=84=E9=80=81: fujie <2459483872@qq.com> (1)The standard format for declaring a pointer is to add a space bet- ween the type name and the * symbol, as well as between the * symbol and=20 the variable name. (2) that open brace { should be on the previous line Signed-off-by: fujie <2459483872@qq.com> --- drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c=20 b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c index 96504a320c2a..b56936f95d31 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c @@ -87,7 +87,7 @@ struct rpc_channel { #if IS_ENABLED(CONFIG_DRM_VMWGFX_MKSSTATS) /* Kernel mksGuestStats counter names and desciptions; same order as=20 enum mksstat_kern_stats_t */ -static const char* const mksstat_kern_name_desc[MKSSTAT_KERN_COUNT][2]=20 =3D { { "vmw_execbuf_ioctl", "vmw_execbuf_ioctl" }, { "vmw_cotable_resize", "vmw_cotable_resize" }, }; +static const char * const mksstat_kern_name_desc[MKSSTAT_KERN_COUNT][2]=20 =3D { { "vmw_execbuf_ioctl", "vmw_execbuf_ioctl" }, { "vmw_cotable_resize", "vmw_cotable_resize" }, };