From: matthieu castet <castet.matthieu@free.fr>
To: Linux Kernel list <linux-kernel@vger.kernel.org>,
Adam Belay <ambx1@neo.rr.com>
Subject: [bug] pnp_register_card_driver/pnp_unregister_card_driver
Date: Mon, 07 Feb 2005 20:33:47 +0100 [thread overview]
Message-ID: <4207C29B.8030105@free.fr> (raw)
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
next reply other threads:[~2005-02-07 19:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-07 19:33 matthieu castet [this message]
2005-02-07 20:01 ` [bug] pnp_register_card_driver/pnp_unregister_card_driver Adam Belay
2005-02-07 20:23 ` matthieu castet
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=4207C29B.8030105@free.fr \
--to=castet.matthieu@free.fr \
--cc=ambx1@neo.rr.com \
--cc=linux-kernel@vger.kernel.org \
/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