summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/irq.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-08-05 14:51:47 +0200
committerTom Rini <trini@konsulko.com>2016-08-08 13:33:00 -0400
commit0812d1a094c402db4fc25ca988113a6d6663c70f (patch)
tree137a50d9ecc5a3a36614647c0e63b178c02b9cf4 /arch/x86/include/asm/irq.h
parentf9d334bdfce2358c6eada4138a2102afc46fb124 (diff)
downloadu-boot-imx-0812d1a094c402db4fc25ca988113a6d6663c70f.zip
u-boot-imx-0812d1a094c402db4fc25ca988113a6d6663c70f.tar.gz
u-boot-imx-0812d1a094c402db4fc25ca988113a6d6663c70f.tar.bz2
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>
Diffstat (limited to 'arch/x86/include/asm/irq.h')
0 files changed, 0 insertions, 0 deletions