From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753747AbeENM7l (ORCPT ); Mon, 14 May 2018 08:59:41 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35611 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753590AbeENM7j (ORCPT ); Mon, 14 May 2018 08:59:39 -0400 X-Google-Smtp-Source: AB8JxZroPcmly/NFZY/6pjCznp5IzDjq4GnbaE/1RUyq9CSOeYyEsXyDZnPb+Ew3Q7BX7+rpbD8D7g== Date: Mon, 14 May 2018 14:59:36 +0200 From: Thierry Reding To: Souptick Joarder Cc: airlied@linux.ie, jonathanh@nvidia.com, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, willy@infradead.org Subject: Re: [PATCH] gpu: drm: tegra: Adding new typedef vm_fault_t Message-ID: <20180514125936.GL18312@ulmo> References: <20180417134755.GA30291@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9/GiYV45wF7IL3Iq" Content-Disposition: inline In-Reply-To: <20180417134755.GA30291@jordon-HP-15-Notebook-PC> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9/GiYV45wF7IL3Iq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 17, 2018 at 07:17:55PM +0530, Souptick Joarder wrote: > 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. >=20 > Reference id -> 1c8f422059ae ("mm: change return type to > vm_fault_t") >=20 > Previously vm_insert_page() returns err which driver > mapped into VM_FAULT_* type. The new function=20 > vmf_insert_page() will replace this inefficiency by > returning VM_FAULT_* type. >=20 > Signed-off-by: Souptick Joarder > --- > drivers/gpu/drm/tegra/gem.c | 18 ++---------------- > 1 file changed, 2 insertions(+), 16 deletions(-) Applied, thanks. Thierry --9/GiYV45wF7IL3Iq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlr5iDgACgkQ3SOs138+ s6EEXg//bokguGEBwwTSDuDaSFIZw0Z+9pB2xoBEjsQXRZBQrKl/oZHAMbPGfkK4 Wwa9hHqjvJ0w1nzBEQrVGZGB9bWGOoxExRz6gL560NcpFfgPUz00KIyszMZl90KJ eqnoC7N9RrnZ0mLE00S6dIf5QliY16djVK1Eb7S0ftKkmH/H38ntW6WNsq2AEgiH WcWmw26SC9uQjuDH7SpLVxrP6DGMwq4mgRfbrlqVRzYecjjQ8FD7ifX8rwhL0dLV zr9yhekFV/nEjtkVYWO2BWk6Qbx50qscWJITkTsQX/sibwuG+gs8y5WSH1Yt7nDh KmBnrX1mhayHZ9h6G3O4gncMEc4hculEwfw/yGznlfI3ljAyqVFU0RI8HpOXgDBP vMKm/J4ngaOnjM/27/uZTQTFoUx/DJnN6H9F8yUFEgzbzqe7EDorSpQCoJYD0rCC ZccMg5FJWZ67ui4q7fZ5hNm8UijO1XnBdqZbLfaAMZFaaeCZcuQAPy5MxMlvxZs8 yXSR9agnvWQZx5/2YgurZCnztUAv9UHmENNsdKtQzLB07jxdOTpGwdVZMUe9eZjB ckmstNCZSBJ/GaqxzsFRAqWAei3dG3ECmEy4YPfPWdY0Gt+GtcRtJti+e6XRp5J7 x42wcJXo0Gb6uuQTUrqoMpoRHGRh+Xeqgna4fGlG/nYe5dhdY1g= =9X7O -----END PGP SIGNATURE----- --9/GiYV45wF7IL3Iq--