From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: Julia Lawall <julia@diku.dk>,
Samuel Ortiz <sameo@linux.intel.com>,
kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: devm_kfree
Date: Mon, 26 Dec 2011 14:23:55 +0000 [thread overview]
Message-ID: <20111226142354.GI8722@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1112261440450.1873@localhost6.localdomain6>
On Mon, Dec 26, 2011 at 02:44:58PM +0100, Julia Lawall wrote:
> Is it reasonable to use devm_kfree in a probe function that fails or
> a remove function that succeeds?
If we need to do this I'd suggest that we should be fixing the manager
to not need it rather than having drivers do this.
next prev parent reply other threads:[~2011-12-26 14:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-23 17:39 [PATCH 1/9] drivers/mfd/88pm860x-i2c.c: introduce missing kfree Julia Lawall
2011-12-26 12:08 ` Mark Brown
2011-12-26 12:18 ` Julia Lawall
2011-12-26 12:20 ` Mark Brown
2011-12-26 13:44 ` devm_kfree Julia Lawall
2011-12-26 14:23 ` Mark Brown [this message]
2011-12-26 16:17 ` devm_kfree Julia Lawall
2011-12-26 16:19 ` devm_kfree Mark Brown
2011-12-27 2:48 ` devm_kfree Adam Jiang
2011-12-27 6:10 ` devm_kfree Julia Lawall
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=20111226142354.GI8722@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=julia.lawall@lip6.fr \
--cc=julia@diku.dk \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.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