linux-stable/drivers/phy
Jiapeng Chong 473efca280 phy: rockchip-typec: Fix unsigned comparison with less than zero
[ Upstream commit f765c59c5a ]

The dp and ufp are defined as bool type, the return value type of
function extcon_get_state should be int, so the type of dp and ufp
are modified to int.

./drivers/phy/rockchip/phy-rockchip-typec.c:827:12-14: WARNING: Unsigned expression compared with zero: dp > 0.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3962
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230213035709.99027-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:57:38 +01:00
..
allwinner
amlogic
broadcom phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices 2022-12-31 13:14:33 +01:00
cadence
freescale
hisilicon
ingenic
intel
lantiq
marvell
mediatek phy: phy-mtk-tphy: fix the phy type setting issue 2022-10-26 12:35:09 +02:00
microchip
motorola
mscc
qualcomm phy: qcom-qmp-combo: fix runtime suspend 2023-02-09 11:26:46 +01:00
ralink phy: ralink: mt7621-pci: add sentinel to quirks table 2022-11-16 09:58:17 +01:00
renesas
rockchip phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 13:57:38 +01:00
samsung
socionext
st phy: stm32: fix an error code in probe 2022-11-16 09:58:13 +01:00
tegra
ti phy: ti: fix Kconfig warning and operator precedence 2023-02-01 08:27:07 +01:00
xilinx
Kconfig
Makefile
phy-can-transceiver.c phy: phy-can-transceiver: Skip warning if no "max-bitrate" 2023-02-01 08:27:13 +01:00
phy-core-mipi-dphy.c
phy-core.c
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c