diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-02 09:28:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-02 09:28:32 +0300 |
commit | 714c95ce8bad7a2042006fc9a2079fcd469b6a03 (patch) | |
tree | cdf9f5a6fcbb389f555584ef64ee911eefeb1777 /sound/core/timer.c | |
parent | aaf3f4e925dc2bdc4715142103660285632a245c (diff) | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff) | |
download | linux-714c95ce8bad7a2042006fc9a2079fcd469b6a03.tar.xz |
Merge 4.18-rc3 into usb-next
We want the USB and other fixes in here as well to make merges and
testing easier.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/core/timer.c')
-rw-r--r-- | sound/core/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/timer.c b/sound/core/timer.c index 665089c45560..b6f076bbc72d 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c @@ -1520,7 +1520,7 @@ static int snd_timer_user_next_device(struct snd_timer_id __user *_tid) } else { if (id.subdevice < 0) id.subdevice = 0; - else + else if (id.subdevice < INT_MAX) id.subdevice++; } } |