aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2021-10-21 21:05:28 +0200
committerGuenter Roeck <[email protected]>2021-10-21 13:14:27 -0700
commit38c5b0dd7d3092c24fc3dbd9ca963fd0e11752f5 (patch)
tree571823c2fe23b4dbd043d1533b6f89f458e62465 /tools/perf/util/trace-event-scripting.c
parent6105870f794ded0306dbff4ab017063e4d0f631a (diff)
hwmon: (dell-smm) Use strscpy_pad()
Using strscpy_pad() allows for fewer memory accesses since memset() will not unconditionally zero-out the whole buffer. Signed-off-by: Armin Wolf <[email protected]> Acked-by: Pali Rohár <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions