All of lore.kernel.org
 help / color / mirror / Atom feed
From: huzhi001@208suo.com
To: xiubli@redhat.com, idryomov@gmail.com
Cc: jlayton@kernel.org, ceph-devel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [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"
Date: Wed, 19 Jul 2023 19:10:23 +0800	[thread overview]
Message-ID: <071ee91b1fade5bc4de45f3e33f45f5c@208suo.com> (raw)
In-Reply-To: <tencent_4A53697595E9D930D4AE5727D5913360DB0A@qq.com>

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

       reply	other threads:[~2023-07-19 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_4A53697595E9D930D4AE5727D5913360DB0A@qq.com>
2023-07-19 11:10 ` huzhi001 [this message]
2023-07-20  1:36   ` [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" Xiubo Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=071ee91b1fade5bc4de45f3e33f45f5c@208suo.com \
    --to=huzhi001@208suo.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=idryomov@gmail.com \
    --cc=jlayton@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xiubli@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.