Re: [PATCH] mm/hmm: fix hmm_range_dma_map()/hmm_range_dma_unmap()

2019-04-09 Thread Andrew Morton
On Tue, 9 Apr 2019 13:53:40 -0400 jgli...@redhat.com wrote: > Was using wrong field and wrong enum for read only versus read and > write mapping. For thos who were wondering, this fixes mm-hmm-add-an-helper-function-that-fault-pages-and-map-them-to-a-device-v3.patch, which is presently queued

[PATCH] mm/hmm: fix hmm_range_dma_map()/hmm_range_dma_unmap()

2019-04-09 Thread jglisse
From: Jérôme Glisse Was using wrong field and wrong enum for read only versus read and write mapping. Signed-off-by: Jérôme Glisse Cc: Andrew Morton Cc: Ralph Campbell Cc: John Hubbard --- mm/hmm.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/hmm.c