Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp630957rwp; Wed, 12 Jul 2023 20:49:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlEnOmOyO4r67mbceWpVgcIuzf6aNMPhHQ+OZUYpnjGXXuuie32VvSkMXPZys2Qqc10wanwo X-Received: by 2002:a17:906:8052:b0:994:2fa9:7444 with SMTP id x18-20020a170906805200b009942fa97444mr190202ejw.42.1689220170781; Wed, 12 Jul 2023 20:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689220170; cv=none; d=google.com; s=arc-20160816; b=WwnqBpbF4fFCvo3vWj1d1DS6D0EFZUgnvm5++5LpNg11I1Y2pdgvxAZm6+rdEav44I oADCnZsasT9yopbc6PaG8WwqYCEfPqvXUHgcPEQtc8OSNBMOr3Nvg7MmfT73myJIEAwR SSYWbaVtbPVcprHmtYeCQaafxsA8E0IUtOH11QSoR+SnjhrMsYkDFGLfHJtJah/mHvJf l0iHW5YnXEFIHjlS7R8FBjW7z4v5hzUh9UtIgBPoZvoqQBJ6Uv1NgVtp3NM5nf1sBgtI dNVoclVSPALZOpxoiMVTL4/QcUZOw6N6T1GHaLDHO9W+n3QoM2A1RSClQhu1DI7IGF1W e1Zw== 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=DU2teMJeAtYoZTySbFrhkMWARiHqZrnjfHkduY6a4ug=; fh=uHqVlQ6nZdI9tWp58fk8vPBcxHjBvnpEumlizs533WE=; b=kHOYDxSg/tBX+3O+7Um00uyWkPkZYbr/KoGOKdgEBIpuYtxVjH004I764G8UvHpoQq puNUtmQYo2KQYkeXIruFhZQcyK+PwYiy3vKduMsz5NfglduJgEOxsEI0qfpj1oYchh2w DU/DRlDEsgBowSJhSgaNKIG0+X3kLSnd+/+Z5wRQiTTNRx60wcdgz9j13sP689EijEEa AFRoUANje7NAShek7ZKliiyi6OZQnzasVPe28p4ozOBGlv2kDCrm0p91zCrtvNGfMUNd f52QWIPtPaspUfcnFnxY0QzT7t19UnyuANtZKPwrgZpiR4RxVoEsk+kvi8wcL5FtV/YK 1+/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b="YS4/1Jgu"; 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 bs3-20020a170906d1c300b00982c6df10a0si7567082ejb.815.2023.07.12.20.49.07; Wed, 12 Jul 2023 20:49:30 -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="YS4/1Jgu"; 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 S233494AbjGMDTe (ORCPT + 99 others); Wed, 12 Jul 2023 23:19:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231592AbjGMDTb (ORCPT ); Wed, 12 Jul 2023 23:19:31 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF3D01BDC for ; Wed, 12 Jul 2023 20:19:30 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R1fwb4djtzBJDj9 for ; Thu, 13 Jul 2023 11:19:27 +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=1689218367; x=1691810368; bh=vy2hpwLqIbN4V8wU9/R2s/5gk++ 9S9+eXX9ZvB2DiBg=; b=YS4/1JguloWnSI8OkPM3qQfVn8zPppzD/yeTa6OjUHv 2+lRAGhqbZUsFGq0Ac4rD6FEtkIM2iEHMt5BTXG7tybt9nNDdmYfyFjpumIZj/GL bkRGb07OUUKg43X5BlTUyYqNiNS/PTxP5aC3KJfxVo5yCwnLrK/5mgAUhzRsnSiK 7huQyvSbZqfg217JRVCo8aIZ5Bs+Q9dCVnJflrEuDlgYYKJbLwUIhwTTTT2wgVJ4 zaPgbiLZkjOxQGIeL9W8UuJVLnkRIAIxvRG5x1qLMbwvt2tT6CREkYp1nmmh0/UB r+uDOq3apugkN9AG35Az2G1Hgd/H3MCJwjyXlYllRag== 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 nwhqA0GPuJG3 for ; Thu, 13 Jul 2023 11:19:27 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R1fwb2pylzBHXgq; Thu, 13 Jul 2023 11:19:27 +0800 (CST) MIME-Version: 1.0 Date: Thu, 13 Jul 2023 11:19:27 +0800 From: liubin001@208suo.com To: airlied@gmail.com, daniel@ffwll.ch Cc: linux-kernel@vger.kernel.org Subject: [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: <2caf90d074a9a685cfcc0ebdfedf2caa@208suo.com> X-Sender: liubin001@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,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 (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 the variable name. (2) that open brace { should be on the previous line Signed-off-by: Bin Liu --- 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 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 enum mksstat_kern_stats_t */ -static const char* const mksstat_kern_name_desc[MKSSTAT_KERN_COUNT][2] = { { "vmw_execbuf_ioctl", "vmw_execbuf_ioctl" }, { "vmw_cotable_resize", "vmw_cotable_resize" }, }; +static const char * const mksstat_kern_name_desc[MKSSTAT_KERN_COUNT][2] = { { "vmw_execbuf_ioctl", "vmw_execbuf_ioctl" }, { "vmw_cotable_resize", "vmw_cotable_resize" }, };