public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alessandro Rubini <rubini@gnudd.com>
To: dan.carpenter@oracle.com
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	kernel-janitors@vger.kernel.org
Subject: Re: [patch] FMC: fix error handling in probe() function
Date: Thu, 20 Jun 2013 16:09:47 +0200	[thread overview]
Message-ID: <20130620140947.GA9773@mail.gnudd.com> (raw)
In-Reply-To: <20130620081018.GB15095@elgon.mountain>

> The call to kzalloc() wasn't checked.
> The dev_info() message dereferenced freed memory on error.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Acked-by: Alessandro Rubini <rubini@gnudd.com>

Thanks!


      reply	other threads:[~2013-06-20 14:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20  8:10 [patch] FMC: fix error handling in probe() function Dan Carpenter
2013-06-20 14:09 ` Alessandro Rubini [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=20130620140947.GA9773@mail.gnudd.com \
    --to=rubini@gnudd.com \
    --cc=dan.carpenter@oracle.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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