diff options
author | 2009-08-17 12:25:52 +0200 | |
---|---|---|
committer | 2009-08-17 12:48:00 +0200 | |
commit | 2a031aedf7f574a01eb725507cb303d4d7b8b23a (patch) | |
tree | bcf05d5a7f586f0428de847214cfa21db49b8189 /lib/debugobjects.c | |
parent | Linux 2.6.31-rc6 (diff) | |
download | wireguard-linux-2a031aedf7f574a01eb725507cb303d4d7b8b23a.tar.xz wireguard-linux-2a031aedf7f574a01eb725507cb303d4d7b8b23a.zip |
sound: snd_ctl_elem_add: fix value count check
Make sure that no user element that has no values can be added.
The check for count>1024 is not needed because the count is checked
later for the individual control types.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions