aboutsummaryrefslogtreecommitdiff
path: root/include/efi_driver.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt2022-10-03 10:35:35 +0200
committerHeinrich Schuchardt2022-10-06 22:54:57 +0200
commit43a5891c66c8fe961999415b051c827ce1b543c4 (patch)
tree9d12bda5f09c758bc50aa66f9469a0d6d9c2f9c3 /include/efi_driver.h
parent16b27b67c5002c13d84bdf68727954ec765f0731 (diff)
efi_driver: fix error handling
If creating the block device fails, * delete all created objects and references * close the protocol interface on the controller Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/efi_driver.h')
-rw-r--r--include/efi_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_driver.h b/include/efi_driver.h
index 2b62219c5bf..dc0c1c7ac07 100644
--- a/include/efi_driver.h
+++ b/include/efi_driver.h
@@ -25,7 +25,7 @@
struct efi_driver_ops {
const efi_guid_t *protocol;
const efi_guid_t *child_protocol;
- int (*bind)(efi_handle_t handle, void *interface);
+ efi_status_t (*bind)(efi_handle_t handle, void *interface);
};
/*