From 0af91feaefe56329c091fd897fd3d44139a6a081 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Wed, 1 Sep 2021 20:22:28 +0200 Subject: [PATCH] disk: Remove bogus pointer --- stage23/drivers/disk.h | 2 +- stage23/drivers/disk.s2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stage23/drivers/disk.h b/stage23/drivers/disk.h index 4eb5bfd6..386194af 100644 --- a/stage23/drivers/disk.h +++ b/stage23/drivers/disk.h @@ -10,7 +10,7 @@ #include -struct volume *disk_volume_from_efi_handle(EFI_HANDLE *efi_handle); +struct volume *disk_volume_from_efi_handle(EFI_HANDLE efi_handle); #endif diff --git a/stage23/drivers/disk.s2.c b/stage23/drivers/disk.s2.c index bd53a30f..e8e22529 100644 --- a/stage23/drivers/disk.s2.c +++ b/stage23/drivers/disk.s2.c @@ -205,7 +205,7 @@ void disk_create_index(void) { #if uefi == 1 -struct volume *disk_volume_from_efi_handle(EFI_HANDLE *efi_handle) { +struct volume *disk_volume_from_efi_handle(EFI_HANDLE efi_handle) { EFI_STATUS status; struct volume *ret = NULL;