From: Dan Carpenter <[email protected]> Date: Wed, 3 Jun 2020 20:50:25 +0300
> 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]>
Applied.
