diff options
author | Rene Herman <rene.herman@keyaccess.nl> | 2006-03-23 03:00:57 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:16 -0800 |
commit | eb8782ef72758b8700963ef8b949f5c812e6d630 (patch) | |
tree | f1c43c0427df513c55111ec173f85043166dc3ef /drivers/pnp/pnpbios | |
parent | dd287796d608fcdc3fe5e8fdb5bf762a8f1bc32a (diff) | |
download | linux-3.10-eb8782ef72758b8700963ef8b949f5c812e6d630.tar.gz linux-3.10-eb8782ef72758b8700963ef8b949f5c812e6d630.tar.bz2 linux-3.10-eb8782ef72758b8700963ef8b949f5c812e6d630.zip |
[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>
Diffstat (limited to 'drivers/pnp/pnpbios')
-rw-r--r-- | drivers/pnp/pnpbios/rsparser.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/pnp/pnpbios/rsparser.c b/drivers/pnp/pnpbios/rsparser.c index 5e38cd7335f..c89c98a2cca 100644 --- a/drivers/pnp/pnpbios/rsparser.c +++ b/drivers/pnp/pnpbios/rsparser.c @@ -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: |