Re: [PATCH v2 for-4.16] xen/arm: allocate_bank_memory: don't create memory banks of size zero

2021-11-11 Thread Julien Grall
Hi Stefano, On 10/11/2021 20:55, Stefano Stabellini wrote: From: Stefano Stabellini allocate_bank_memory can be called with a tot_size of zero, as an example see the implementation of allocate_memory which can call allocate_bank_memory with a tot_size of zero for the second memory bank. If

Re: [PATCH v2 for-4.16] xen/arm: allocate_bank_memory: don't create memory banks of size zero

2021-11-11 Thread Ian Jackson
To the maiontainer who will review this: could you please consider these comments as part of your review: Stefano Stabellini writes ("[PATCH v2 for-4.16] xen/arm: allocate_bank_memory: don't create memory banks of size zero"): > From: Stefano Stabellini > In regards to i

Re: [PATCH v2 for-4.16] xen/arm: allocate_bank_memory: don't create memory banks of size zero

2021-11-10 Thread Oleksandr
On 10.11.21 22:55, Stefano Stabellini wrote: Hi Stefano From: Stefano Stabellini allocate_bank_memory can be called with a tot_size of zero, as an example see the implementation of allocate_memory which can call allocate_bank_memory with a tot_size of zero for the second memory bank. If

[PATCH v2 for-4.16] xen/arm: allocate_bank_memory: don't create memory banks of size zero

2021-11-10 Thread Stefano Stabellini
From: Stefano Stabellini allocate_bank_memory can be called with a tot_size of zero, as an example see the implementation of allocate_memory which can call allocate_bank_memory with a tot_size of zero for the second memory bank. If tot_size == 0, don't create an empty memory bank, just return