diff options
author | 2021-07-07 15:53:35 +0800 | |
---|---|---|
committer | 2021-07-07 13:43:50 -0700 | |
commit | eca81f09145d765c21dd8fb1ba5d874ca255c32c (patch) | |
tree | 1d9f62a9c7a47c19ac5c2ce5a4a50f191f4157b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | stmmac: dwmac-loongson: Fix unsigned comparison to zero (diff) | |
download | linux-dev-eca81f09145d765c21dd8fb1ba5d874ca255c32c.tar.xz linux-dev-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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions