diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-03-02 13:11:10 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:13 +0200 |
| commit | 82272e6a256715474b081ac4cae80f8aa9eb2e02 (patch) | |
| tree | c44a65d25b4c98a0f223ed94f0fecd323a1b7380 /include/uapi/linux/patchkey.h | |
| parent | 50e3059e6e542b1d43090b41cd46ddd97c07bdce (diff) | |
net: moxa: fix an error code
commit 1d3cd1773fddfdc9ffb0c2dec9a954c7a54bc207 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
