From: Takashi Sakamoto Date: Tue, 27 May 2014 15:14:36 +0000 (+0900) Subject: ALSA: firewire-lib: Use ARRAY_SIZE() instead of sizeof() for correct loop limit X-Git-Tag: omap-for-v3.16/fixes-against-rc1~21^2~40^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9503a68fb8a69fb654f79b8f06bd099c478aab2;p=pandora-kernel.git ALSA: firewire-lib: Use ARRAY_SIZE() instead of sizeof() for correct loop limit This commit fixes a big for loop count with array. The limitation of loop count should be calcurated with the number of elements in the array, not with the number of bytes. Aditionally, this commit apply the same declaration as a prototype in header for the array. Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed