linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Wei Yongjun <weiyj.lk@gmail.com>
Cc: Bruno Herrera <bruherrera@gmail.com>,
	Tony Lindgren <tony@atomide.com>,
	Wei Yongjun <weiyongjun1@huawei.com>,
	linux-wireless@vger.kernel.org
Subject: Re: [-next] wlcore: sdio: drop kfree for memory allocated with devm_kzalloc
Date: Wed,  5 Oct 2016 16:05:49 +0000 (UTC)	[thread overview]
Message-ID: <20161005160549.BC13961B13@smtp.codeaurora.org> (raw)
In-Reply-To: <1475073516-7328-1-git-send-email-weiyj.lk@gmail.com>

Wei Yongjun <weiyj.lk@gmail.com> wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>
> 
> It's not necessary to free memory allocated with devm_kzalloc
> and using kfree leads to a double free.
> 
> Fixes: d776fc86b82f ("wlcore: sdio: Populate config firmware data")
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> Acked-by: Tony Lindgren <tony@atomide.com>

Patch applied to wireless-drivers.git, thanks.

f38b7c254753 wlcore: sdio: drop kfree for memory allocated with devm_kzalloc

-- 
https://patchwork.kernel.org/patch/9353985/

Documentation about submitting wireless patches and checking status
from patchwork:

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

      parent reply	other threads:[~2016-10-05 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-28 14:38 [PATCH -next] wlcore: sdio: drop kfree for memory allocated with devm_kzalloc Wei Yongjun
2016-09-28 15:11 ` Tony Lindgren
2016-10-05 16:05 ` Kalle Valo [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=20161005160549.BC13961B13@smtp.codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=bruherrera@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tony@atomide.com \
    --cc=weiyj.lk@gmail.com \
    --cc=weiyongjun1@huawei.com \
    /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).