aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/mscc
diff options
context:
space:
mode:
authorGravatar Jiapeng Chong <jiapeng.chong@linux.alibaba.com> 2023-02-13 11:57:09 +0800
committerGravatar Vinod Koul <vkoul@kernel.org> 2023-02-16 18:35:25 +0530
commitf765c59c5a72546a2d74a92ae5d0eb0329d8e247 (patch)
treea444381a001fb4742517568ab383bc4b3997295a /drivers/phy/mscc
parentMerge tag 'phy-fixes-6.2' into next (diff)
downloadlinux-f765c59c5a72546a2d74a92ae5d0eb0329d8e247.tar.gz
linux-f765c59c5a72546a2d74a92ae5d0eb0329d8e247.tar.bz2
linux-f765c59c5a72546a2d74a92ae5d0eb0329d8e247.zip
phy: rockchip-typec: Fix unsigned comparison with less than zero
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>
Diffstat (limited to 'drivers/phy/mscc')
0 files changed, 0 insertions, 0 deletions