[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:
parent
dd287796d6
commit
eb8782ef72
|
@ -448,11 +448,7 @@ pnpbios_parse_resource_option_data(unsigned char * p, unsigned char * end, struc
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SMALL_TAG_END:
|
case SMALL_TAG_END:
|
||||||
if (option_independent != option)
|
return p + 2;
|
||||||
printk(KERN_WARNING "PnPBIOS: Missing SMALL_TAG_ENDDEP tag\n");
|
|
||||||
p = p + 2;
|
|
||||||
return (unsigned char *)p;
|
|
||||||
break;
|
|
||||||
|
|
||||||
default: /* an unkown tag */
|
default: /* an unkown tag */
|
||||||
len_err:
|
len_err:
|
||||||
|
|
Loading…
Reference in New Issue