Commit 5a0d5237 authored by Donald Dutile's avatar Donald Dutile Committed by Doug Ledford
Browse files

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: default avatarDonald Dutile <ddutile@redhat.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20191009164937.21989-1-ddutile@redhat.com


Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent d302c6e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)