https://git.reactos.org/?p=reactos.git;a=commitdiff;h=309ed0d1fe818b536f2d4ddf1422fd788e91f1e5

commit 309ed0d1fe818b536f2d4ddf1422fd788e91f1e5
Author:     Serge Gautherie <[email protected]>
AuthorDate: Thu Dec 31 15:42:03 2020 +0100
Commit:     GitHub <[email protected]>
CommitDate: Thu Dec 31 17:42:03 2020 +0300

    [ACPI] AcpiRegOpenKey(): Add a missing OBJ_KERNEL_HANDLE (#3370)
    
    CORE-10207
---
 drivers/bus/acpi/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/acpi/main.c b/drivers/bus/acpi/main.c
index 6c294a8deb7..df1c7de2c0a 100644
--- a/drivers/bus/acpi/main.c
+++ b/drivers/bus/acpi/main.c
@@ -349,7 +349,7 @@ AcpiRegOpenKey(IN HANDLE ParentKeyHandle,
 
     InitializeObjectAttributes(&ObjectAttributes,
                                &Name,
-                               OBJ_CASE_INSENSITIVE,
+                               OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
                                ParentKeyHandle,
                                NULL);
 

Reply via email to