aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2023-07-21 02:21:44 -0700
committerJakub Kicinski <[email protected]>2023-07-24 16:06:20 -0700
commit9f64b6e459d3eee73ca4ea6226653e008d1c1e61 (patch)
treeedbb04abff13958a3d422f956316fe20cf2cbca4 /tools/perf/scripts/python
parenta097627dcaddb90f55c1780da348bf9b56f6b4bd (diff)
netconsole: Use sysfs_emit() instead of snprintf()
According to the sysfs.rst documentation, _show() functions should only use sysfs_emit() instead of snprintf(). Since snprintf() shouldn't be used in the sysfs _show() path, replace it by sysfs_emit(). Suggested-by: Petr Mladek <[email protected]> Signed-off-by: Breno Leitao <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions