From: Xi Wang Date: Thu, 7 Mar 2013 05:13:51 +0000 (-0500) Subject: ALSA: hda/ca0132 - Avoid division by zero in dspxfr_one_seg() X-Git-Tag: v3.9-rc2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bc085a12d8f9f3e45a4ac0cc24a34abd5b20657;p=pandora-kernel.git ALSA: hda/ca0132 - Avoid division by zero in dspxfr_one_seg() 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed