mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 11:38:14 +07:00
d108b132ea
Since snprintf() returns the would-be-output size instead of the actual output size, the succeeding calls may go beyond the given buffer limit. Fix it by replacing with scnprintf(). Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20200311074916.8783-1-tiwai@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Makefile | ||
mic_boot.c | ||
mic_debugfs.c | ||
mic_device.h | ||
mic_intr.c | ||
mic_intr.h | ||
mic_main.c | ||
mic_smpt.c | ||
mic_smpt.h | ||
mic_x100.c | ||
mic_x100.h |