From: Dan Carpenter Date: Fri, 28 Oct 2011 06:46:01 +0000 (+0300) Subject: ALSA: hwdep: silence integer overflow warning X-Git-Tag: v3.2-rc1~65^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7b2bb8549e352353427d0f8913c96914dd0baab;p=pandora-kernel.git ALSA: hwdep: silence integer overflow warning Smatch complains that if device is INT_MAX then device + 1 can overflow. It just means we would have an annoying loop while we check all the devices from -2147483648 to SNDRV_MINOR_HWDEPS. Signed-off-by: Dan Carpenter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed