aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2018-09-20 06:21:50 +0000
committerLinus Walleij <[email protected]>2018-09-21 09:08:18 -0700
commit068cfb9a0fd908747f29d048719f254e21b9dad5 (patch)
tree9d430330221d4440414b7589807d3ca58c7ca069 /tools/perf/scripts/python/net_dropmonitor.py
parent07c6b037c2bae2a0f1978198f1486b3b2681261b (diff)
pinctrl: mediatek: moore: fix return value check in mtk_moore_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: b7d7f9eeca55 ("pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on") 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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions