diff mbox series

Minor smbdirect cleanup

Message ID CAH2r5mu1TEV7hGG0_Bv8ukcG3bGc7PpATdYMRPZJCz1t1yFQZg@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series Minor smbdirect cleanup | expand

Commit Message

Steve French Nov. 6, 2023, 7:37 p.m. UTC
See attached (minor rdma/smbdirect cleanup)

spotted when ran checkpatch against cifs_debug.c

Comments

Steve French Nov. 6, 2023, 9:39 p.m. UTC | #1
One more minor cleanup (of sess.c this time)


On Mon, Nov 6, 2023 at 1:37 PM Steve French <smfrench@gmail.com> wrote:
>
> See attached (minor rdma/smbdirect cleanup)
>
> spotted when ran checkpatch against cifs_debug.c
>
> --
> Thanks,
>
> Steve
diff mbox series

Patch

From 0562dfc99a91d5faff58c512b76a8f3bb33a615a Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Mon, 6 Nov 2023 13:31:45 -0600
Subject: [PATCH] smb3: minor RDMA cleanup

Some minor smbdirect debug cleanup spotted by checkpatch

Cc: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
---
 fs/smb/client/cifs_debug.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/smb/client/cifs_debug.c b/fs/smb/client/cifs_debug.c
index 132ba277438f..5596c9f30ccb 100644
--- a/fs/smb/client/cifs_debug.c
+++ b/fs/smb/client/cifs_debug.c
@@ -767,14 +767,14 @@  static ssize_t name##_write(struct file *file, const char __user *buffer, \
 	size_t count, loff_t *ppos) \
 { \
 	int rc; \
-	rc = kstrtoint_from_user(buffer, count, 10, & name); \
+	rc = kstrtoint_from_user(buffer, count, 10, &name); \
 	if (rc) \
 		return rc; \
 	return count; \
 } \
 static int name##_proc_show(struct seq_file *m, void *v) \
 { \
-	seq_printf(m, "%d\n", name ); \
+	seq_printf(m, "%d\n", name); \
 	return 0; \
 } \
 static int name##_open(struct inode *inode, struct file *file) \
-- 
2.39.2