aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-06-06 11:22:42 +0300
committerRafael J. Wysocki <[email protected]>2023-06-12 19:51:21 +0200
commit49776c712eb6ded12fcbb8cc915a498dbfb47311 (patch)
tree3f929025c93859e6a3d430451ac64c78ef6062a8 /tools/perf/util/scripting-engines/trace-event-python.c
parent4658fe81b3f8afe8adf37734ec5fe595d90415c6 (diff)
powercap: RAPL: Fix a NULL vs IS_ERR() bug
The devm_ioremap_resource() function returns error pointers on error, it never returns NULL. Update the check accordingly. Fixes: 9eef7f9da928 ("powercap: intel_rapl: Introduce RAPL TPMI interface driver") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Zhang Rui <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions