Files
linux/sound/core
Dan Carpenter ae4aaae623 ALSA: bits vs bytes bug in snd_card_create()
commit 4c3773eda4 upstream.

The test here is intended intended to prevent shift wrapping bugs when
we do "1U << idx2".  We should consider the number of bits in a u32
instead of the number of bytes.

[fix another chunk similarly by tiwai]

Fixes: 7bb2491b35 ('ALSA: Add kconfig to specify the max card numbers')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-06 11:34:04 -08:00
..
2013-04-18 10:02:33 +02:00
2013-10-29 11:37:35 +01:00
2011-07-30 08:03:35 +02:00
2012-11-08 14:36:18 +01:00