alistair23-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
array.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
hda_bus_type.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
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 ALSA: hda: Fix 1-minute detection delay when i915 module is not available 2019-07-27 08:31:46 +02:00
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 ALSA: hda: Simplify snd_hdac_refresh_widgets() 2019-07-05 12:01:06 +02:00
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 ALSA: hda: Allow non-Intel device probe gracefully 2019-10-28 16:09:02 +01:00
intel-nhlt.c ALSA: hda: More constifications 2020-01-05 16:14:32 +01:00
Kconfig ALSA: hda: No preallocation on x86 platforms 2020-01-21 07:12:08 +01:00
local.h ALSA: hda: Unexport a few more stuff 2019-08-14 20:00:56 +02:00
Makefile ALSA: hda: add Intel DSP configuration / probe code 2019-10-23 06:31:37 +02:00
trace.c ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00