android_kernel_samsung_a7y1.../sound/isa
Colin Ian King b6431a0131 ALSA: cs4236: fix error return comparison of an unsigned integer
commit d60229d84846a8399257006af9c5444599f64361 upstream.

The return from pnp_irq is an unsigned integer type resource_size_t
and hence the error check for a positive non-error code is always
going to be true.  A check for a non-failure return from pnp_irq
should in fact be for (resource_size_t)-1 rather than >= 0.

Addresses-Coverity: ("Unsigned compared against 0")
Fixes: a9824c868a2c ("[ALSA] Add CS4232 PnP BIOS support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20191122131354.58042-1-colin.king@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:24:47 +02:00
..
ad1816a A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad1848 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs423x ALSA: cs4236: fix error return comparison of an unsigned integer 2020-04-07 13:24:47 +02:00
es1688 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
galaxy A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gus A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
msnd A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
opti9xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sb ALSA: sb8: add a check for request_region 2020-04-06 15:16:58 +02:00
wavefront A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wss A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
adlib.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
als100.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
azt2320.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cmi8328.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cmi8330.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
es18xx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
opl3sa2.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sc6000.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sscape.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30