diff options
| author | Wei Yongjun <[email protected]> | 2018-09-20 06:21:28 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2018-09-21 09:00:51 -0700 |
| commit | 184744e9a0142f30d66ee369502c8f47d25a6928 (patch) | |
| tree | fcfc7bbdc822c5dba69fe5020f113f498497cd97 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 69f8455f6cc78fa6cdf80d0105d7a748106271dc (diff) | |
pinctrl: mediatek: paris: fix return value check in mtk_paris_pinctrl_probe()
In case of error, the function devm_kmalloc_array() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Fixes: 805250982bb5 ("pinctrl: mediatek: add pinctrl-paris that implements the vendor dt-bindings")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Sean Wang <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions