ib/srp: Add missing new line after displaying fast_io_fail_tmo param
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/infiniband/ulp/srp/ib_srp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/infiniband/ulp/srp/ib_srp.c +2 -2
@@ -165,9 +165,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)
Signature · 1 line
2.18.1
Quoted 2 lines · Donald Dutile
Long-time missing new-line in sysfs output.
Simply add it.
Reviewed-by Bart Van Assche <[email protected]>
Doug Ledford
AppliedQuoted 5 lines · Bart Van Assche
Quoted 2 lines · Donald Dutile
Long-time missing new-line in sysfs output.
Simply add it.Reviewed-by Bart Van Assche <[email protected]>
Thanks, applied to for-next.
Signature · 3 lines
Doug Ledford <[email protected]> GPG KeyID: B826A3330E572FDD Fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD