diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-07-07 15:53:35 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-07 13:43:50 -0700 |
commit | eca81f09145d765c21dd8fb1ba5d874ca255c32c (patch) | |
tree | 1d9f62a9c7a47c19ac5c2ce5a4a50f191f4157b9 /tools/testing | |
parent | 0d472c69c6a5e22cef9e5809e2f6d0ccd5934f4a (diff) | |
download | lwn-eca81f09145d765c21dd8fb1ba5d874ca255c32c.tar.gz lwn-eca81f09145d765c21dd8fb1ba5d874ca255c32c.zip |
stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
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: b9f0b2f634c0 ("net: stmmac: platform: fix probe for ACPI devices")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions