summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-09-25 12:59:11 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-27 10:17:22 +0200
commit73e211e11be86715d66bd3c9d38b3c34b05fca9a (patch)
tree2506e70922113c09c300c9e80e0f844058ccbc90 /drivers/of
parentnet: stmmac: dwmac-meson8b: Fix signedness bug in probe (diff)
downloadlinux-73e211e11be86715d66bd3c9d38b3c34b05fca9a.tar.xz
linux-73e211e11be86715d66bd3c9d38b3c34b05fca9a.zip
net: axienet: fix a signedness bug in probe
The "lp->phy_mode" is an enum but in this context GCC treats it as an unsigned int so the error handling is never triggered. Fixes: ee06b1728b95 ("net: axienet: add support for standard phy-mode binding") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions