mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-10 19:35:21 +02:00
smb3: minor RDMA cleanup
[ Upstream commit 43960dc232
]
Some minor smbdirect debug cleanup spotted by checkpatch
Cc: Long Li <longli@microsoft.com>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
9c88aae1e4
commit
b74c8d9be3
|
@ -779,14 +779,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) \
|
||||
|
|
Loading…
Reference in New Issue
Block a user