[PATCH net-next] wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_muram_alloc

David Miller davem at davemloft.net
Tue Jul 24 04:07:26 AEST 2018


From: YueHaibing <yuehaibing at huawei.com>
Date: Mon, 23 Jul 2018 22:12:33 +0800

> qe_muram_alloc return a unsigned long integer,which should not
> compared with zero. check it using IS_ERR_VALUE() to fix this.
> 
> Fixes: c19b6d246a35 ("drivers/net: support hdlc function for QE-UCC")
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>

Applied, thanks.


More information about the Linuxppc-dev mailing list