summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorXinghuo Chen <xinghuo.chen@foxmail.com>2025-03-03 15:57:33 +0300
committerGuenter Roeck <linux@roeck-us.net>2025-03-03 17:04:34 +0300
commit10fce7ebe888fa8c97eee7e317a47e7603e5e78d (patch)
treefe1e2d1eb43f7789d4dee524ac02a0872daca124 /tools/perf/scripts/python/task-analyzer.py
parente278d5e8aef4c0a1d9a9fa8b8910d713a89aa800 (diff)
downloadlinux-10fce7ebe888fa8c97eee7e317a47e7603e5e78d.tar.xz
hwmon: fix a NULL vs IS_ERR_OR_NULL() check in xgene_hwmon_probe()
The devm_memremap() function returns error pointers on error, it doesn't return NULL. Fixes: c7cefce03e69 ("hwmon: (xgene) access mailbox as RAM") Signed-off-by: Xinghuo Chen <xinghuo.chen@foxmail.com> Link: https://lore.kernel.org/r/tencent_9AD8E7683EC29CAC97496B44F3F865BA070A@qq.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions