linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: SF Markus Elfring <elfring@users.sourceforge.net>
To: linux-alpha@vger.kernel.org, Jiri Kosina <jkosina@suse.cz>,
	Josh Poimboeuf <jpoimboe@redhat.com>,
	Matt Turner <mattst88@gmail.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Richard Henderson <rth@twiddle.net>,
	Rusty Russell <rusty@rustcorp.com.au>
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: alpha: Checking for a failed kmalloc() in process_reloc_for_got()?
Date: Sat, 3 Dec 2016 14:15:20 +0100	[thread overview]
Message-ID: <f5890058-e6e8-00ca-22c4-e1521cb5bf56@users.sourceforge.net> (raw)

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

             reply	other threads:[~2016-12-03 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-03 13:15 SF Markus Elfring [this message]
2016-12-04  0:10 ` alpha: Checking for a failed kmalloc() in process_reloc_for_got()? Jiri Kosina
2016-12-04 10:20   ` SF Markus Elfring

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=f5890058-e6e8-00ca-22c4-e1521cb5bf56@users.sourceforge.net \
    --to=elfring@users.sourceforge.net \
    --cc=jkosina@suse.cz \
    --cc=jpoimboe@redhat.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mattst88@gmail.com \
    --cc=peterz@infradead.org \
    --cc=rth@twiddle.net \
    --cc=rusty@rustcorp.com.au \
    /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;
as well as URLs for NNTP newsgroup(s).