android_kernel_xiaomi_sm8450/drivers/phy
Jiapeng Chong 4d2423f15b 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 <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 16:40:18 +01:00
..
allwinner Merge branch 'fixes' into next 2020-07-17 13:45:53 +05:30
amlogic phy: amlogic: meson8b-usb2: Use dev_err_probe() 2022-04-13 21:01:01 +02:00
broadcom phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices 2023-01-14 10:16:03 +01:00
cadence phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe() 2021-06-16 12:01:45 +02:00
freescale phy: fsl-imx8mq-usb: Constify imx8mq_usb_phy_ops 2020-08-31 14:36:36 +05:30
hisilicon phy: hisilicon; Constify hi3660_phy_ops 2020-08-31 14:36:36 +05:30
intel phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP 2021-07-20 16:05:46 +02:00
lantiq phy: lantiq: rcu-usb2: wait after clock enable 2021-03-04 11:38:24 +01:00
marvell phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally 2021-05-14 09:50:13 +02:00
mediatek phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() 2021-06-23 14:42:48 +02:00
motorola phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe 2022-05-09 09:05:01 +02:00
mscc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qualcomm phy: qualcomm: call clk_disable_unprepare in the error handling 2022-10-26 13:25:37 +02:00
ralink phy: ralink-usb: Constify ralink_usb_phy_ops 2020-08-31 14:36:37 +05:30
renesas phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure 2020-12-30 11:53:36 +01:00
rockchip phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 16:40:18 +01:00
samsung phy: samsung: exynos5250-sata: fix missing device put in probe error paths 2022-05-09 09:05:01 +02:00
socionext phy: uniphier-usb3ss: fix unintended writing zeros to PHY register 2022-01-27 10:54:08 +01:00
st phy: stm32: fix an error code in probe 2022-11-16 09:57:08 +01:00
tegra phy: tegra: xusb: Fix usb_phy device driver field 2020-12-30 11:53:26 +01:00
ti phy: ti: fix Kconfig warning and operator precedence 2023-02-01 08:23:11 +01:00
xilinx phy: xilinx: zynqmp: Fix bus width setting for SGMII 2022-02-16 12:54:23 +01:00
Kconfig phy: USB_LGM_PHY should depend on X86 2021-03-04 11:38:13 +01:00
Makefile phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-core-mipi-dphy.c phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure}) 2022-04-08 14:40:24 +02:00
phy-core.c phy: core: Document function args 2020-07-08 16:40:21 +05:30
phy-lgm-usb.c phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: xgene: remove unsigned integer comparison with less than zero 2020-07-13 12:14:51 +05:30