WSL2-Linux-Kernel/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 phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent() 2022-10-26 12:35:09 +02:00
broadcom phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices 2022-12-31 13:14:33 +01:00
cadence phy: cadence: Sierra: Fix to get correct parent for mux clocks 2022-01-27 11:04:16 +01:00
freescale
hisilicon
ingenic
intel
lantiq
marvell phy: marvell: phy-mvebu-a3700-comphy: Remove unsupported modes 2021-08-27 12:20:33 +01:00
mediatek phy: phy-mtk-tphy: fix the phy type setting issue 2022-10-26 12:35:09 +02:00
microchip phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe() 2021-11-18 19:16:56 +01:00
motorola phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe 2022-05-09 09:14:33 +02:00
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 phy: samsung: phy-exynos-pcie: sanitize init/power_on callbacks 2022-08-25 11:40:39 +02:00
socionext phy: uniphier-usb3ss: fix unintended writing zeros to PHY register 2022-01-27 11:04:16 +01:00
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 phy: xilinx: zynqmp: Fix bus width setting for SGMII 2022-02-16 12:56:22 +01:00
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: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure}) 2022-04-08 14:23:46 +02:00
phy-core.c
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c