qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/9] dump: Remove the section if when calculating the memo


From: Richard Henderson
Subject: Re: [PATCH v2 4/9] dump: Remove the section if when calculating the memory offset
Date: Fri, 11 Mar 2022 11:42:20 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 3/10/22 03:08, Janosch Frank wrote:
When s->shdr_num is 0 we'll add 0 bytes of section headers which is
equivalent to not adding section headers but with the multiplication
we can remove a if/else.

Signed-off-by: Janosch Frank<frankja@linux.ibm.com>
---
  dump/dump.c | 24 ++++++++----------------
  1 file changed, 8 insertions(+), 16 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]