From: David Woodhouse <dwmw2@infradead.org>
To: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mtd: bcm47xxsflash: the argument to kfree should not be the address of a structure field
Date: Thu, 05 Sep 2013 09:36:42 +0100 [thread overview]
Message-ID: <1378370202.2627.39.camel@shinybook.infradead.org> (raw)
In-Reply-To: <52282C86.9050306@cn.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
On Thu, 2013-09-05 at 15:02 +0800, Duan Jiong wrote:
> err_dev_reg:
> - kfree(&b47s->mtd);
> + kfree(b47s);
> out:
> return err;
> }
Thanks, but this is already fixed in linux-next, and will be going to
Linus very shortly:
http://git.infradead.org/linux-mtd.git/commitdiff/d2b1bd1422
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5745 bytes --]
prev parent reply other threads:[~2013-09-05 8:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-05 7:02 Duan Jiong
2013-09-05 8:36 ` David Woodhouse [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=1378370202.2627.39.camel@shinybook.infradead.org \
--to=dwmw2@infradead.org \
--cc=duanj.fnst@cn.fujitsu.com \
--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
all inboxes | Powered by JetHome®