summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorDonald Dutile <ddutile@redhat.com>2019-10-09 12:49:37 -0400
committerDoug Ledford <dledford@redhat.com>2019-10-21 16:55:16 -0400
commit5a0d523781075529e9c2ff3ba7312ddf4e32609a (patch)
tree92801985a15c22d307687c34d48da07c69d08b4e /drivers/infiniband/ulp
parentd302c6e3a6895608a5856bc708c47bda1770b24d (diff)
downloadlinux-5a0d523781075529e9c2ff3ba7312ddf4e32609a.tar.bz2
ib/srp: Add missing new line after displaying fast_io_fail_tmo param
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>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
index 0bd4c66ae331..b7f7a5f7bd98 100644
--- 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)