diff options
author | 2014-01-23 11:21:28 +0300 | |
---|---|---|
committer | 2014-01-23 10:50:36 +0100 | |
commit | 4c3773eda49c872a3034382f8ec3080002e715bf (patch) | |
tree | 3cb218d45c783600fad3eda4570ec3c4ce571353 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: hda - Apply +5dB output amp on ASUS Zenbook UX31A (diff) | |
download | linux-dev-4c3773eda49c872a3034382f8ec3080002e715bf.tar.xz linux-dev-4c3773eda49c872a3034382f8ec3080002e715bf.zip |
ALSA: bits vs bytes bug in snd_card_create()
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: 7bb2491b35a2 ('ALSA: Add kconfig to specify the max card numbers')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions