projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d302c6e
)
ib/srp: Add missing new line after displaying fast_io_fail_tmo param
author
Donald Dutile
<ddutile@redhat.com>
Wed, 9 Oct 2019 16:49:37 +0000
(12:49 -0400)
committer
Doug Ledford
<dledford@redhat.com>
Mon, 21 Oct 2019 20:55:16 +0000
(16:55 -0400)
Long-time missing new-line in sysfs output.
Simply add it.
Signed-off-by: Donald Dutile <ddutile@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link:
https://lore.kernel.org/r/20191009164937.21989-1-ddutile@redhat.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/srp/ib_srp.c
b/drivers/infiniband/ulp/srp/ib_srp.c
index 0bd4c66ae33181a29ca4e0f8587a05097f1259dd..b7f7a5f7bd9866aa6a861817453f2eec7de6dcf8 100644
(file)
--- a/
drivers/infiniband/ulp/srp/ib_srp.c
+++ b/
drivers/infiniband/ulp/srp/ib_srp.c
@@
-174,9
+174,9
@@
static int srp_tmo_get(char *buffer, const struct kernel_param *kp)
int tmo = *(int *)kp->arg;
if (tmo >= 0)
- return sprintf(buffer, "%d", tmo);
+ return sprintf(buffer, "%d
\n
", tmo);
else
- return sprintf(buffer, "off");
+ return sprintf(buffer, "off
\n
");
}
static int srp_tmo_set(const char *val, const struct kernel_param *kp)