aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2021-01-15 10:57:58 +0100
committerTakashi Iwai <[email protected]>2021-01-15 11:05:20 +0100
commite8afdfdc8125801b1e28b5a54d2bd94cf2d59965 (patch)
treed609b1772ec9bf56cc1af94290d6e1b0583bab43 /tools/perf/scripts/python/net_dropmonitor.py
parent75b1a8f9d62e50f05d0e4e9f3c8bcde32527ffc1 (diff)
ALSA: usb-audio: Convert remaining strlcpy() to strscpy()
USB-audio driver still contains two calls of strlcpy() because the return size is evaluated. Basically it just checks whether the string is copied or not, but since strcpy() may return a negative error code, we should check the negative value and treat as filled. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions