From: YueHaibing <yuehaib...@huawei.com>
Date: Tue, 4 Aug 2020 21:26:43 +0800

> Fix smatch warning:
> 
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2419
>  alloc_channel() warn: passing zero to 'ERR_PTR'
> 
> setup_dpcon() should return ERR_PTR(err) instead of zero in error
> handling case.
> 
> Fixes: d7f5a9d89a55 ("dpaa2-eth: defer probe on object allocate")
> Signed-off-by: YueHaibing <yuehaib...@huawei.com>

Applied and queued up for -stable, thank you.

Reply via email to