linux/drivers/phy/rockchip
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
..
Kconfig
Makefile
phy-rockchip-dp.c
phy-rockchip-dphy-rx0.c
phy-rockchip-emmc.c
phy-rockchip-inno-csidphy.c
phy-rockchip-inno-dsidphy.c phy: dphy: Correct clk_pre parameter 2022-02-16 12:56:23 +01:00
phy-rockchip-inno-hdmi.c
phy-rockchip-inno-usb2.c phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on() 2023-02-01 08:27:07 +01:00
phy-rockchip-pcie.c
phy-rockchip-typec.c phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 13:57:38 +01:00
phy-rockchip-usb.c