summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-02-15 16:42:38 +0300
committerLinus Walleij <linus.walleij@linaro.org>2023-03-06 15:52:34 +0300
commitf494c1913cbb34b9e2078b7b045c87c1ca6df791 (patch)
treef98b1eb82cc1216d8f981f2a0c4ba4f19bc8473d /tools/perf
parentdc3c7404ed76870bec52e2f0760bc150b173e57e (diff)
downloadlinux-f494c1913cbb34b9e2078b7b045c87c1ca6df791.tar.xz
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 <andriy.shevchenko@linux.intel.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230215134242.37618-2-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions