linux-stable/drivers/phy
Jiapeng Chong 1256516724 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:50:46 +01:00
..
allwinner phy: allwinner: phy-sun6i-mipi-dphy: Add the A100 DPHY variant 2022-11-24 23:04:24 +05:30
amlogic phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent() 2022-09-20 11:56:38 +05:30
broadcom phy: phy-brcm-usb: Utilize platform_get_irq_byname_optional() 2022-11-07 10:20:25 +05:30
cadence phy: cadence-torrent: Remove unused regmap field from state struct 2022-07-08 10:40:43 +05:30
freescale phy: freescale: imx8m-pcie: Add one missing error return 2023-01-13 23:25:38 +05:30
hisilicon phy: HiSilicon: Fix copy and paste bug in error handling 2021-11-23 10:42:13 +05:30
ingenic
intel phy: intel: Use dev_err_probe() to simplify code 2022-09-24 12:34:56 +05:30
lantiq
marvell phy: use devm_platform_get_and_ioremap_resource() 2022-11-24 23:23:07 +05:30
mediatek phy: mediatek: remove temporary variable @mask_ 2023-03-10 09:28:53 +01:00
microchip phy-for-6.1 2022-10-07 16:03:01 -07:00
motorola treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
mscc
qualcomm phy: Revert "phy: qualcomm: usb28nm: Add MDM9607 init sequence" 2023-01-13 23:15:42 +05:30
ralink phy: ralink: mt7621-pci: add sentinel to quirks table 2022-11-05 13:01:25 +05:30
renesas phy: renesas: r8a779f0-eth-serdes: Fix register setting 2023-01-13 00:00:08 +05:30
rockchip phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 13:50:46 +01:00
samsung pci-v5.20-changes 2022-08-04 19:30:35 -07:00
socionext phy: uniphier-usb3ss: fix unintended writing zeros to PHY register 2021-12-24 10:06:38 +05:30
st phy: stm32: fix an error code in probe 2022-10-17 10:58:02 +05:30
sunplus phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe() 2023-01-12 23:43:35 +05:30
tegra phy: tegra: xusb: Remove usb3 supply 2022-11-07 10:20:25 +05:30
ti phy: ti: fix Kconfig warning and operator precedence 2023-01-11 13:24:33 +05:30
xilinx phy: xilinx: zynqmp: Fix bus width setting for SGMII 2022-01-27 10:55:26 +05:30
Kconfig phy: usb: Add USB2.0 phy driver for Sunplus SP7021 2022-09-02 21:01:24 +05:30
Makefile phy: usb: Add USB2.0 phy driver for Sunplus SP7021 2022-09-02 21:01:24 +05:30
phy-can-transceiver.c phy: phy-can-transceiver: Skip warning if no "max-bitrate" 2023-01-18 22:58:05 +05:30
phy-core-mipi-dphy.c phy: dphy: add support to calculate the timing based on hs_clk_rate 2022-10-27 14:38:04 +03:00
phy-core.c phy: core: Warn when phy_power_on is called before phy_init 2022-04-20 14:45:15 +05:30
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c