aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2021-05-14 15:05:07 +0800
committerTakashi Iwai <[email protected]>2021-05-14 09:48:33 +0200
commitbac59054544ebdb89f05c5b9598ca9cb2dea72ce (patch)
tree1fc9856d353332f4b772b2865d4238a5e3e24459 /tools/perf/scripts/python/netdev-times.py
parente73b4c9e7fa7fc8870d472b73a155e891f1f4022 (diff)
ALSA: gus: Replace unsafe strcpy() with strscpy()
Fix smatch warning: sound/isa/gus/gus_main.c:396 snd_gus_check_version() error: strcpy() 'card->longname' too large for 'card->shortname' (80 vs 32) Even if this is not a real bug since the longest length of card->longname now is 31, replace strcpy() with strscpy() in order to avoid possible future mistake. Signed-off-by: YueHaibing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions