aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorShen Lichuan <[email protected]>2024-08-23 19:44:41 +0800
committerKrzysztof Kozlowski <[email protected]>2024-08-23 15:40:55 +0200
commit39dbbd4e6778ac5580313ba34409855250633c61 (patch)
tree4788023d6a420b33d646f47e539b3b4bfc6673ff /scripts/generate_rust_analyzer.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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions