[patch 1/2 net-next] mediatek: checking for IS_ERR() instead of NULL

David Miller davem at davemloft.net
Fri Mar 18 15:31:08 PDT 2016


From: Dan Carpenter <dan.carpenter at oracle.com>
Date: Tue, 15 Mar 2016 10:18:49 +0300

> of_phy_connect() returns NULL on error, it never returns error pointers.
> 
> Fixes: 656e705243fd ('net-next: mediatek: add support for MT7623 ethernet')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Applied.



More information about the Linux-mediatek mailing list