summaryrefslogtreecommitdiff
path: root/sound/firewire
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-01-15 11:04:37 +0100
committerTakashi Iwai <tiwai@suse.de>2021-01-15 11:05:26 +0100
commit42ef170d57d8fc59b36619b00cadacac84ecfb90 (patch)
tree6b9996e859506b1a52d8859e4921dee09ad265ce /sound/firewire
parente8afdfdc8125801b1e28b5a54d2bd94cf2d59965 (diff)
ALSA: usb-audio: Convert the last strlcpy() usage
The last remaining usage of strlcpy() in USB-audio driver is the setup of the card longname string. Basically we need to know whether any non-empty string is set or not, and no real length is needed. Refactor the code and use strscpy() instead. After this change, strlcpy() is gone from all sound/* code. Link: https://lore.kernel.org/r/20210115100437.20906-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions