lkml.org 
[lkml]   [2004]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [2.6.9+] PnPBIOS: Missing SMALL_TAG_ENDDEP tag
matthieu castet wrote:

>> - if (option_independent == option)
>> - printk(KERN_WARNING "PnPBIOS: Missing
>> SMALL_TAG_STARTDEP tag\n");
>
> this one shouldn't be removed
>
>> option = option_independent;
>> break;
>>
>> case SMALL_TAG_END:
>> - if (option_independent != option)
>> - printk(KERN_WARNING "PnPBIOS: Missing
>> SMALL_TAG_ENDDEP tag\n");
>
> ok for this one, may be change it to pnp_dbg(...)

Works for me to. Updated patch attached that only removes the missing
ENDDEP warning.

Rene.
--- linux-2.6.10-rc3.orig/drivers/pnp/pnpbios/rsparser.c 2004-12-04 03:10:03.000000000 +0100
+++ linux-2.6.10-rc3/drivers/pnp/pnpbios/rsparser.c 2004-12-06 01:59:44.000000000 +0100
@@ -439,11 +439,7 @@
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:
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.051 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site