From: Sebastian Reichel <sre@kernel.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: Vaishali Thakkar <vthakkar1994@gmail.com>,
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
David Woodhouse <dwmw2@infradead.org>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] power_supply: Adjust devm usage
Date: Mon, 3 Aug 2015 19:29:51 +0200 [thread overview]
Message-ID: <20150803172951.GE4856@earth> (raw)
In-Reply-To: <20150802065343.GA32270@amd>
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
Hi,
On Sun, Aug 02, 2015 at 08:53:43AM +0200, Pavel Machek wrote:
> On Fri 2015-07-24 17:28:13, Vaishali Thakkar wrote:
> > Use devm_kasprintf instead of kasprintf. Also, remove various
> > gotos by direct returns and drop unneeded label err_free_name.
>
> What happens if some /sys file is still open when the device is
> removed?
There is currently discussion about this on LKML:
https://lkml.org/lkml/2015/7/15/731
-- Sebastian
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-08-03 17:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-24 11:58 [PATCH] power_supply: Adjust devm usage Vaishali Thakkar
2015-07-24 12:17 ` Frans Klaver
2015-07-24 12:29 ` Krzysztof Kozlowski
2015-07-24 12:35 ` Vaishali Thakkar
2015-07-24 12:26 ` Sebastian Reichel
2015-07-24 12:33 ` Vaishali Thakkar
2015-07-24 12:59 ` Sebastian Reichel
2015-07-24 13:14 ` Vaishali Thakkar
2015-07-24 13:38 ` Sebastian Reichel
2015-07-24 13:42 ` Vaishali Thakkar
2015-07-24 12:36 ` Krzysztof Kozlowski
2015-07-24 12:39 ` Frans Klaver
2015-07-24 13:01 ` Sebastian Reichel
2015-08-02 6:53 ` Pavel Machek
2015-08-03 17:29 ` Sebastian Reichel [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=20150803172951.GE4856@earth \
--to=sre@kernel.org \
--cc=dbaryshkov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=vthakkar1994@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.