On Thu, 12 Nov 2020 22:49:36 +0800 YueHaibing wrote: > Check PTR_ERR with IS_ERR to fix this. > > Fixes: cd5afa91f078 ("net: macb: Add null check for PCLK and HCLK") > Signed-off-by: YueHaibing <yuehaib...@huawei.com>
Looks like a cleanup PTR_ERR() should return 0 for NULL AFAICS. Applied to net-next, thanks!