Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp932648imu; Wed, 9 Jan 2019 08:43:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN4vDMCqsTmOBz2ozzwjxpzV9rROLQk1KXsX8Eix1IDxDbojE4pRPkbmH6RwNdRhqwryNSWc X-Received: by 2002:a62:7dcb:: with SMTP id y194mr6690882pfc.113.1547052214194; Wed, 09 Jan 2019 08:43:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547052214; cv=none; d=google.com; s=arc-20160816; b=tmat3DWDTG/mgm+4KOHRhvQD9V13jUNK3VpVyn2eYQ55dgRihxUU5x0p+nE5+R4JVt q4X7CQhuVkIukoeh/tV7Dq4JvK2inq0xuYfaWE3T3iZ4mOmVo1l+U9CVrQhNCjOCQnFt uSROXAArFR0Y+ucrLw2u8WthAmX2lmp+I7k5kStHhdoUeFO7yBl2G/7ynI5IJQvuffpf ZKZcXTLbqZWYsS8BQxo6V++SeGdGVx74IHKAjHpWsfue7dq0P92W5WormZ9LfENXqcSn 39nIlDtZBRI5KaEpH2rEyxOGtzqy4aAulxGVsCxSOvBEhsYkMOTPE44xlez6nDKVVBvV 9aCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=tcCiJRtOYCpxUZfccav15M1Zu+fheGpFRE81Ukk7nJo=; b=AUTVnoygYmCXvg7yyo+IJ2mZLgBC26Hm4qYS6CWxfqfSK+C2CS8eBJo1ieDPrbFE9S VMV0kVbW12LGOWVIgho12FM/GJxHK9fmEpKTYNWiFSdLVL79FkIvBkigf9lf3EwBIEC2 W3q1Sj+gGOLBqqRB9HCsMgj4h5APFfJoMfwaYDR0gzHbnFgSPzDGNV8cP8R62Qh7U6DQ Qdlkg+NIg0q+oEpQH2Ckc//LLnH6mQOEuVfOFFPErNM2OaqCRFnNafW0qbGB8k1Qka4l aF4YJfDZNHOukibQwUCWKWDwAmARWJm3nEixJd19X9/FxW8kuSSFKc/EXUepJuQ9k1YQ N0lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AKGPf6gZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si62762989pgk.344.2019.01.09.08.43.18; Wed, 09 Jan 2019 08:43:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AKGPf6gZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732172AbfAIQPT (ORCPT + 99 others); Wed, 9 Jan 2019 11:15:19 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45816 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730263AbfAIQPT (ORCPT ); Wed, 9 Jan 2019 11:15:19 -0500 Received: by mail-pf1-f196.google.com with SMTP id g62so3856863pfd.12 for ; Wed, 09 Jan 2019 08:15:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=tcCiJRtOYCpxUZfccav15M1Zu+fheGpFRE81Ukk7nJo=; b=AKGPf6gZYCcjWTKRrDu/996b7ktn7e/9ECkuaKVua1Z1IZ8xbjNK8VHLSTRdJtABVg fmhnaUcqKbcb+2ACwaPsk9XhHc56vXTT2F3brjelP8jli/7KFkl3SZgQEGBE9cjcLebW NHWCgulRmgxopPelt/3zZ/K2F3XlbgPN5WQ8s2jN59w1vv14HdwbpOc03rpa58u2c0qq waXMClOuEXPRSaTNDFn6WTjN5L99zC69fHDAmJiAY5YZnyT6QWZbSfspBbRu1lB7C1TQ SuezrHY1IE5s8QVTdpVG6EiO35enzCesjTQRcPEsJvHp+GUClkr0T1JIfxaBI7necwuV KpZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=tcCiJRtOYCpxUZfccav15M1Zu+fheGpFRE81Ukk7nJo=; b=KqaFK9bV1GLROKYTceh/Adsbo0zY7jljdwbnQHTKeaM08oocynFJya2caHHURsxhg9 A4zSGNS34seymW11pfSY4tWn8/UKtybyuJWtKiU+h3t9ZoSAjtrvFiFov0MuJrDArteV NDNk2eCLP55K9M+lfjXz6FID52Dnxh82G8hErCy5tNXMTXR7y+8R+JrXB3G3ffSTIMDq PFHGGLrv69LUqtS/hNv0785dRXlyj+/8F/liWPMsS6lH/Am6beYIl4tEprk+BAloZ8Td r5D8gM45KLD6Qhv82sCwolsWrxgpm+qGF6btub9lK2nMYm+ighJwW0gbkvZMTN+OgzcE iDNw== X-Gm-Message-State: AJcUukeOqCHn+Rf/xJRQdQLHPZ33ARmITspBkSbSIjg4AVhbTEmTroeN oSXMXeRay+2cdRxVoUeLxcx5gL34 X-Received: by 2002:a62:130c:: with SMTP id b12mr6557141pfj.247.1547050518871; Wed, 09 Jan 2019 08:15:18 -0800 (PST) Received: from jordon-HP-15-Notebook-PC ([49.207.49.233]) by smtp.gmail.com with ESMTPSA id y29sm94420609pga.59.2019.01.09.08.15.16 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jan 2019 08:15:17 -0800 (PST) Date: Wed, 9 Jan 2019 21:49:17 +0530 From: Souptick Joarder 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 Message-ID: <20190109161916.GA23410@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org convert to use vm_fault_t type as return type for fault handler. Signed-off-by: Souptick Joarder --- 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