summaryrefslogtreecommitdiff
path: root/include/linux/dmapool.h
diff options
context:
space:
mode:
authorGuangshuo Li <lgs201920130244@gmail.com>2025-09-23 21:32:35 +0800
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-01-29 09:06:01 +0530
commit33c1c6d8a28a2761ac74b0380b2563cf546c2a3a (patch)
treeb0467573f203d7499576b4110bb96987b07703a8 /include/linux/dmapool.h
parent4acc549e800e1035475995b6b144040561115fa8 (diff)
powerpc/smp: Add check for kcalloc() failure in parse_thread_groups()
As kcalloc() may fail, check its return value to avoid a NULL pointer dereference when passing it to of_property_read_u32_array(). Fixes: 790a1662d3a26 ("powerpc/smp: Parse ibm,thread-groups with multiple properties") Cc: stable@vger.kernel.org Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250923133235.1862108-1-lgs201920130244@gmail.com
Diffstat (limited to 'include/linux/dmapool.h')
0 files changed, 0 insertions, 0 deletions