projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc46b4
)
nvme: add a newline to the 'tls_key' sysfs attribute
author
Hannes Reinecke
<hare@kernel.org>
Mon, 22 Jul 2024 12:02:21 +0000
(14:02 +0200)
committer
Keith Busch
<kbusch@kernel.org>
Thu, 22 Aug 2024 20:25:11 +0000
(13:25 -0700)
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>
drivers/nvme/host/sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/sysfs.c
b/drivers/nvme/host/sysfs.c
index
72675b5
..
c391ad6
100644
(file)
--- a/
drivers/nvme/host/sysfs.c
+++ b/
drivers/nvme/host/sysfs.c
@@
-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