mirror-linux/drivers/phy
Jiapeng Chong a577aac0da 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:55:40 +01:00
..
allwinner phy: sun4i-usb: Add support for the H616 USB PHY 2023-01-04 11:28:56 +01:00
amlogic
broadcom phy: usb: Fix clock imbalance for suspend/resume 2022-12-31 13:32:48 +01:00
cadence
freescale
hisilicon
ingenic
intel
lantiq
marvell
mediatek phy: mediatek: remove temporary variable @mask_ 2023-03-10 09:33:35 +01:00
microchip
motorola
mscc
qualcomm phy: qcom-qmp-combo: fix runtime suspend 2023-02-09 11:28:25 +01:00
ralink
renesas
rockchip phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 13:55:40 +01:00
samsung
socionext
st
sunplus phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe() 2023-02-01 08:34:09 +01:00
tegra
ti phy: ti: fix Kconfig warning and operator precedence 2023-02-01 08:34:08 +01:00
xilinx
Kconfig
Makefile
phy-can-transceiver.c phy: phy-can-transceiver: Skip warning if no "max-bitrate" 2023-02-01 08:34:25 +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