Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp449348yba; Thu, 18 Apr 2019 04:11:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzz0kOFc2hrYpSozUmE2Yczj31FxAdZhDBSNoFwqXTAfcG5bjjzD2kQhiEma3xZDZCw3Ho4 X-Received: by 2002:a63:e304:: with SMTP id f4mr83237795pgh.374.1555585902445; Thu, 18 Apr 2019 04:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555585902; cv=none; d=google.com; s=arc-20160816; b=PyeygBXGhwFmw7YoCA3jR4IS+EAfQlcSDBv02L4G/YU4Y/hmivj34qFfr+rljsXACr M7gUl+eqY7UC98w6Vagl5bGwytgOGW319VvzX7pDZIM7ndHcSGC6h4KFUQnBvFFDNvyX alu5i0xuVSlzJ/au5gJ//+iLNV6lZq/8LJuZyVM3SATBSHdH8ciUtz+othVIBv4eW6pm tJZ79KcpZA+IVje05dSyKfzBC9PK1rD/DKpa68A2basXvHoXDaweoximecTNz+l51ACc thNPpRbtJAfSjCI/0vtAEM68R2RebjxvJx3yq+QmboGykDz2faPyCmqhYZoZ0UM07+ks altA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=z95LlR9RBx80jRAhLAEg6VRDfNsK7NfxGu3+MgWWm1Q=; b=MF1iejWpGeUoh6qWzeQsgH49aAAq21riHdVj7CDS1qUOEbFlifdsb9bQUn5SrALxIT FA9oPCo2myxCWwGzhptTM4Yg8iipfeTMquZzKIc6VSPqFkLmt9wmF2JYqK7R+3zTchNH SxgNqjWpzG03bPQc9Lu9HY26KqqF/eu/b4PpzTP4Qk8ffpu48WLzhvrGMdQLRl+Nm3dv y0rxdy02eX1sxXguMQPN1zQxcxSWujLzwWCFvs6PsheJJQQbepIHIgXnhMJ/qNl5uXzZ kR/ray7rju9IvT8tMmupMmLPFuYTRztdfOMKon0lS38NkUvqqktCDxTwpTsUuvaQvP5g cvqA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si1561003pgi.107.2019.04.18.04.11.27; Thu, 18 Apr 2019 04:11:42 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388751AbfDRLKb (ORCPT + 99 others); Thu, 18 Apr 2019 07:10:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34576 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727807AbfDRLKa (ORCPT ); Thu, 18 Apr 2019 07:10:30 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BAC1330058D9; Thu, 18 Apr 2019 11:10:28 +0000 (UTC) Received: from localhost (ovpn-116-27.ams2.redhat.com [10.36.116.27]) by smtp.corp.redhat.com (Postfix) with ESMTP id B691C608C7; Thu, 18 Apr 2019 11:10:18 +0000 (UTC) Date: Thu, 18 Apr 2019 12:10:17 +0100 From: Stefan Hajnoczi To: Arnd Bergmann Cc: Alexander Viro , linux-fsdevel@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jarkko Sakkinen , Jason Gunthorpe , Sudip Mukherjee , Peter Huewe , Jason Gunthorpe , Stefan Richter , Jiri Kosina , Benjamin Tissoires , Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , Tomas Winkler , Artem Bityutskiy , Richard Weinberger , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , "David S. Miller" , Alex Williamson , "Michael S. Tsirkin" , Jason Wang , Paolo Bonzini , OGAWA Hirofumi , Willem de Bruijn , linux-integrity@vger.kernel.org, linux1394-devel@lists.sourceforge.net, linux-usb@vger.kernel.org, linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, netdev@vger.kernel.org, devel@driverdev.osuosl.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v3 09/26] compat_ioctl: move drivers to compat_ptr_ioctl Message-ID: <20190418111017.GE23876@stefanha-x1.localdomain> References: <20190416202013.4034148-1-arnd@arndb.de> <20190416202013.4034148-10-arnd@arndb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KlAEzMkarCnErv5Q" Content-Disposition: inline In-Reply-To: <20190416202013.4034148-10-arnd@arndb.de> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Thu, 18 Apr 2019 11:10:29 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --KlAEzMkarCnErv5Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 16, 2019 at 10:19:47PM +0200, Arnd Bergmann wrote: > Each of these drivers has a copy of the same trivial helper function to > convert the pointer argument and then call the native ioctl handler. >=20 > We now have a generic implementation of that, so use it. >=20 > Acked-by: Greg Kroah-Hartman > Reviewed-by: Jarkko Sakkinen > Reviewed-by: Jason Gunthorpe > Signed-off-by: Arnd Bergmann > --- > drivers/char/ppdev.c | 12 +--------- > drivers/char/tpm/tpm_vtpm_proxy.c | 12 +--------- > drivers/firewire/core-cdev.c | 12 +--------- > drivers/hid/usbhid/hiddev.c | 11 +-------- > drivers/hwtracing/stm/core.c | 12 +--------- > drivers/misc/mei/main.c | 22 +---------------- > drivers/mtd/ubi/cdev.c | 36 +++------------------------- > drivers/net/tap.c | 12 +--------- > drivers/staging/pi433/pi433_if.c | 12 +--------- > drivers/usb/core/devio.c | 16 +------------ > drivers/vfio/vfio.c | 39 +++---------------------------- > drivers/vhost/net.c | 12 +--------- > drivers/vhost/scsi.c | 12 +--------- > drivers/vhost/test.c | 12 +--------- > drivers/vhost/vsock.c | 12 +--------- > fs/fat/file.c | 13 +---------- > 16 files changed, 20 insertions(+), 237 deletions(-) The vhost parts look good: Reviewed-by: Stefan Hajnoczi --KlAEzMkarCnErv5Q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcuFsZAAoJEJykq7OBq3PIjmUH/3YzT8r/nZGWhf+D9Jhao8p9 N6eNCnBkQtsAj+s6IhmhZxdmPlkw0b8X0ws3iIw/zE3PNeLtIt2hG92evE9QSRzD dkSG0m+8KJ1fQK73GrmLousrFnSOagczYoTD/svPhC3WMptVGlPB4aqBZO4Eh79w SyUrD7cXe2NQXUFVRI9/QVj+yu59BtvUivzkDwGZxYa5Y8RvwDvelz+xTAkKP/cl CZ9Gnc2gCrzuK26f5odjmby93QWbAVkiMe5k22pzy/RRpuzsijL5ujr+Ayeti45g cDTLJ4YjNSzM07rYoa8nqHgZATbSokG/gvbNByeC//MoqtmpE23wNzmMwuFJdi8= =85Rm -----END PGP SIGNATURE----- --KlAEzMkarCnErv5Q--