[PATCH 0/3] find_next_iomem_res() fixes

From: Bjorn Helgaas
Date: Mon Sep 24 2018 - 18:14:43 EST

Hi Lianbo,

These three patches are a possible replacement for your first patch
("[PATCH 1/3 v3] resource: fix an error which walks through iomem

I think the interface of find_next_iomem_res() can be improved to make
the code easier to read and also avoid the errors you're fixing.

I can't test these, so they've only been compiled. If you can test
them and if you like them, feel free to incorporate them into your
series. If not, just drop them (but please at least fix the same
error in walk_system_ram_range()).


Bjorn Helgaas (3):
x86/kexec: Correct KEXEC_BACKUP_SRC_END off-by-one error
resource: Include resource end in walk_*() interfaces
resource: Fix find_next_iomem_res() iteration issue

arch/x86/include/asm/kexec.h | 2 -
kernel/resource.c | 96 ++++++++++++++++++------------------------
2 files changed, 43 insertions(+), 55 deletions(-)