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/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
Kconfig ALSA: hda: No preallocation on x86 platforms 2020-01-21 07:12:08 +01:00
Makefile
array.c
hda_bus_type.c
hdac_bus.c ALSA: hda: Update kernel-doc function parameter descriptions 2020-01-14 07:40:37 +01:00
hdac_component.c ALSA: hda: Update kernel-doc function parameter descriptions 2020-01-14 07:40:37 +01:00
hdac_controller.c ALSA: hda: Update kernel-doc function parameter descriptions 2020-01-14 07:40:37 +01:00
hdac_device.c ALSA: hda: Use scnprintf() for string truncation 2020-03-13 15:59:04 +01:00
hdac_i915.c
hdac_regmap.c ALSA: hda: Manage concurrent reg access more properly 2020-01-13 13:40:41 +01:00
hdac_stream.c ALSA: hda: Reset stream if DMA RUN bit not cleared 2020-01-28 10:29:41 +01:00
hdac_sysfs.c
hdmi_chmap.c ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs 2020-02-18 10:15:41 +01:00
intel-dsp-config.c
intel-nhlt.c
local.h
trace.c
trace.h