Re: [PATCH] PnP Fixes for 2.6.0-test5
From: Adam Belay (ambx1_at_neo.rr.com)
Date: 09/21/03
- Previous message: Eric W. Biederman: "Can we kill f inb_p, outb_p and other random I/O on port 0x80, in 2.6?"
- In reply to: Adam Belay: "[PATCH] PnP Fixes for 2.6.0-test5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Sep 2003 20:12:52 +0000 To: linux-kernel@vger.kernel.org
# --------------------------------------------
# 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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Eric W. Biederman: "Can we kill f inb_p, outb_p and other random I/O on port 0x80, in 2.6?"
- In reply to: Adam Belay: "[PATCH] PnP Fixes for 2.6.0-test5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|