Re: [2.6.9+] PnPBIOS: Missing SMALL_TAG_ENDDEP tag

From: Rene Herman
Date: Sun Dec 05 2004 - 20:05:38 EST


matthieu castet wrote:

- if (option_independent == option)
- printk(KERN_WARNING "PnPBIOS: Missing SMALL_TAG_STARTDEP tag\n");

this one shouldn't be removed

option = option_independent;
break;
case SMALL_TAG_END:
- if (option_independent != option)
- printk(KERN_WARNING "PnPBIOS: Missing SMALL_TAG_ENDDEP tag\n");

ok for this one, may be change it to pnp_dbg(...)

Works for me to. Updated patch attached that only removes the missing ENDDEP warning.

Rene. --- linux-2.6.10-rc3.orig/drivers/pnp/pnpbios/rsparser.c 2004-12-04 03:10:03.000000000 +0100
+++ linux-2.6.10-rc3/drivers/pnp/pnpbios/rsparser.c 2004-12-06 01:59:44.000000000 +0100
@@ -439,11 +439,7 @@
break;

case SMALL_TAG_END:
- if (option_independent != option)
- printk(KERN_WARNING "PnPBIOS: Missing SMALL_TAG_ENDDEP tag\n");
- p = p + 2;
- return (unsigned char *)p;
- break;
+ return p + 2;

default: /* an unkown tag */
len_err: