mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
[ Upstream commiteca81f0914] The "plat->phy_interface" variable is an enum and in this context GCC will treat it as an unsigned int so the error handling is never triggered. Fixes:b9f0b2f634("net: stmmac: platform: fix probe for ACPI devices") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
79ec7b5b2f
commit
bb737eceb9
1 changed files with 5 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue