ALSA: control: Warn if too long string is passed to snd_ctl_enum_info()
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2014 16:07:21 +0000 (18:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2014 16:25:27 +0000 (18:25 +0200)
commitdf803e1389716bcdf11932fff47d7f1fc198bc8a
tree9f5942d72a648d3686aa0967f6795da07485853c
parentbe93709cb13a1947fec3493267d04cd87baf497e
ALSA: control: Warn if too long string is passed to snd_ctl_enum_info()

This allows us to catch the bugs in drivers easily.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c