Skip to content
Snippets Groups Projects
Commit df9cf561 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Alexander Graf
Browse files

efi_loader: correct efi_disk_register


efi_disk_register should return as status code (efi_status_t).

Disks with zero blocks should be reported as 'not ready' without throwing
an error.

This patch solves a problem running OpenBSD on system configured with
CONFIG_BLK=n (e.g. i.MX6).

Reported-by: default avatarJonathan Gray <jsg@jsg.id.au>
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: default avatarJonathan Gray <jsg@jsg.id.au>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 0c230743
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment