Re: [PATCH v2 2/2] xen/arm: gnttab: modify macros to evaluate all arguments and only once

2022-05-17 Thread Julien Grall
Hi Michal, On 17/05/2022 08:14, Michal Orzel wrote: On 16.05.2022 12:19, Julien Grall wrote: Hi Michal, On 06/05/2022 10:42, Michal Orzel wrote: Modify macros to evaluate all the arguments and make sure the arguments are evaluated only once. Introduce following intermediate macros: gnttab_sta

Re: [PATCH v2 2/2] xen/arm: gnttab: modify macros to evaluate all arguments and only once

2022-05-17 Thread Michal Orzel
Hi Julien, On 16.05.2022 12:19, Julien Grall wrote: > Hi Michal, > > On 06/05/2022 10:42, Michal Orzel wrote: >> Modify macros to evaluate all the arguments and make sure the arguments >> are evaluated only once. Introduce following intermediate macros: >> gnttab_status_gfn_, gnttab_shared_gfn_ t

Re: [PATCH v2 2/2] xen/arm: gnttab: modify macros to evaluate all arguments and only once

2022-05-16 Thread Julien Grall
Hi Michal, On 06/05/2022 10:42, Michal Orzel wrote: Modify macros to evaluate all the arguments and make sure the arguments are evaluated only once. Introduce following intermediate macros: gnttab_status_gfn_, gnttab_shared_gfn_ that do not take domain as a parameter. These are to be used locall

[PATCH v2 2/2] xen/arm: gnttab: modify macros to evaluate all arguments and only once

2022-05-06 Thread Michal Orzel
Modify macros to evaluate all the arguments and make sure the arguments are evaluated only once. Introduce following intermediate macros: gnttab_status_gfn_, gnttab_shared_gfn_ that do not take domain as a parameter. These are to be used locally and allow us to avoid passing NULL from gnttab_get_fr