diff options
| author | 2024-01-15 17:43:30 +0800 | |
|---|---|---|
| committer | 2025-11-11 14:39:25 +0530 | |
| commit | 2617bd81ae54128e63e764c48935e572e3dee501 (patch) | |
| tree | 786f6fc9c4dda8593cc9148337bb0e2301dcd04f /scripts/Makefile.thinlto | |
| parent | arch:powerpc:tools This file was missing shebang line, so added it (diff) | |
powerpc/83xx: Add a null pointer check to mcu_gpiochip_add
kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20240115094330.33014-1-chentao@kylinos.cn
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
