From patchwork Tue Apr 17 14:34:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 10345403 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 82EF160542 for ; Tue, 17 Apr 2018 14:48:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B4012835B for ; Tue, 17 Apr 2018 14:48:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5FF142837D; Tue, 17 Apr 2018 14:48:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14D742835B for ; Tue, 17 Apr 2018 14:48:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751230AbeDQOch (ORCPT ); Tue, 17 Apr 2018 10:32:37 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:41302 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752086AbeDQOcf (ORCPT ); Tue, 17 Apr 2018 10:32:35 -0400 Received: by mail-pg0-f67.google.com with SMTP id e13so456520pgq.8; Tue, 17 Apr 2018 07:32:35 -0700 (PDT) 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=1CkQFprMz7GyWmJfQvbYLHgxuyJnrvmYjB4jF2x9tdI=; b=SH8gHGqpety82TBEqVNMzkyTnj4ISFk7zGIv4ThYRyUKXnf46zItyOQPvVL5/XV+kK bPbaM3OxtXzJNW/5FZResGs3PLMaOklD3PYIgp66OxIWUX3aFpY7nUESPtNqN//+t7Of 3Ljtmmr+MXQnu6C+GwkXBXSEqc7cJm4Jxs06UskmB6pkE7la7X3KvBhJ+/xV2XHU0KB2 lpcu61ua+PNfW86FdtA/FgMnn4JZ2cdmQUmQdgsMjttHFR5joXPgthafcWhFvszicqO9 5IJmuJgIwDlrzYsplegcJvb9feS7Lq+fBm8Y30ab6hFksQykLwfc04/zxX74LE3ItphG sd4Q== 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=1CkQFprMz7GyWmJfQvbYLHgxuyJnrvmYjB4jF2x9tdI=; b=GfvV4B1sFVkeKUTfg7plr8uw8q8y3Txx/RhnEOc0LH8dS4nB/cDI6Sln1fMHTutmWR FNVqnE7b+siwGd8FBdY1eiieLOS2zv5Mkyu86YYJ38K2Iu/SuwA+JEbr1oC47/BdCy5l tfLZmCmC+vEzcv/ESoAWjsInUG42vGj6RHNXDGiy3q7YAUORMqW8fxQx+eNu+oNsOmCc M/rFBWoCWuCmG79qzo6XJ2Ix7iGFH81YczHCGY1O6gl0mp54QDr9NBoc/IVhHVRNFTqi CjuSGlem1CSlpaDeQhT2YiiSRIiZNnbXmxAvOf2knZwBx81kUeLG2MBBa3kjTSgzD6aF Nxiw== X-Gm-Message-State: ALQs6tBbcMd962ywXz6soqtw97Coc/9Yp2QUDq1ReusEljudRQ6+HyTa XNjgzV3G2CAaWSsXQ3vwK0Z+ktN/ X-Google-Smtp-Source: AIpwx4/h+pB2lvQqUKX96owr31x3kdEtkPi0kAQjAxOIKWSkOPE07eL8N+J93E8pCVVCzRdE1/v1tA== X-Received: by 10.98.33.216 with SMTP id o85mr2185208pfj.139.1523975554796; Tue, 17 Apr 2018 07:32:34 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC ([183.82.18.42]) by smtp.gmail.com with ESMTPSA id x14sm16303212pgq.50.2018.04.17.07.32.32 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Apr 2018 07:32:33 -0700 (PDT) Date: Tue, 17 Apr 2018 20:04:28 +0530 From: Souptick Joarder To: dennis.dalessandro@intel.com, mike.marciniszyn@intel.com, dledford@redhat.com, jgg@ziepe.ca Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, willy@infradead.org Subject: [PATCH] infiniband: hw: qib: Change return type to vm_fault_t Message-ID: <20180417143428.GA31255@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. Reference id -> 1c8f422059ae ("mm: change return type to vm_fault_t") Signed-off-by: Souptick Joarder --- drivers/infiniband/hw/qib/qib_file_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c index 52c29db3..52aea84 100644 --- a/drivers/infiniband/hw/qib/qib_file_ops.c +++ b/drivers/infiniband/hw/qib/qib_file_ops.c @@ -868,7 +868,7 @@ static int mmap_rcvegrbufs(struct vm_area_struct *vma, /* * qib_file_vma_fault - handle a VMA page fault. */ -static int qib_file_vma_fault(struct vm_fault *vmf) +static vm_fault_t qib_file_vma_fault(struct vm_fault *vmf) { struct page *page;