[U-Boot] efi_loader: disk: Sanitize exposed devices

Tom Rini trini at konsulko.com
Wed Aug 10 02:46:54 CEST 2016


On Fri, Aug 05, 2016 at 02:51:47PM +0200, Alexander Graf wrote:

> 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 at suse.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160809/6096192d/attachment.sig>


More information about the U-Boot mailing list