From: Mathias Krause <minipli@googlemail.com>
To: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
David Woodhouse <dwmw2@infradead.org>
Cc: linux-kernel@vger.kernel.org,
Mathias Krause <minipli@googlemail.com>,
PaX Team <pageexec@freemail.hu>, Felipe Balbi <balbi@ti.com>,
Anton Vorontsov <anton@enomsg.org>
Subject: [PATCH 0/2] pda_power: USB notifier fixes
Date: Sun, 30 Mar 2014 15:34:13 +0200 [thread overview]
Message-ID: <1396186455-3276-1-git-send-email-minipli@googlemail.com> (raw)
The notifier block can and should be initialized statically. Fixed in
patch 1.
While doing patch 1 I noticed, that the USB notifier that gets registered
in pda_power_probe() never gets unregistered. Fixed in patch 2.
Beware: The patches are compile tested only, as I have no such hardware!
Please apply!
Mathias Krause (2):
pda_power: Statically initialize notifier block
pda_power: Unregister USB notifier in pda_power_remove()
drivers/power/pda_power.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
--
1.7.10.4
next reply other threads:[~2014-03-30 13:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-30 13:34 Mathias Krause [this message]
2014-03-30 13:34 ` [PATCH 1/2] pda_power: Statically initialize notifier block Mathias Krause
2014-03-30 13:34 ` [PATCH 2/2] pda_power: Unregister USB notifier in pda_power_remove() Mathias Krause
2014-04-14 21:35 ` Felipe Balbi
2014-04-14 22:07 ` Mathias Krause
2014-04-14 22:08 ` Felipe Balbi
2014-04-14 22:11 ` Mathias Krause
2014-04-14 19:51 ` [PATCH 0/2] pda_power: USB notifier fixes Mathias Krause
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=1396186455-3276-1-git-send-email-minipli@googlemail.com \
--to=minipli@googlemail.com \
--cc=anton@enomsg.org \
--cc=balbi@ti.com \
--cc=dbaryshkov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pageexec@freemail.hu \
/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®