diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-03-29 14:06:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-02 16:12:14 +0200 |
| commit | 64b1510642f845d90ad2aa35111582a4492e801b (patch) | |
| tree | 0a9a305b1162c6d4cbb63c9d85931264a4e8bf79 /tools/perf/scripts/python/flamegraph.py | |
| parent | 211b4d42b70f1c1660feaa968dac0efc2a96ac4d (diff) | |
| download | linux-64b1510642f845d90ad2aa35111582a4492e801b.tar.gz linux-64b1510642f845d90ad2aa35111582a4492e801b.zip | |
serial: 8250_bcm7271: Fix return value check in brcmuart_probe()
In case of error, the function devm_ioremap() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.
Fixes: 41a469482de2 ("serial: 8250: Add new 8250-core based Broadcom STB driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Al Cooper <alcooperx@gmail.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20210329140659.1832950-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
