Messages in this thread | | | Date | Mon, 24 Jun 2019 08:57:58 -0700 (PDT) | Subject | Re: [PATCH net] net: macb: do not copy the mac address if NULL | From | David Miller <> |
| |
From: Antoine Tenart <antoine.tenart@bootlin.com> Date: Fri, 21 Jun 2019 17:26:35 +0200
> This patch fixes the MAC address setup in the probe. The MAC address > retrieved using of_get_mac_address was checked for not containing an > error, but it may also be NULL which wasn't tested. Fix it by replacing > IS_ERR with IS_ERR_OR_NULL. > > Fixes: 541ddc66d665 ("net: macb: support of_get_mac_address new ERR_PTR error") > Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Applied, thanks.
| |