ACK: [PATCH 3/8] acpi: syntaxcheck: re-work IASL error mappings
Alex Hung
alex.hung at canonical.com
Mon Mar 4 09:59:06 UTC 2013
On 02/27/2013 10:40 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> The IASL error codes may possibly change from release to release
> of acpica so include the error message #defines from the compiler
> and stringify these into a map. We can then load the advice based
> on the strifigied ids rather than the (changeable) error code. This
> way the advice maps to the error message #defines rather than on a
> changeable error code.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/Makefile.am | 1 +
> src/acpi/syntaxcheck/syntaxcheck.c | 259 +++++++++++++++++++++++++++++++------
> 2 files changed, 221 insertions(+), 39 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 200f92e..4d117f8 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -9,6 +9,7 @@ SUBDIRS = acpica/source/compiler lib acpica
> AM_CPPFLAGS = \
> -I$(top_srcdir)/src/lib/include \
> -I$(top_srcdir)/src/acpica/source/include \
> + -I$(top_srcdir)/src/acpica/source/compiler \
> -I$(top_srcdir)/efi_runtime \
> -Wall -Werror -Wextra
>
> diff --git a/src/acpi/syntaxcheck/syntaxcheck.c b/src/acpi/syntaxcheck/syntaxcheck.c
> index e4616d9..557219c 100644
> --- a/src/acpi/syntaxcheck/syntaxcheck.c
> +++ b/src/acpi/syntaxcheck/syntaxcheck.c
> @@ -29,12 +29,13 @@
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list