Files
linux/sound/hda
Takashi Iwai 0a7efa14e6 ALSA: hda: Use scnprintf() for string truncation
snd_hdac_codec_modalias() truncates the string to the given size and
returns its size, but it returned a wrong size from snprintf().
snprintf() returns the would-be-output size, not the actual size.
Use scnprintf() instead to return the correct size.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
2020-03-13 15:59:04 +01:00
..
2020-01-05 16:14:32 +01:00
2019-08-14 20:00:56 +02:00