summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-10-28 06:46:01 (GMT)
committerTakashi Iwai <tiwai@suse.de>2011-10-31 08:52:43 (GMT)
commitf7b2bb8549e352353427d0f8913c96914dd0baab (patch)
tree33f5ae7bb40d02c9a552115a0dd587029f2e32f6 /net
parent8128c9f21509f9a8b6da94ac432d845dda458406 (diff)
downloadlinux-fsl-qoriq-f7b2bb8549e352353427d0f8913c96914dd0baab.tar.xz
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 <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions