linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* ARM: topology: Checking for a failed kcalloc() in parse_dt_topology()?
@ 2016-12-03 14:00 SF Markus Elfring
  0 siblings, 0 replies; only message in thread
From: SF Markus Elfring @ 2016-12-03 14:00 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-03 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-03 14:00 ARM: topology: Checking for a failed kcalloc() in parse_dt_topology()? SF Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).