diff options
author | 2021-10-17 14:01:06 -0500 | |
---|---|---|
committer | 2021-10-19 09:40:49 +0200 | |
commit | c3ed761c9e1e4987406671b326dab48a048614ee (patch) | |
tree | 7f531c051063e13676e9b703e1be626894d39524 /tools/perf/scripts/python/syscall-counts.py | |
parent | char: xillybus: fix msg_ep UAF in xillyusb_probe() (diff) | |
download | linux-dev-c3ed761c9e1e4987406671b326dab48a048614ee.tar.xz linux-dev-c3ed761c9e1e4987406671b326dab48a048614ee.zip |
counter/counter-sysfs: use sysfs_emit everywhere
In the counter subsystem, we are already using sysfs_emit(), but there
were a few places where we were still using sprintf() in *_show()
functions. For consistency and added protections, use sysfs_emit()
everywhere.
Suggested-by: Greg KH <gregkh@linuxfoundation.org>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/20211017190106.3472645-1-david@lechnology.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions