diff options
| author | 2019-09-25 13:58:22 +0300 | |
|---|---|---|
| committer | 2019-09-27 10:15:11 +0200 | |
| commit | f10210517a2f37feea2edf85eb34c98977265c16 (patch) | |
| tree | 919387ba25fff217362cdd03f009696fc24caa3a /include/linux/debugobjects.h | |
| parent | net: socionext: Fix a signedness bug in ave_probe() (diff) | |
net: stmmac: dwmac-meson8b: Fix signedness bug in probe
The "dwmac->phy_mode" is an enum and in this context GCC treats it as
an unsigned int so the error handling is never triggered.
Fixes: 566e82516253 ("net: stmmac: add a glue driver for the Amlogic Meson 8b / GXBB DWMAC")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
