Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_mura…
…m_alloc qe_muram_alloc return a unsigned long integer,which should not compared with zero. check it using IS_ERR_VALUE() to fix this. Fixes: c19b6d2 ("drivers/net: support hdlc function for QE-UCC") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information