git: 11d64c1d53b0 - main - acpica: Drop a local patch in favor of an upstream patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Apr 2022 20:33:49 UTC
The branch main has been updated by jkim:
URL: https://cgit.FreeBSD.org/src/commit/?id=11d64c1d53b0376acf2e746e2744dd5f1a2fa492
commit 11d64c1d53b0376acf2e746e2744dd5f1a2fa492
Author: Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2022-04-15 20:29:09 +0000
Commit: Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2022-04-15 20:29:09 +0000
acpica: Drop a local patch in favor of an upstream patch
Use ACPI_ERROR() instead of fprintf().
https://github.com/acpica/acpica/pull/768
---
sys/contrib/dev/acpica/components/executer/exconfig.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/contrib/dev/acpica/components/executer/exconfig.c b/sys/contrib/dev/acpica/components/executer/exconfig.c
index 33080555fdc6..9ace33cf3c17 100644
--- a/sys/contrib/dev/acpica/components/executer/exconfig.c
+++ b/sys/contrib/dev/acpica/components/executer/exconfig.c
@@ -471,9 +471,7 @@ AcpiExLoadOp (
}
if (Target->Common.Type != ACPI_TYPE_INTEGER)
{
-#ifndef _KERNEL
- fprintf (stderr, "Type not integer: %X\n", Target->Common.Type);
-#endif
+ ACPI_ERROR ((AE_INFO, "Type not integer: %X", Target->Common.Type));
return_ACPI_STATUS (AE_AML_OPERAND_TYPE);
}