[PATCH] PnPBIOS: Missing SMALL_TAG_ENDDEP tag

From: Rene Herman
Date: Thu Jan 19 2006 - 01:26:57 EST


Hi Andrew.

Sorry, second copy, forgot to CC LKML.

Without the attached, the kernel complains about my BIOS' PNP tables. It
was ACKed before, but never merged:

http://marc.theaimsgroup.com/?l=linux-kernel&m=110237794007900&w=2

Rene.

Index: local/drivers/pnp/pnpbios/rsparser.c
===================================================================
--- local.orig/drivers/pnp/pnpbios/rsparser.c 2006-01-03 04:21:10.000000000 +0100
+++ local/drivers/pnp/pnpbios/rsparser.c 2006-01-18 09:41:07.000000000 +0100
@@ -448,11 +448,7 @@ pnpbios_parse_resource_option_data(unsig
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: