[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130508.131509.415569462200175410.davem@davemloft.net>
Date: Wed, 08 May 2013 13:15:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiyj.lk@...il.com
Cc: linux-net-drivers@...arflare.com, bhutchings@...arflare.com,
yongjun_wei@...ndmicro.com.cn, netdev@...r.kernel.org
Subject: Re: [PATCH] sfc: fix return value check in efx_ptp_probe_channel()
From: Wei Yongjun <weiyj.lk@...il.com>
Date: Tue, 7 May 2013 20:19:25 +0800
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function ptp_clock_register() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check should
> be replaced with IS_ERR().
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists