mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 18:36:00 +00:00
smb3: minor RDMA cleanup
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>
This commit is contained in:
parent
37de5a80e9
commit
43960dc232
@ -746,14 +746,14 @@ static ssize_t name##_write(struct file *file, const char __user *buffer, \
|
|||||||
size_t count, loff_t *ppos) \
|
size_t count, loff_t *ppos) \
|
||||||
{ \
|
{ \
|
||||||
int rc; \
|
int rc; \
|
||||||
rc = kstrtoint_from_user(buffer, count, 10, & name); \
|
rc = kstrtoint_from_user(buffer, count, 10, &name); \
|
||||||
if (rc) \
|
if (rc) \
|
||||||
return rc; \
|
return rc; \
|
||||||
return count; \
|
return count; \
|
||||||
} \
|
} \
|
||||||
static int name##_proc_show(struct seq_file *m, void *v) \
|
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; \
|
return 0; \
|
||||||
} \
|
} \
|
||||||
static int name##_open(struct inode *inode, struct file *file) \
|
static int name##_open(struct inode *inode, struct file *file) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user