public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <syrjala-ORSVBvAovxo@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [PATCH] iasl disasm OEM revision fix
Date: Tue, 25 Nov 2003 05:16:56 +0200	[thread overview]
Message-ID: <20031125051656.A26111@sci.fi> (raw)

[-- 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);
 }

                 reply	other threads:[~2003-11-25  3:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031125051656.A26111@sci.fi \
    --to=syrjala-orsvbvaovxo@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox