Re: [PATCH v3 13/21] clear_page: add generic clear_user_pages_incoherent()
From: Luc Van Oostenryck
Date: Tue Jun 07 2022 - 22:14:38 EST
On Mon, Jun 06, 2022 at 08:37:17PM +0000, Ankur Arora wrote:
> +static inline void clear_user_pages_incoherent(__incoherent void *page,
> + unsigned long vaddr,
> + struct page *pg,
> + unsigned int npages)
> +{
> + clear_user_pages((__force void *)page, vaddr, pg, npages);
> +}
Hi,
Please use 'void __incoherent *' and 'void __force *', as it's done
elsewhere for __force and address spaces.
-- Luc