[<prev] [next>] [day] [month] [year] [list]
Message-ID: <265b0c47.95f.18b27d38985.Coremail.wangkailong@jari.cn>
Date: Fri, 13 Oct 2023 14:57:36 +0800 (GMT+08:00)
From: "KaiLong Wang" <wangkailong@...i.cn>
To: Jason@...c4.com
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] ceph: Clean up errors in mdsmap.c
Fix the following errors reported by checkpatch:
ERROR: "foo* bar" should be "foo *bar"
ERROR: spaces required around that '=' (ctx:VxW)
Signed-off-by: KaiLong Wang <wangkailong@...i.cn>
---
fs/ceph/mdsmap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ceph/mdsmap.c b/fs/ceph/mdsmap.c
index 7dac21ee6ce7..bb596e00fd9c 100644
--- a/fs/ceph/mdsmap.c
+++ b/fs/ceph/mdsmap.c
@@ -82,7 +82,7 @@ int ceph_mdsmap_get_random_mds(struct ceph_mdsmap *m)
} while (0)
-static int __decode_and_drop_compat_set(void **p, void* end)
+static int __decode_and_drop_compat_set(void **p, void *end)
{
int i;
/* compat, ro_compat, incompat*/
@@ -186,7 +186,7 @@ struct ceph_mdsmap *ceph_mdsmap_decode(void **p, void *end, bool msgr2)
ceph_decode_need(p, end, sizeof(u64) + 1, bad);
global_id = ceph_decode_64(p);
- info_v= ceph_decode_8(p);
+ info_v = ceph_decode_8(p);
if (info_v >= 4) {
u32 info_len;
ceph_decode_need(p, end, 1 + sizeof(u32), bad);
--
2.17.1
Powered by blists - more mailing lists