public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.9+] PnPBIOS: Missing SMALL_TAG_ENDDEP tag
@ 2004-12-06  0:35 Rene Herman
  2004-12-06  0:46 ` matthieu castet
  2004-12-06  2:42 ` Adam Belay
  0 siblings, 2 replies; 8+ messages in thread
From: Rene Herman @ 2004-12-06  0:35 UTC (permalink / raw)
  To: Adam Belay; +Cc: Matthieu Castet, Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

Hi Adam.

Between 2.6.8 and 2.6.9, the following patch to rsparser.c was merged:

http://linus.bkbits.net:8080/linux-2.5/cset@414703f7MEe33PTYY-aFQaM3CLKjZw?nav=index.html|src/|src/drivers|src/drivers/pnp|src/drivers/pnp/pnpbios|related/drivers/pnp/pnpbios/rsparser.c

The added warning triggers on my machine:

Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f7740
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x6634, dseg 0xf0000
PnPBIOS: Missing SMALL_TAG_ENDDEP tag
PnPBIOS: Missing SMALL_TAG_ENDDEP tag
PnPBIOS: Missing SMALL_TAG_ENDDEP tag
PnPBIOS: Missing SMALL_TAG_ENDDEP tag
PnPBIOS: 13 nodes reported by PnP BIOS; 13 recorded by driver

I don't believe those warnings should be printed, what with "broken" the 
expected state of anything coming from the BIOS. The attached patch 
removes them again. Works for me...

Rene.






[-- Attachment #2: linux-2.6.10-rc3_rsparser.diff --]
[-- Type: text/x-patch, Size: 615 bytes --]

--- 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:12:50.000000000 +0100
@@ -433,14 +433,10 @@
 		case SMALL_TAG_ENDDEP:
 			if (len != 0)
 				goto len_err;
-			if (option_independent == option)
-				printk(KERN_WARNING "PnPBIOS: Missing SMALL_TAG_STARTDEP tag\n");
 			option = option_independent;
 			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;

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-12-07  0:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06  0:35 [2.6.9+] PnPBIOS: Missing SMALL_TAG_ENDDEP tag Rene Herman
2004-12-06  0:46 ` matthieu castet
2004-12-06  1:04   ` Rene Herman
2004-12-06  2:42 ` Adam Belay
2004-12-06  3:06   ` Rene Herman
2004-12-06 16:59     ` Adam Belay
2004-12-06 21:04       ` Rene Herman
2004-12-07  0:03         ` Adam Belay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox