Home
last modified time | relevance | path

Searched hist:"0812 d1a094c402db4fc25ca988113a6d6663c70f" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_disk.c0812d1a094c402db4fc25ca988113a6d6663c70f Fri Aug 05 12:51:47 UTC 2016 Alexander Graf <agraf@suse.de> efi_loader: disk: Sanitize exposed devices

When a target device is 0 bytes long, there's no point in exposing it to
the user. Let's just skip them.

Also, when an offset is passed into the efi disk creation, we should
remove this offset from the total number of sectors we can handle.

This patch fixes both things.

Signed-off-by: Alexander Graf <agraf@suse.de>