aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-05-22 10:44:54 +0300
committerLinus Walleij <[email protected]>2023-05-24 10:51:30 +0200
commit35216718c9ac2aef934ea9cd229572d4996807b2 (patch)
tree73b99c7619600813808d492a02a59c1e78d9fb38 /tools/perf/scripts/python/libxed.py
parent772be1da8e51ad087b88372e8df10ba4a571f9af (diff)
pinctrl: at91: fix a couple NULL vs IS_ERR() checks
The devm_kasprintf_strarray() function doesn't return NULL on error, it returns error pointers. Update the checks accordingly. Fixes: f494c1913cbb ("pinctrl: at91: use devm_kasprintf() to avoid potential leaks (part 2)") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Claudiu Beznea <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Ryan Wanner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions