From patchwork Tue Sep 4 04:15:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 10586847 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 10588920 for ; Tue, 4 Sep 2018 07:06:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1A2128EA9 for ; Tue, 4 Sep 2018 07:06:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E631629010; Tue, 4 Sep 2018 07:06:29 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B7C3028EA9 for ; Tue, 4 Sep 2018 07:06:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CAEF6E32C; Tue, 4 Sep 2018 07:06:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1AFB96E2F5 for ; Tue, 4 Sep 2018 04:12:03 +0000 (UTC) Received: by mail-pl1-x644.google.com with SMTP id j8-v6so969103pll.12 for ; Mon, 03 Sep 2018 21:12:03 -0700 (PDT) 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=8x2RgOxNUid/HmCMV/8mEDffJPA4KMaiIyr2BkIcWEk=; b=jhUDI45Om8rpRzcazezxyAxd0JxQY8nb0uwa0pQO4T4bNX4SuPzaWfwiq6AloZ5KiF eJSBeU+RlXO5OA0F4rR2mg15n8Sk2lB7bIBKsUXvrDN2B3E+NK2zOWBu98bs1MGYc7Dh NdQAi2l1IJHWvXPQGywol6h0LCtvjCN79fKBrdUcV6ShKlp8IiHFDVgcruBqIYyru80G qqTmSMg0G+CGPzNA+Hb/cG/ap3ZKOM9QXchT6SQgZfSTUu7AYKgtylpEBeCtCkY6cHOv 8hSAMNJSH7cjIvSd2BkIaxOBZHwAELBaQVrC3dl5mYlHebLhymcdxy8y0EWV/hzuyhMW FjTQ== X-Gm-Message-State: APzg51A+A8K5bl0ctCVVGN194YTjXKFJSmtrQk6kj8AQyJoSk8mjuUty vXxsBvKJoZfbpnF0vP6Qxl/sp1xd X-Google-Smtp-Source: ANB0VdaKxeD6ilp2MsmXahTh9xxEQ0wZimhSk9uIWILu1oOxFGjOJBfSv03nSRoYaXDWorITLeAzNQ== X-Received: by 2002:a17:902:42a3:: with SMTP id h32-v6mr32138347pld.105.1536034322543; Mon, 03 Sep 2018 21:12:02 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC ([183.82.16.199]) by smtp.gmail.com with ESMTPSA id q62-v6sm30352120pfi.185.2018.09.03.21.12.00 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Sep 2018 21:12:01 -0700 (PDT) Date: Tue, 4 Sep 2018 09:45:05 +0530 From: Souptick Joarder To: willy@infradead.org, gustavo@padovan.org, maarten.lankhorst@linux.intel.com, sean@poorly.run, airlied@linux.ie, corbet@lwn.net Subject: [PATCH] Document/gpu: Use new vm_fault_t type Message-ID: <20180904041505.GA2712@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Tue, 04 Sep 2018 07:06:03 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP We have introduce new return type vm_fault_t for fault handler. Update the document for the same. Signed-off-by: Souptick Joarder --- v2: Revert spaces added in v1 Documentation/gpu/drm-mm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gpu/drm-mm.rst b/Documentation/gpu/drm-mm.rst index 21b6b72..c3ae888 100644 --- a/Documentation/gpu/drm-mm.rst +++ b/Documentation/gpu/drm-mm.rst @@ -297,7 +297,7 @@ made up of several fields, the more interesting ones being: struct vm_operations_struct { void (*open)(struct vm_area_struct * area); void (*close)(struct vm_area_struct * area); - int (*fault)(struct vm_fault *vmf); + vm_fault_t (*fault)(struct vm_fault *vmf); };