diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-03-02 13:11:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-03 17:17:14 -0500 |
commit | 1d3cd1773fddfdc9ffb0c2dec9a954c7a54bc207 (patch) | |
tree | ebaa42d0f51e8532e6de598633db1b72a61231e9 /drivers/net/ethernet/emulex | |
parent | 63a0a00b90b5193173bcf76ef24afdda8eb05d3a (diff) | |
download | linux-stable-1d3cd1773fddfdc9ffb0c2dec9a954c7a54bc207.tar.gz linux-stable-1d3cd1773fddfdc9ffb0c2dec9a954c7a54bc207.tar.bz2 linux-stable-1d3cd1773fddfdc9ffb0c2dec9a954c7a54bc207.zip |
net: moxa: fix an error code
We accidentally return IS_ERR(priv->base) which is 1 instead of
PTR_ERR(priv->base) which is the error code.
Fixes: 6c821bd9edc9 ('net: Add MOXA ART SoCs ethernet driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
0 files changed, 0 insertions, 0 deletions