Commit c5f2ca52 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Keith Busch
Browse files

nvme: add a newline to the 'tls_key' sysfs attribute



Print a newline for easier userspace handling.

Signed-off-by: default avatarHannes Reinecke <hare@kernel.org>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 5bc46b49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -672,7 +672,7 @@ static ssize_t tls_key_show(struct device *dev,

	if (!ctrl->tls_pskid)
		return 0;
	return sysfs_emit(buf, "%08x", ctrl->tls_pskid);
	return sysfs_emit(buf, "%08x\n", ctrl->tls_pskid);
}
static DEVICE_ATTR_RO(tls_key);
#endif