diff options
author | Chen Ni <[email protected]> | 2023-10-31 08:08:07 +0000 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2023-11-13 15:12:29 +0100 |
commit | b0eeba527e704d6023a6cd9103f929226e326b03 (patch) | |
tree | c7fdc7a185143a619e72e25d6f8ed3d09dba0c0d /scripts/generate_rust_analyzer.py | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
pinctrl: stm32: Add check for devm_kcalloc
Add check for the return value of devm_kcalloc() and return the error
if it fails in order to avoid NULL pointer dereference.
Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names")
Signed-off-by: Chen Ni <[email protected]>
Acked-by: Valentin Caron <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions