Re: [PATCH] include/linux/hmm.h: Convert to use vm_fault_t

From: Souptick Joarder
Date: Wed Jan 09 2019 - 11:37:59 EST


On Wed, Jan 9, 2019 at 9:53 PM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>
> On Wed, Jan 09, 2019 at 09:49:17PM +0530, Souptick Joarder wrote:
> > convert to use vm_fault_t type as return type for
> > fault handler.
>
> I think you'll also need to convert hmm_devmem_fault(). And that's
> going to lead to some more spots.

I will add it in v2.
>
> (It's important to note that this is the patch working as designed. It's
> throwing up warnings where code *hasn't* been converted to vm_fault_t yet
> but should have been).

Ok.