diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2018-07-23 17:12:33 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-23 21:07:10 +0300 |
| commit | fd800f646402c0f85547166b59ca065175928b7b (patch) | |
| tree | 7741e9fec3b190b5c5db6622988fd4169856dbe2 /tools/perf/scripts/python/netdev-times.py | |
| parent | 6a525818b135d72f3706b5114174e5215c217054 (diff) | |
| download | linux-fd800f646402c0f85547166b59ca065175928b7b.tar.xz | |
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 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
