| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 1/2] xen/arm: gnttab: use static inlines for gnttab_{release_}host_mapping*
 On 06/05/2022 08:27, Michal Orzel wrote: On 05.05.2022 13:13, Jan Beulich wrote:On 05.05.2022 12:36, Michal Orzel wrote:--- a/xen/arch/arm/include/asm/grant_table.h +++ b/xen/arch/arm/include/asm/grant_table.h @@ -29,12 +29,21 @@ static inline void gnttab_mark_dirty(struct domain *d, mfn_t mfn) #endif }+static inline bool gnttab_host_mapping_get_page_type(bool ro, struct domain *ld, Hmmmm... ro is not a pointer and so the value can only be modified within the inline helper. So isn't it a bit pointless to set it to const? If that's the only comment on the next version, this could be dealt on commit. Cheers, -- Julien Grall 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |