Re: [PATCH] powerpc/kexec_file: Simplify add_usable_mem()

From
Thorsten Blum <blum@kernel.org>
Date
2026-10-20 11:59:16
Also in
lkml
Reply to
Sourabh Jain, 2026-09-25
Hi Sourabh,

On Fri, Sep 25, 2026 at 01:04:52PM +0530, Sourabh Jain wrote:
On 16/09/26 21:01, Thorsten Blum wrote:
quoted
Use max() and min() to calculate loc_base and loc_end, respectively.
Skip to the next range if loc_base > loc_end and drop the now-obsolete
boolean add variable.

Signed-off-by: Thorsten Blum <blum@kernel.org>
---
  arch/powerpc/kexec/file_load_64.c | 29 +++++++++--------------------
  1 file changed, 9 insertions(+), 20 deletions(-)
[...]
So, the changes look good to me. Feel free to add:

Reviewed-by: Sourabh Jain sourabhjain@linux.ibm.com
Thank you for your review. This should have been:

  Reviewed-by: Sourabh Jain [off-list ref]

Without angle brackets <..>, b4 ignores the tag:

NOTE: some trailers ignored due to from/email mismatches:
    ! Trailer: Reviewed-by: Sourabh Jain sourabhjain@linux.ibm.com
     Msg From: Sourabh Jain [off-list ref]

Thanks,
Thorsten
Thread (3 messages) 3 messages, 2 authors, last reply 2026-10-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help