[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f5890058-e6e8-00ca-22c4-e1521cb5bf56@users.sourceforge.net>
Date: Sat, 3 Dec 2016 14:15:20 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-alpha@...r.kernel.org, Jiri Kosina <jkosina@...e.cz>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Matt Turner <mattst88@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Richard Henderson <rth@...ddle.net>,
Rusty Russell <rusty@...tcorp.com.au>
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: alpha: Checking for a failed kmalloc() in process_reloc_for_got()?
Hello,
Another run of a small script for the semantic patch language (Coccinelle)
pointed the implementation of the function “process_reloc_for_got” out for
further considerations.
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/arch/alpha/kernel/module.c?id=e05f574a0bb1f4502a4b2264fdb0ef6419cf3772#n40
Would it be useful to check the return value from a call of the
function “kmalloc” also there?
Regards,
Markus
Powered by blists - more mailing lists