From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/acpi/acpica/rscreate.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/kernel/drivers/acpi/acpica/rscreate.c b/kernel/drivers/acpi/acpica/rscreate.c
index 570ea0d..c659b54 100644
--- a/kernel/drivers/acpi/acpica/rscreate.c
+++ b/kernel/drivers/acpi/acpica/rscreate.c
@@ -312,6 +312,9 @@
path_buffer.pointer = user_prt->source;
status = acpi_ns_handle_to_pathname((acpi_handle)node, &path_buffer, FALSE);
+ if (ACPI_FAILURE(status)) {
+ return_ACPI_STATUS(status);
+ }
/* +1 to include null terminator */
--
Gitblit v1.6.2