nvme: add a newline to the 'tls_key' sysfs attribute
Print a newline for easier userspace handling. Signed-off-by: Hannes Reinecke <hare@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
This commit is contained in:
parent
5bc46b49c8
commit
c5f2ca52d0
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ static ssize_t tls_key_show(struct device *dev,
|
||||||
|
|
||||||
if (!ctrl->tls_pskid)
|
if (!ctrl->tls_pskid)
|
||||||
return 0;
|
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);
|
static DEVICE_ATTR_RO(tls_key);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue