]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Pass printf argument directly to request_module()
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Oct 2014 14:15:44 +0000 (15:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Oct 2014 14:17:54 +0000 (15:17 +0100)
commitfb9d99699bd0a9e6a89f27aeda84c5e5780b92f0
tree315e11d30d969fffac8abd38fda040b90f4947a4
parent1ccfc570ba541a1fb417b74775fe3004cc2b2d8b
ALSA: hda - Pass printf argument directly to request_module()

request_module() handles the printf style arguments, so we don't have
to render strings in the caller side.  Not only it reduces the
unnecessary temporary string buffer, it's even safer from the security
POV.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c