From: Dan Carpenter <dan.carpen...@oracle.com>
Date: Fri, 14 Oct 2016 22:26:11 +0300

> PTR_ERR(NULL) is success.  We have to preserve the error code earlier.
> 
> Fixes: 7086605a6ab5 ("stmmac: fix error check when init ptp")
> Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>

Good catch, applied.

Reply via email to