aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-08-23 19:44:41 +0800
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-08-23 15:40:55 +0200
commit39dbbd4e6778ac5580313ba34409855250633c61 (patch)
tree4788023d6a420b33d646f47e539b3b4bfc6673ff /tools/perf/scripts/python/export-to-postgresql.py
parente61f1a729da850cca2c2d7e045b27c3fd4830d7c (diff)
pinctrl: samsung: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kmemdup_array() take care about multiplication and possible overflows. Using kmemdup_array() is more appropriate and makes the code easier to audit. Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Link: https://lore.kernel.org/r/20240823114441.50648-1-shenlichuan@vivo.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions