android_kernel_motorola_sm6375/drivers/phy
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jiapeng Chong d94fbfcd9a phy: rockchip-typec: Fix unsigned comparison with less than zero
[ Upstream commit f765c59c5a72546a2d74a92ae5d0eb0329d8e247 ]

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 <[email protected]>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3962
Signed-off-by: Jiapeng Chong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-03-11 16:44:15 +01:00
..
allwinner
amlogic
broadcom
cadence
freescale
hisilicon
lantiq
marvell
mediatek
motorola
mscc
qualcomm
ralink
renesas
rockchip phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 16:44:15 +01:00
samsung
socionext
st
tegra
ti
Kconfig
Makefile
phy-core-mipi-dphy.c
phy-core.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c