diff options
author | Krzysztof Wilczyński <[email protected]> | 2021-06-03 00:01:10 +0000 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-06-04 09:21:07 -0500 |
commit | 14c19b2a40b61b609f68d1d6a5518ebb1c30706f (patch) | |
tree | 32c177f0bf0f43df3c04821c094be218207e93de /tools/perf/scripts/python/syscall-counts.py | |
parent | 381bd3fa8306a56b4bb8703966e6372f1b83762e (diff) |
PCI/sysfs: Add 'devspec' newline
Previously, when the value of the "devspec" sysfs attribute was read from
the user space there was no newline present, and utilities such as "cat"
wouldn't display the result of the read correctly.
Append a newline character in the show() function to match other "devspec"
attributes.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions