mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] pda_power: USB notifier fixes
@ 2014-03-30 13:34 Mathias Krause
  2014-03-30 13:34 ` [PATCH 1/2] pda_power: Statically initialize notifier block Mathias Krause
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mathias Krause @ 2014-03-30 13:34 UTC (permalink / raw)
  To: Dmitry Eremin-Solenikov, David Woodhouse
  Cc: linux-kernel, Mathias Krause, PaX Team, Felipe Balbi, Anton Vorontsov

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-04-14 22:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-30 13:34 [PATCH 0/2] pda_power: USB notifier fixes Mathias Krause
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

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®