mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Peter Hüwe" <PeterHuewe@gmx.de>
To: Kiran Padwal <kiran.padwal@smartplayin.com>
Cc: ashley@ashleylai.com, tpmdd@selhorst.net,
	tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org,
	kiran.padwal21@gmail.com
Subject: Re: [PATCH] char: tpm: Add missing error check for devm_kzalloc
Date: Tue, 2 Dec 2014 21:51:05 +0100	[thread overview]
Message-ID: <201412022151.05517.PeterHuewe@gmx.de> (raw)
In-Reply-To: <1411110879-4106-1-git-send-email-kiran.padwal@smartplayin.com>

Am Freitag, 19. September 2014, 09:14:39 schrieb Kiran Padwal:
> Currently these driver are missing a check on the return value of
> devm_kzalloc, which would cause a NULL pointer dereference in a OOM
> situation.
> 
> This patch adds a missing check for tpm_i2c_atmel.c and tpm_i2c_nuvoton.c
> 
> Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Applied to my tree:
https://github.com/PeterHuewe/linux-tpmdd for-james

Will be included in the next pull-request.

Thanks,
Peter

      parent reply	other threads:[~2014-12-02 20:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-19  7:14 Kiran Padwal
2014-09-24 16:22 ` [tpmdd-devel] " Jason Gunthorpe
2014-12-02 20:51 ` Peter Hüwe [this message]

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=201412022151.05517.PeterHuewe@gmx.de \
    --to=peterhuewe@gmx.de \
    --cc=ashley@ashleylai.com \
    --cc=kiran.padwal21@gmail.com \
    --cc=kiran.padwal@smartplayin.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tpmdd-devel@lists.sourceforge.net \
    --cc=tpmdd@selhorst.net \
    /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

all inboxes | Powered by JetHome®