Messages in this thread | | | Date | Mon, 23 Jul 2018 11:07:26 -0700 (PDT) | Subject | Re: [PATCH net-next] wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_muram_alloc | From | David Miller <> |
| |
From: YueHaibing <yuehaibing@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@huawei.com>
Applied, thanks.
| |