public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [bug] pnp_register_card_driver/pnp_unregister_card_driver
@ 2005-02-07 19:33 matthieu castet
  2005-02-07 20:01 ` Adam Belay
  0 siblings, 1 reply; 3+ messages in thread
From: matthieu castet @ 2005-02-07 19:33 UTC (permalink / raw)
  To: Linux Kernel list, Adam Belay

Hi,

pnp_register_driver could fail and return <0 result, in this case the 
driver shouldn't be pnp_unregister_driver.

But if you look in pnp_register_card_driver, the result isn't checked. 
And it is always pnp_unregister_driver in pnp_unregister_card_driver.

I know that pnp_register_card_driver shouldn't fail in normal condition, 
but who know...


Matthieu

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

end of thread, other threads:[~2005-02-07 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-07 19:33 [bug] pnp_register_card_driver/pnp_unregister_card_driver matthieu castet
2005-02-07 20:01 ` Adam Belay
2005-02-07 20:23   ` matthieu castet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox