Re: [Xen-devel] [PATCH 5/8] xen/arm: efi: Avoid duplicating the addition of a new bank

2017-03-03 Thread Julien Grall
Hi Stefano, On 16/02/17 01:49, Stefano Stabellini wrote: On Wed, 15 Feb 2017, Stefano Stabellini wrote: On Fri, 3 Feb 2017, Julien Grall wrote: The code to add a new bank is duplicated twice. Add a new helper that checks if the maximum of bank has not reached and adds the bank.

Re: [Xen-devel] [PATCH 5/8] xen/arm: efi: Avoid duplicating the addition of a new bank

2017-02-15 Thread Stefano Stabellini
On Wed, 15 Feb 2017, Stefano Stabellini wrote: > On Fri, 3 Feb 2017, Julien Grall wrote: > > The code to add a new bank is duplicated twice. Add a new helper that > > checks if the maximum of bank has not reached and adds the bank. > > > > Signed-off-by: Julien Grall > >

Re: [Xen-devel] [PATCH 5/8] xen/arm: efi: Avoid duplicating the addition of a new bank

2017-02-15 Thread Stefano Stabellini
On Fri, 3 Feb 2017, Julien Grall wrote: > The code to add a new bank is duplicated twice. Add a new helper that > checks if the maximum of bank has not reached and adds the bank. > > Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini >

[Xen-devel] [PATCH 5/8] xen/arm: efi: Avoid duplicating the addition of a new bank

2017-02-03 Thread Julien Grall
The code to add a new bank is duplicated twice. Add a new helper that checks if the maximum of bank has not reached and adds the bank. Signed-off-by: Julien Grall --- xen/arch/arm/efi/efi-boot.h | 34 ++ 1 file changed, 18 insertions(+), 16