[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161015.173543.1886751731467613909.davem@davemloft.net>
Date: Sat, 15 Oct 2016 17:35:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: peppe.cavallaro@...com, alexandre.torgue@...com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] stmmac: fix an error code in stmmac_ptp_register()
From: Dan Carpenter <dan.carpenter@...cle.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.carpenter@...cle.com>
Good catch, applied.
Powered by blists - more mailing lists