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
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
emxx_udc
fbtft
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
gdm724x
goldfish
greybus
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
mt29f_spinand
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
rtl8188eu staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID 2018-02-03 17:39:17 +01:00
rtl8192e
rtl8192u staging: rtl8192u: return -ENOMEM on failed allocation of priv->oldaddr 2018-05-25 16:17:43 +02:00
rtl8712
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
sm750fb
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
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
vt6655
vt6656
wilc1000
wlan-ng
xgifb
Kconfig
Makefile MLK-18834 ion: Enable ion on Kernel 4.14 2018-10-29 11:10:38 +08:00