aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorBitterblue Smith <[email protected]>2022-11-10 15:59:29 +0200
committerKalle Valo <[email protected]>2022-11-16 11:30:43 +0200
commit9b00565abf3f961b10b2fdf8f762e10ef4cf3acd (patch)
tree0a9f5260e5af1dbb908ba55b76f17b5203842a6b /tools/perf/scripts/python/syscall-counts-by-pid.py
parent486e0315c4a1f4e8ea8da0e7de92d89ee8e1ba0a (diff)
wifi: rtl8xxxu: Use strscpy instead of sprintf
Fill priv->chip_name and priv->chip_vendor with strscpy instead of sprintf. This is just to prevent future bugs in case the name of a chip/vendor becomes longer than the size of chip_name/chip_vendor. Suggested-by: Ping-Ke Shih <[email protected]> Signed-off-by: Bitterblue Smith <[email protected]> Reviewed-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions