ALSA: hwdep: silence integer overflow warning
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Oct 2011 06:46:01 +0000 (09:46 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 31 Oct 2011 08:52:43 +0000 (09:52 +0100)
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 <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found