diff options
author | Andy Shevchenko <[email protected]> | 2023-02-15 15:42:38 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2023-03-06 13:52:34 +0100 |
commit | f494c1913cbb34b9e2078b7b045c87c1ca6df791 (patch) | |
tree | f98b1eb82cc1216d8f981f2a0c4ba4f19bc8473d /tools/perf/scripts/python/stackcollapse.py | |
parent | dc3c7404ed76870bec52e2f0760bc150b173e57e (diff) |
pinctrl: at91: use devm_kasprintf() to avoid potential leaks (part 2)
Use devm_kasprintf() instead of kasprintf() to avoid any potential
leaks. At the moment drivers have no remove functionality hence
there is no need for fixes tag.
While at it, switch to use devm_kasprintf_strarray().
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Tested-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions