summaryrefslogtreecommitdiffstats
path: root/lib/decompress.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2011-09-15 08:52:40 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-09-15 04:39:46 -0400
commit61cca2fab7ecba18f9b9680cd736ef5fa82ad3b1 (patch)
tree9a7fe7390778f20bfadcd5ecb9679785b5380cf7 /lib/decompress.c
parent773659483685d652970583384a0294948e57f8b3 (diff)
downloadop-kernel-dev-61cca2fab7ecba18f9b9680cd736ef5fa82ad3b1.zip
op-kernel-dev-61cca2fab7ecba18f9b9680cd736ef5fa82ad3b1.tar.gz
xen/i386: follow-up to "replace order-based range checking of M2P table by linear one"
The numbers obtained from the hypervisor really can't ever lead to an overflow here, only the original calculation going through the order of the range could have. This avoids the (as Jeremy points outs) somewhat ugly NULL-based calculation here. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'lib/decompress.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud