[Linux-stm32] [PATCH net] net: stmmac: dwmac-meson8b: Fix signedness bug in probe
David Miller
davem at davemloft.net
Fri Sep 27 08:15:48 UTC 2019
From: Dan Carpenter <dan.carpenter at oracle.com>
Date: Wed, 25 Sep 2019 13:58:22 +0300
> 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 at oracle.com>
Applied.
More information about the Linux-stm32
mailing list