[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160720.144751.2198896469609054053.davem@davemloft.net>
Date: Wed, 20 Jul 2016 14:47:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiyj_lk@....com
Cc: anirudh@...inx.com, John.Linn@...inx.com, michal.simek@...inx.com,
soren.brinkmann@...inx.com, srikanth.thokala@...inx.com,
yongjun_wei@...ndmicro.com.cn, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH -next] net: axienet: Fix return value check in
axienet_probe()
From: Wei Yongjun <weiyj_lk@....com>
Date: Tue, 19 Jul 2016 11:23:24 +0000
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function of_parse_phandle() returns NULL
> pointer not ERR_PTR(). The IS_ERR() test in the return value
> check should be replaced with NULL test.
>
> Fixes: 46aa27df8853 ('net: axienet: Use devm_* calls')
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Applied.
Powered by blists - more mailing lists