]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: line6: Replace sprintf() with sysfs_emit()
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Aug 2022 16:56:39 +0000 (18:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Aug 2022 14:03:49 +0000 (16:03 +0200)
commitb1b0dfdc92251e969c445fc2b5f649ae603766c5
treef29b020fa287108a60905f3e8a3f7d004c52d3a8
parent328b574423b61ea92ea67b717e3dc57cfb8bb0b6
ALSA: line6: 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 those usages
straightforwardly with a new helper, sysfs_emit().

Link: https://lore.kernel.org/r/20220801165639.26030-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pod.c
sound/usb/line6/podhd.c