From: Souptick Joarder <jrdr.linux@gmail.com>
To: akpm@linux-foundation.org
Cc: jglisse@redhat.com, linux-mm@kvack.org,
linux-kernel@vger.kernel.org, willy@infradead.org,
dan.j.williams@intel.com
Subject: [PATCH] include/linux/hmm.h: Convert to use vm_fault_t
Date: Wed, 9 Jan 2019 21:49:17 +0530 [thread overview]
Message-ID: <20190109161916.GA23410@jordon-HP-15-Notebook-PC> (raw)
convert to use vm_fault_t type as return type for
fault handler.
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
include/linux/hmm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/hmm.h b/include/linux/hmm.h
index 66f9ebb..7c5ace3 100644
--- a/include/linux/hmm.h
+++ b/include/linux/hmm.h
@@ -468,7 +468,7 @@ struct hmm_devmem_ops {
* Note that mmap semaphore is held in read mode at least when this
* callback occurs, hence the vma is valid upon callback entry.
*/
- int (*fault)(struct hmm_devmem *devmem,
+ vm_fault_t (*fault)(struct hmm_devmem *devmem,
struct vm_area_struct *vma,
unsigned long addr,
const struct page *page,
--
1.9.1
next reply other threads:[~2019-01-09 16:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-09 16:19 Souptick Joarder [this message]
2019-01-09 16:20 ` Souptick Joarder
2019-01-09 16:20 ` Souptick Joarder
2019-01-09 16:23 ` Matthew Wilcox
2019-01-09 16:41 ` Souptick Joarder
2019-01-09 16:41 ` Souptick Joarder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190109161916.GA23410@jordon-HP-15-Notebook-PC \
--to=jrdr.linux@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=dan.j.williams@intel.com \
--cc=jglisse@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox