diff options
author | Shen Lichuan <shenlichuan@vivo.com> | 2024-08-23 19:44:41 +0800 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-08-23 15:40:55 +0200 |
commit | 39dbbd4e6778ac5580313ba34409855250633c61 (patch) | |
tree | 4788023d6a420b33d646f47e539b3b4bfc6673ff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e61f1a729da850cca2c2d7e045b27c3fd4830d7c (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