diff options
author | Juerg Haefliger <[email protected]> | 2021-05-11 08:18:12 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-06-21 08:49:03 +0200 |
commit | 3bb21781d13516baf14dc051dbe2b3145c704cda (patch) | |
tree | 60a0b0c558688435c85d38bd5f6ae04e9fb34c0c /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | d0212f095ab56672f6f36aabc605bda205e1e0bf (diff) |
watchdog: Use sysfs_emit() and sysfs_emit_at() in "show" functions
Convert sprintf() in sysfs "show" functions to sysfs_emit() and
sysfs_emit_at() in order to check for buffer overruns in sysfs outputs.
Signed-off-by: Juerg Haefliger <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions