ARM: topology: Checking for a failed kcalloc() in parse_dt_topology()?
From: SF Markus Elfring
Date: Sat Dec 03 2016 - 09:09:51 EST
Hello,
Another run of a small script for the semantic patch language (Coccinelle)
pointed the implementation of the function âparse_dt_topologyâ out for
further considerations.
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/arm/kernel/topology.c?id=e05f574a0bb1f4502a4b2264fdb0ef6419cf3772#n285
Would it be useful to check the return value from a call of the
function âkcallocâ also there?
Regards,
Markus