kernel-hacking-2024-linux-s.../sound/aoa
Takashi Iwai 0980bb1ff0 ALSA: aoa: Replace sprintf() with sysfs_emit()
For sysfs outputs, it's safer to use a new helper, sysfs_emit(),
instead of the raw sprintf() & co.  This patch replaces such sprintf()
calls with sysfs_emit() while simplifying the open code in
modalias_show(); as modalias[] is a NUL-terminated string, we can pass
it straightly to a printf() argument.

Link: https://lore.kernel.org/r/20220801165639.26030-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-08-02 16:03:42 +02:00
..
codecs isystem: trim/fixup stdarg.h and other headers 2021-08-19 09:02:55 +09:00
core ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
fabrics ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
soundbus ALSA: aoa: Replace sprintf() with sysfs_emit() 2022-08-02 16:03:42 +02:00
aoa-gpio.h
aoa.h
Kconfig
Makefile