commit | cde7a3678d5f745b7a66e40c341f13835e2f2f4c | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Feb 09 20:55:47 2018 +0100 |
committer | Alexander Graf <agraf@suse.de> | Sat Feb 10 00:25:49 2018 +0100 |
tree | b618c5d4b0573783591e61f2e16234c6846f016d | |
parent | 897c072d926786534111f8ae7148815cfa2b9f76 [diff] |
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: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Tested-by: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>