linux_dsm_epyc7002/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/20200313130241.8970-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-03-13 15:59:04 +01:00
..
ext ASoC: Fixes for v5.6 2020-02-18 13:33:39 +01:00
array.c
hda_bus_type.c
hdac_bus.c
hdac_component.c
hdac_controller.c
hdac_device.c ALSA: hda: Use scnprintf() for string truncation 2020-03-13 15:59:04 +01:00
hdac_i915.c
hdac_regmap.c
hdac_stream.c
hdac_sysfs.c
hdmi_chmap.c
intel-dsp-config.c
intel-nhlt.c
Kconfig
local.h
Makefile
trace.c
trace.h