aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-06-03 20:50:25 +0300
committerDavid S. Miller <[email protected]>2020-06-04 15:51:25 -0700
commitf6c1fb0a76d97447ea7f928ee6a113ee15318df1 (patch)
treea9758ea2f61c561ec4dde2bc364703fc77cb9aa9 /drivers/usb/cdns3/cdns3-debug.h
parentc7e261d81783387a0502878cd229327e7c54322e (diff)
net: ethernet: dwmac: Fix an error code in imx_dwmac_probe()
The code is return PTR_ERR(NULL) which is zero or success. We should return -ENOMEM instead. Fixes: 94abdad6974a5 ("net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Fugang Duan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions