From patchwork Thu Sep 28 02:48:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KaiLong Wang X-Patchwork-Id: 145709 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3034388vqu; Wed, 27 Sep 2023 19:51:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHs3DpfmSslSTGZni4jg/JAzwKE6QjDjjaNOcWfTvmpRqidlhqoxZjN1YfxqQSuIZktEvcv X-Received: by 2002:a05:6a20:9188:b0:13a:e955:d958 with SMTP id v8-20020a056a20918800b0013ae955d958mr14862pzd.7.1695869478103; Wed, 27 Sep 2023 19:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695869478; cv=none; d=google.com; s=arc-20160816; b=miEWvVbJYU+z9RAii8XQ8D9GK8Y5Im6pziGgXtPklkxvyMNgdMr4TiA3emkiAydg7i 3bLxQiFXAWxKRmEAXeqC+A2V+Z8rRW77aejcV2rN2MVhOqPXJglC7gwZsMrICp3fu6jR kKxuwnMVLSUN37K6hH9nfY/lLWwKau8SxZd58l2HMufjfR+xxo16mDZUHZULB6BxYXvr 1voUPnruxNolsEYI/Ff3QgQvPsgZO2qNJWMlMpE7JeJrv+F4revJ3gqsQRFznUS+L0lr G31RkXg91kkTFIXPx6RyxZRenyGA2AK982/jGru9VayiDax2u8F/XbrLmoM2VeK3/L8H iN5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=eJAmFFPdLf+VzII9O19vDveW5sDvobWin/dkZ89Kggs=; fh=1n1e0LjB/qYCm/YiVpu0MPnnpr7iNUVCO326aLqpFHk=; b=ywR9sI1QzwbEYOZOp2Q2JvbmHt8MqZ7LL++GZzfElB7uqOWrxoYHg7dbdPVdD5IL6H d8IsJWrfaIsA0Qj0U5qU1J5qM0mqZfFYtkPWAyahu7SpzUN4JiHpXHa6TeIvVQR1zJU+ f4lCJHVcv6aUAdDUwkm7+dm0AhejBtGdQ4er/Jv1pNSEGHI4TypW5X+03VO5qwSCyAOq ARELHFovCH4p44LAwuQB82rAu4Qeo+zL0xCe96gQOY4/x0aLJnfn+FjD5N86qOd8VgKA XGvyuTe9oPA90pxOHuOlDhMbvQGp2VnX3CT24QbSRMZkJNcwTizzKRr8oy24lqbvYKvY XouA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e15-20020a17090301cf00b001bc836180dcsi18707818plh.520.2023.09.27.19.51.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 19:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 75BAE80A1878; Wed, 27 Sep 2023 19:49:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229863AbjI1Ctt (ORCPT + 20 others); Wed, 27 Sep 2023 22:49:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1Cts (ORCPT ); Wed, 27 Sep 2023 22:49:48 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0BEA794; Wed, 27 Sep 2023 19:49:44 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 10:48:22 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 10:48:22 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: chuck.lever@oracle.com, jlayton@kernel.org, kolga@netapp.com, neilb@suse.de, Dai.Ngo@oracle.com, tom@talpey.com Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] NFSD: Clean up errors in xdr.h X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn MIME-Version: 1.0 Message-ID: <1d65e344.8a6.18ad9aff80a.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDHZD926RRlgX6+AA--.635W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAJB2T8PZMAAQAssU X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_PBL,RDNS_NONE,T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 19:49:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778248034111346045 X-GMAIL-MSGID: 1778248034111346045 Fix the following errors reported by checkpatch: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: KaiLong Wang --- fs/nfsd/xdr.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/nfsd/xdr.h b/fs/nfsd/xdr.h index 852f71580bd0..e2797eb2668d 100644 --- a/fs/nfsd/xdr.h +++ b/fs/nfsd/xdr.h @@ -19,7 +19,7 @@ struct nfsd_sattrargs { struct nfsd_diropargs { struct svc_fh fh; - char * name; + char *name; unsigned int len; }; @@ -38,32 +38,32 @@ struct nfsd_writeargs { struct nfsd_createargs { struct svc_fh fh; - char * name; + char *name; unsigned int len; struct iattr attrs; }; struct nfsd_renameargs { struct svc_fh ffh; - char * fname; + char *fname; unsigned int flen; struct svc_fh tfh; - char * tname; + char *tname; unsigned int tlen; }; struct nfsd_linkargs { struct svc_fh ffh; struct svc_fh tfh; - char * tname; + char *tname; unsigned int tlen; }; struct nfsd_symlinkargs { struct svc_fh ffh; - char * fname; + char *fname; unsigned int flen; - char * tname; + char *tname; unsigned int tlen; struct iattr attrs; struct kvec first;