snd_mixer_oss_build_input(): fix for __you_cannot_kmalloc_that_much failure with...
commit22a860a9e22fa077300e1e72170afb82bf695617
authorJean Delvare <khali@linux-fr.org>
Tue, 8 Jan 2008 23:33:10 +0000 (8 15:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 Jan 2008 00:10:36 +0000 (8 16:10 -0800)
tree8922ac6bbb77838a8a50c75a508328b6a88e1a94
parentce8c628abadaf16a44953301c68b9f54cf6898cc
snd_mixer_oss_build_input(): fix for __you_cannot_kmalloc_that_much failure with gcc-3.2

Rework this functions so that gcc-3.2 can successfully perform
constant-folding.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/core/oss/mixer_oss.c