From: Adam Belay <ambx1@neo.rr.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PnP Fixes for 2.6.0-test5
Date: Sun, 21 Sep 2003 20:12:52 +0000 [thread overview]
Message-ID: <20030921201252.GH24897@neo.rr.com> (raw)
In-Reply-To: <20030921200935.GB24897@neo.rr.com>
# --------------------------------------------
# 03/09/21 ambx1@neo.rr.com 1.1360
# [PNPBIOS] return proper error codes on init failure
# --------------------------------------------
#
diff -Nru a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c
--- a/drivers/pnp/pnpbios/core.c Sun Sep 21 19:45:42 2003
+++ b/drivers/pnp/pnpbios/core.c Sun Sep 21 19:45:42 2003
@@ -484,15 +484,17 @@
pnpbios_calls_init(pnp_bios_install);
/* read the node info */
- if (pnp_bios_dev_node_info(&node_info)) {
+ ret = pnp_bios_dev_node_info(&node_info);
+ if (ret) {
printk(KERN_ERR "PnPBIOS: Unable to get node info. Aborting.\n");
- return -EIO;
+ return ret;
}
/* register with the pnp layer */
- if (pnp_register_protocol(&pnpbios_protocol)) {
+ ret = pnp_register_protocol(&pnpbios_protocol);
+ if (ret) {
printk(KERN_ERR "PnPBIOS: Unable to register driver. Aborting.\n");
- return -EIO;
+ return ret;
}
/* start the proc interface */
next prev parent reply other threads:[~2003-09-22 0:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-21 20:09 [PATCH] PnP Fixes for 2.6.0-test5 Adam Belay
2003-09-21 20:10 ` Adam Belay
2003-09-21 20:10 ` Adam Belay
2003-09-21 20:11 ` Adam Belay
2003-09-22 11:32 ` Alan Cox
2003-09-24 16:25 ` Adam Belay
2003-09-21 20:11 ` Adam Belay
2003-09-21 20:12 ` Adam Belay
2003-09-21 20:12 ` Adam Belay [this message]
2003-09-21 20:13 ` Adam Belay
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=20030921201252.GH24897@neo.rr.com \
--to=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