[PATCH] net: mediatek: fix checking for NULL instead of IS_ERR() in .probe

David Miller davem at davemloft.net
Wed Mar 23 10:50:15 PDT 2016


From: Vladimir Zapolskiy <vz at mleia.com>
Date: Wed, 23 Mar 2016 01:06:04 +0200

> devm_ioremap_resource() returns ERR_PTR() value on error, it never
> returns NULL, fix it and propagate the returned error upwards.
> 
> Fixes: 656e705243fd ("net-next: mediatek: add support for MT7623 ethernet")
> Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>

Applied, thanks.



More information about the linux-arm-kernel mailing list