diff options
| author | YueHaibing <[email protected]> | 2021-07-07 07:53:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-07-07 20:43:50 +0000 |
| commit | eca81f09145d765c21dd8fb1ba5d874ca255c32c (patch) | |
| tree | 1d9f62a9c7a47c19ac5c2ce5a4a50f191f4157b9 /net/ipv4/tcp_output.c | |
| parent | stmmac: dwmac-loongson: Fix unsigned comparison to zero (diff) | |
| download | kernel-eca81f09145d765c21dd8fb1ba5d874ca255c32c.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
