summaryrefslogtreecommitdiff
path: root/drivers/siox
diff options
context:
space:
mode:
authorJuerg Haefliger <juerg.haefliger@canonical.com>2021-05-11 08:18:12 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2021-06-21 08:49:03 +0200
commit3bb21781d13516baf14dc051dbe2b3145c704cda (patch)
tree60a0b0c558688435c85d38bd5f6ae04e9fb34c0c /drivers/siox
parentd0212f095ab56672f6f36aabc605bda205e1e0bf (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 <juergh@canonical.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20210511061812.480172-1-juergh@canonical.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/siox')
0 files changed, 0 insertions, 0 deletions