From: SF Markus Elfring <elfring@users.sourceforge.net>
To: linux-arm-kernel@lists.infradead.org,
Juri Lelli <juri.lelli@arm.com>,
Russell King <linux@armlinux.org.uk>,
Vincent Guittot <vincent.guittot@linaro.org>
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: ARM: topology: Checking for a failed kcalloc() in parse_dt_topology()?
Date: Sat, 3 Dec 2016 15:00:12 +0100 [thread overview]
Message-ID: <d28439db-9915-e0d9-9bfc-3436c943cbd4@users.sourceforge.net> (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
reply other threads:[~2016-12-03 14:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d28439db-9915-e0d9-9bfc-3436c943cbd4@users.sourceforge.net \
--to=elfring@users.sourceforge.net \
--cc=juri.lelli@arm.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=vincent.guittot@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome