Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1535407

ARM: topology: Checking for a failed kcalloc() in parse_dt_topology()?

From SF Markus Elfring <elfring@users.sourceforge.net>
Newsgroups linux.kernel
Subject ARM: topology: Checking for a failed kcalloc() in parse_dt_topology()?
Date 2016-12-03 15:10 +0100
Message-ID <sKjaN-2n5-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

ARM: topology: Checking for a failed kcalloc() in  parse_dt_topology()? SF Markus Elfring <elfring@users.sourceforge.net> - 2016-12-03 15:10 +0100

csiph-web