https://github.com/torvalds/linux
Revision 3bc085a12d8f9f3e45a4ac0cc24a34abd5b20657 authored by Xi Wang on 07 March 2013, 05:13:51 UTC, committed by Takashi Iwai on 07 March 2013, 08:18:00 UTC
Move the zero check `hda_frame_size_words == 0' before the modulus
`buffer_size_words % hda_frame_size_words'.

Also remove the redundant null check `buffer_addx == NULL'.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 4c7a548
History
Tip revision: 3bc085a12d8f9f3e45a4ac0cc24a34abd5b20657 authored by Xi Wang on 07 March 2013, 05:13:51 UTC
ALSA: hda/ca0132 - Avoid division by zero in dspxfr_one_seg()
Tip revision: 3bc085a
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 243.5 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top