1
0
Fork 0
remarkable-linux/drivers/staging
Li Jun 2273e2dcd9 MLK-20220 staging: typec: tcpci: fix improper use of negative value
Coverity complains CID 3411292: Improper use of negative valure
(NEGATIVE_RETURNS), as possibly assign a negative value to unsigned
int, fix it by use an int temp value for negative value return.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
(cherry picked from commit 9ab72e25fcda73a455a434993c8186663c241f27)
2018-11-23 19:48:45 +08:00
..
android MLK-18834 ion: Enable ion on Kernel 4.14 2018-10-29 11:10:38 +08:00
board License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ccree staging: ccree: check DMA pool buf !NULL before free 2018-10-20 09:48:53 +02:00
clocking-wizard
comedi staging: comedi: ni_mio_common: fix subdevice flags for PFI subdevice 2018-09-15 09:45:31 +02:00
dgnc License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
emxx_udc
fbtft License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fsl-dpaa2 staging: fsl-dpaa2/eth: Fix incorrect casts 2018-05-25 16:17:43 +02:00
fsl-mc irqchip/gic-v3: Ignore disabled ITS nodes 2018-04-26 11:02:20 +02:00
fwserial License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gdm724x License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
goldfish
greybus staging: greybus: light: Release memory obtained by kasprintf 2017-12-25 14:26:30 +01:00
gs_fpgaboot
iio staging: iio: ad5933: switch buffer mode to software 2018-02-25 11:07:53 +01:00
irda irda: Only insert new objects into the global database via setsockopt 2018-09-15 09:45:36 +02:00
ks7010 staging: ks7010: Use constants from ieee80211_eid instead of literal ints. 2018-05-25 16:17:43 +02:00
lustre staging: lustre: ldlm: free resource when ldlm_lock_create() fails. 2018-08-03 07:50:39 +02:00
media media: staging/imx: fill vb2_v4l2_buffer field entry 2018-10-03 17:00:48 -07:00
most License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mt29f_spinand staging: mt29f_spinand: Enable the read ECC before program the page 2017-09-18 12:25:31 +02:00
netlogic
nvec License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
octeon
octeon-usb
olpc_dcon License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pi433
rtl8188eu staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID 2018-02-03 17:39:17 +01:00
rtl8192e License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rtl8192u staging: rtl8192u: return -ENOMEM on failed allocation of priv->oldaddr 2018-05-25 16:17:43 +02:00
rtl8712 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rtl8723bs staging: rtl8723bs: Prevent an underflow in rtw_check_beacon_data(). 2018-07-17 11:39:24 +02:00
rtlwifi staging: r8822be: Fix RTL8822be can't find any wireless AP 2018-07-17 11:39:24 +02:00
rts5208 staging: rts5208: fix missing error check on call to rtsx_write_register 2018-10-03 17:00:46 -07:00
skein License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sm750fb staging: sm750fb: Fix parameter mistake in poke32 2017-11-21 09:49:24 +01:00
speakup staging: speakup: fix wraparound in uaccess length check 2018-07-28 07:55:44 +02:00
typec MLK-20220 staging: typec: tcpci: fix improper use of negative value 2018-11-23 19:48:45 +08:00
unisys License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vboxvideo drm: Pass struct drm_file * to __drm_mode_object_find [v2] 2018-10-29 11:10:38 +08:00
vc04_services staging: bcm2835-audio: Don't leak workqueue if open fails 2018-09-26 08:38:12 +02:00
vme License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vt6655 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend 2017-12-20 10:10:35 +01:00
vt6656 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wilc1000 staging: wilc1000: Fix bssid buffer offset in Txq 2017-11-21 09:49:23 +01:00
wlan-ng License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xgifb License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
Makefile MLK-18834 ion: Enable ion on Kernel 4.14 2018-10-29 11:10:38 +08:00