Re: [PATCH] PnP Updates for 2.6.2-rc2
From: Adam Belay (ambx1_at_neo.rr.com)
Date: 01/30/04
- Previous message: Adam Belay: "Re: [PATCH] PnP Updates for 2.6.2-rc2"
- In reply to: Adam Belay: "[PATCH] PnP Updates for 2.6.2-rc2"
- Next in thread: Adam Belay: "Re: [PATCH] PnP Updates for 2.6.2-rc2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jan 2004 23:57:54 +0000 To: Andrew Morton <akpm@osdl.org>
Recently many PnPBIOS bugs have been triggered by static resource information
requests. This patch makes an effort to further avoid making them.
diff -urN a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c
--- a/drivers/pnp/pnpbios/core.c 2004-01-09 06:59:06.000000000 +0000
+++ b/drivers/pnp/pnpbios/core.c 2004-01-17 21:45:05.000000000 +0000
@@ -251,7 +251,7 @@
node = pnpbios_kmalloc(node_info.max_node_size, GFP_KERNEL);
if (!node)
return -1;
- if (pnp_bios_get_dev_node(&nodenum, (char )PNPMODE_STATIC, node))
+ if (pnp_bios_get_dev_node(&nodenum, (char )PNPMODE_DYNAMIC, node))
return -ENODEV;
if(pnpbios_write_resources_to_node(res, node)<0) {
kfree(node);
-
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: Adam Belay: "Re: [PATCH] PnP Updates for 2.6.2-rc2"
- In reply to: Adam Belay: "[PATCH] PnP Updates for 2.6.2-rc2"
- Next in thread: Adam Belay: "Re: [PATCH] PnP Updates for 2.6.2-rc2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|