Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8951015rwp; Wed, 19 Jul 2023 19:07:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlES+KpeZk9qV1zwOfP8jRMj0WZBU38VOZFG6kBdsX88SlwoKL1MKpZZ6mBC+pTj7zQZG73h X-Received: by 2002:a05:6e02:188d:b0:346:2ad9:fe77 with SMTP id o13-20020a056e02188d00b003462ad9fe77mr937480ilu.23.1689818821938; Wed, 19 Jul 2023 19:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689818821; cv=none; d=google.com; s=arc-20160816; b=ThsUbBQLtxKhijRYL3XF2dhuQdlYevaQVHjbF/Z1U4u3TWRoq9ytDGT252J7rd9By6 I3fzaQyWeApcfFeoN69G/LUiUQ/AEqr2Pj1LTNLWb+V7W7UYKFickhxQW0NuOd4Ns98x h1ZqLaYu+lhjNa2eehqfqtdR0vjEUOkYaJ3+y3OgiXCajqA+oFDqI0PZtHxNer1+/ARf m3uj/MFNld/wyIS2fAzm+BmRpw90HElqBkPyBY7JUM5qzGp0/0m8b/gJ4rnseHAI2n2l GImFWArEk9HNA1F3vvkOYYmq8yKV+q3Bzk/CPsUimSpNDeWiI50qUJuAN9BpUWQEptkZ menA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aqhqXOvnlSHG620dXl7PNKzQR1gdWAKECIiVIx/Zy2E=; fh=NDofoTBAcEH4KdzoFZgclNAeF8F3kcxo5J+Pkr1q1kQ=; b=PwdZWcZ4hy2GPksQiw7KWMW8G7kQjeCBu7YMFWA0ie0Bna0VOilIVzybuASnB8gXqy Te5D/VeLFPimGymambB+6w0aCh+l0LI+yso79CrArhDlsYmjNb3n+EQbP6OSTJaBuIT7 sycw4p3+tcyaTaOwo+RTu1bP55zK07C4/f7mq7BU3OFa8ddCC3SgdwXPW6BdwcVA5QIs 8Uoenm6ERWTdQGTEkfCqqQPs8wAnjQsryF8/jHf3ULT2hVKw29FmetnN6gQ0ceInwU7N o46nIhbs+ka9OVPnj3YzWN0doJ0thtke3JnWyyb8s4tbSvlw0XCQdc12zlrv05sju8Rr GBKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OCac8xIx; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lo5-20020a170903434500b001b886cab00fsi4418871plb.247.2023.07.19.19.06.48; Wed, 19 Jul 2023 19:07:01 -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=@redhat.com header.s=mimecast20190719 header.b=OCac8xIx; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229899AbjGTBhT (ORCPT + 99 others); Wed, 19 Jul 2023 21:37:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjGTBhS (ORCPT ); Wed, 19 Jul 2023 21:37:18 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B85571FF3 for ; Wed, 19 Jul 2023 18:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689816990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aqhqXOvnlSHG620dXl7PNKzQR1gdWAKECIiVIx/Zy2E=; b=OCac8xIx8x7OovxD6n6WYnYaLll+BLqZSz/D5ZWi4E5MM2vJTFZddC2iSPbCSDG8brBgjr uY6gvurmjqJcTB4hY3mCYP0b9dDQgrcCJgbxAYNDX4ssYYcih2Aw+LVsNoLN3BQ5TzP+ej H7BlJIg0Qy0ShJ0eT+TiUqi2C87Gm4g= Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-497-RxBLp1bXMQ-hsCJjTgfhvw-1; Wed, 19 Jul 2023 21:36:29 -0400 X-MC-Unique: RxBLp1bXMQ-hsCJjTgfhvw-1 Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-55c964d031aso183063a12.1 for ; Wed, 19 Jul 2023 18:36:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689816988; x=1690421788; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aqhqXOvnlSHG620dXl7PNKzQR1gdWAKECIiVIx/Zy2E=; b=AH4gaUSTkVTE9iwNNN8xJofQ5UK8T83EXYfszCS4zDi3cj8c/3+YRRiAyhKyIRrRdy XtTtFzW10C0+7YCU5HsvM0qj0xEIM81EsUrfbd33EFDKUNcQdUjwRaZnEEGs9Nny+zXo Idc7MYqfxzW01eH3Xss292/QY9d7AViE0KaYQa6yCieHuDSm+tMpOnsJFUgpNnfyOirO Q9X0DaBlssxgPzOUA2qp5afRssMGzi58q5MK+4Q/TaKAvbwmiTvaNg81iF59hVf+4OMB AdKAsBH/lqsquRv3W82SnAaD0Te/XGuDqihKTiX99gKIxdL8NJGy6y7pGednNpsmzH+4 TGIA== X-Gm-Message-State: ABy/qLZDfuNOVNzhApr5fk/I+pJenS5ob+/ipYVyAXjxTxCo2k+U8bg8 iAXru7zHUlNRdx0Cr0MRHCRfWsMXeEhuihVU3TsIrxwZyjvuXgFnWa3OuZZuMNrADj1OM+h/fxg bKPWSwFE+auxLL7oQvxlhqIuO X-Received: by 2002:a05:6a20:8c19:b0:135:32b1:b03d with SMTP id j25-20020a056a208c1900b0013532b1b03dmr1081930pzh.42.1689816988408; Wed, 19 Jul 2023 18:36:28 -0700 (PDT) X-Received: by 2002:a05:6a20:8c19:b0:135:32b1:b03d with SMTP id j25-20020a056a208c1900b0013532b1b03dmr1081912pzh.42.1689816988058; Wed, 19 Jul 2023 18:36:28 -0700 (PDT) Received: from [10.72.12.173] ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id g6-20020aa78186000000b006783ee5df8asm3856430pfi.189.2023.07.19.18.36.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jul 2023 18:36:27 -0700 (PDT) Message-ID: <694be793-7917-5498-67fb-fd0b57b5a3df@redhat.com> Date: Thu, 20 Jul 2023 09:36:23 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] netfs: Fix errors in cache.h The following checkpatch errors are removed: ERROR: "foo* bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" Content-Language: en-US To: huzhi001@208suo.com, idryomov@gmail.com Cc: jlayton@kernel.org, ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org References: <071ee91b1fade5bc4de45f3e33f45f5c@208suo.com> From: Xiubo Li In-Reply-To: <071ee91b1fade5bc4de45f3e33f45f5c@208suo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,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 Hi ZhiHu This looks good to me. Could you restructure the patch title and commit comment ? Thanks - Xiubo On 7/19/23 19:10, huzhi001@208suo.com wrote: > Signed-off-by: ZhiHu > --- >  fs/ceph/cache.h | 12 ++++++------ >  1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/fs/ceph/cache.h b/fs/ceph/cache.h > index dc502daac49a..b9fb1d1b21a1 100644 > --- a/fs/ceph/cache.h > +++ b/fs/ceph/cache.h > @@ -14,11 +14,11 @@ >  #ifdef CONFIG_CEPH_FSCACHE >  #include > > -int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct > fs_context *fc); > -void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc); > +int ceph_fscache_register_fs(struct ceph_fs_client *fsc, struct > fs_context *fc); > +void ceph_fscache_unregister_fs(struct ceph_fs_client *fsc); > >  void ceph_fscache_register_inode_cookie(struct inode *inode); > -void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info* ci); > +void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info *ci); > >  void ceph_fscache_use_cookie(struct inode *inode, bool will_modify); >  void ceph_fscache_unuse_cookie(struct inode *inode, bool update); > @@ -76,13 +76,13 @@ static inline void > ceph_fscache_note_page_release(struct inode *inode) >      fscache_note_page_release(ceph_fscache_cookie(ci)); >  } >  #else /* CONFIG_CEPH_FSCACHE */ > -static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, > +static inline int ceph_fscache_register_fs(struct ceph_fs_client *fsc, >                         struct fs_context *fc) >  { >      return 0; >  } > > -static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* > fsc) > +static inline void ceph_fscache_unregister_fs(struct ceph_fs_client > *fsc) >  { >  } > > @@ -90,7 +90,7 @@ static inline void > ceph_fscache_register_inode_cookie(struct inode *inode) >  { >  } > > -static inline void ceph_fscache_unregister_inode_cookie(struct > ceph_inode_info* ci) > +static inline void ceph_fscache_unregister_inode_cookie(struct > ceph_inode_info *ci) >  { >  } >