[PATCH] PnPBIOS: Missing SMALL_TAG_ENDDEP tag

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

Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Rene Herman 2006-03-23 03:00:57 -08:00 committed by Linus Torvalds
parent dd287796d6
commit eb8782ef72
1 changed files with 1 additions and 5 deletions

View File

@ -448,11 +448,7 @@ pnpbios_parse_resource_option_data(unsigned char * p, unsigned char * end, struc
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: