[librm] Fail gracefully if asked to ioremap() a zero length
authorMichael Brown <mcb30@ipxe.org>
Tue, 21 Mar 2017 12:17:18 +0000 (14:17 +0200)
committerMichael Brown <mcb30@ipxe.org>
Tue, 21 Mar 2017 12:17:18 +0000 (14:17 +0200)
commitd25e7daf47efbefa83bbf9c07e044cdf747c7fda
tree8419876c5cbc461efe0328506a2c9fb62ced3b32
parent36cffe054d2229ca21c093f28957e45fd09ba921
[librm] Fail gracefully if asked to ioremap() a zero length

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/transitions/librm_mgmt.c