Subject: Re: [PATCH net-next v1] net: ethernet: emac: utilize of_net's of_get_mac_address()

From: Andrew Lunn <[email-masked]>
Date: Sun, 26 Sep 2021 16:35:09 +0200

> +	err = of_get_mac_address(np, dev->ndev->dev_addr);
> +	if (err) {
> +		if (err != -EPROBE_DEFER)
> +			dev_err(&dev->ofdev->dev, "Can't get valid [local-]mac-address from OF !\n");
> +		return err;

I think there is a helper which does the if (err != -EPRODE_DEFER)
then print, but i cannot remember its name. Probably the script kids
will come along and convert it for you.

Reviewed-by: Andrew Lunn <[email-masked]>

    Andrew