diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-07-23 22:12:33 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-23 11:07:10 -0700 |
commit | fd800f646402c0f85547166b59ca065175928b7b (patch) | |
tree | 7741e9fec3b190b5c5db6622988fd4169856dbe2 /drivers/infiniband/hw/hfi1/exp_rcv.c | |
parent | 6a525818b135d72f3706b5114174e5215c217054 (diff) |
wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_muram_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: c19b6d246a35 ("drivers/net: support hdlc function for QE-UCC")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/exp_rcv.c')
0 files changed, 0 insertions, 0 deletions