mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-23 10:12:24 +00:00
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:
committed by
Keith Busch
parent
5bc46b49c8
commit
c5f2ca52d0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user