ALSA: hda - Add max allocation check in array allocator
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Nov 2008 23:26:52 +0000 (00:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Nov 2008 23:26:52 +0000 (00:26 +0100)
commitb910d9ae5b370cf5bf9d6a71028119861b6ea8a4
treeef02ccd3960de74b873a9ec95ab73ef06127b08f
parentc217429b14708999d6ac5de964c452600e8797d3
ALSA: hda - Add max allocation check in array allocator

Added a check for max allocation size in snd_array_new() for a
debugging purpose.

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