summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2024-01-17 17:17:06 +0800
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-09-10 13:19:25 +0530
commit9e5c53d75c560a058abef0e4338c5e3e52cb432a (patch)
tree89985eb7c1653f1c742f06e7b1eceb729a7f68c1 /scripts/Makefile.thinlto
parent15f3ce3aa218f6d4cece9101f1af4332e8712e39 (diff)
downloadlinux-9e5c53d75c560a058abef0e4338c5e3e52cb432a.tar.gz
linux-9e5c53d75c560a058abef0e4338c5e3e52cb432a.zip
powerpc/pasemi: Add a null pointer check to the pas_setup_mce_regs
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> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20240117091706.153431-1-chentao@kylinos.cn
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions