All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iasl disasm OEM revision fix
@ 2003-11-25  3:16 Ville Syrjälä
  0 siblings, 0 replies; only message in thread
From: Ville Syrjälä @ 2003-11-25  3:16 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

The attached patch makes iasl disassembler print the OEM revision as an
unsigned int instead of a signed int. The compiler wasn't happy with the
negative value produced on my laptop...

-- 
Ville Syrjälä
syrjala-ORSVBvAovxo@public.gmane.org
http://www.sci.fi/~syrjala/

[-- Attachment #2: iasl_oem_rev.patch --]
[-- Type: text/plain, Size: 582 bytes --]

--- acpica-unix-20031029/common/adisasm.c~	2003-10-30 01:44:33.000000000 +0200
+++ acpica-unix-20031029/common/adisasm.c	2003-11-25 04:24:05.000000000 +0200
@@ -597,7 +597,7 @@
     AcpiOsPrintf (" *\n * Disassembly of %s, %s */\n", Filename, ctime (&Timer));
 
     AcpiOsPrintf (
-        "DefinitionBlock (\"%4.4s.aml\", \"%4.4s\", %hd, \"%.6s\", \"%.8s\", %d)\n",
+        "DefinitionBlock (\"%4.4s.aml\", \"%4.4s\", %hd, \"%.6s\", \"%.8s\", %u)\n",
         Table->Signature, Table->Signature, Table->Revision,
         Table->OemId, Table->OemTableId, Table->OemRevision);
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-25  3:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-25  3:16 [PATCH] iasl disasm OEM revision fix Ville Syrjälä

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.