[PATCH] PnPBIOS: Missing SMALL_TAG_ENDDEP tag
authorRene Herman <rene.herman@keyaccess.nl>
Thu, 23 Mar 2006 11:00:57 +0000 (03:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:16 +0000 (07:38 -0800)
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>
drivers/pnp/pnpbios/rsparser.c

index 5e38cd7335f72d29a7c82540bab43d9298c9dc55..c89c98a2cca8004dd826130a4bbf5e93efa724f3 100644 (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: