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 /tools/perf/scripts/python | |
| parent | Merge branch 'smc-next' (diff) | |
| download | linux-fd800f646402c0f85547166b59ca065175928b7b.tar.gz linux-fd800f646402c0f85547166b59ca065175928b7b.zip | |
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')
0 files changed, 0 insertions, 0 deletions
