mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [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"
       [not found] <tencent_4A53697595E9D930D4AE5727D5913360DB0A@qq.com>
@ 2023-07-19 11:10 ` huzhi001
  2023-07-20  1:36   ` Xiubo Li
  0 siblings, 1 reply; 2+ messages in thread
From: huzhi001 @ 2023-07-19 11:10 UTC (permalink / raw)
  To: xiubli, idryomov; +Cc: jlayton, ceph-devel, linux-kernel

Signed-off-by: ZhiHu <huzhi001@208suo.com>
---
  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 <linux/fscache.h>

-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)
  {
  }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 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"
  2023-07-19 11:10 ` [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" huzhi001
@ 2023-07-20  1:36   ` Xiubo Li
  0 siblings, 0 replies; 2+ messages in thread
From: Xiubo Li @ 2023-07-20  1:36 UTC (permalink / raw)
  To: huzhi001, idryomov; +Cc: jlayton, ceph-devel, linux-kernel

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 <huzhi001@208suo.com>
> ---
>  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 <linux/fscache.h>
>
> -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)
>  {
>  }
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-20  1:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_4A53697595E9D930D4AE5727D5913360DB0A@qq.com>
2023-07-19 11:10 ` [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" huzhi001
2023-07-20  1:36   ` Xiubo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®