Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5689145ybi; Wed, 31 Jul 2019 01:43:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjNvuJngs0BcrY+57sEAwwAm1c9Iz+RUUzhiXV8yLQeNNJlbQBSzhudjuSnZywKJ7b0FhW X-Received: by 2002:a17:90a:270f:: with SMTP id o15mr1793681pje.56.1564562632946; Wed, 31 Jul 2019 01:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564562632; cv=none; d=google.com; s=arc-20160816; b=0BQTpQDEUo1IfYiFrUYrx7IHebD3wz9fjO2jcWYOibJSrokZLmcVokZ1bu9OrAPyDh PtR/07/Eib2z6TG6x0NNP9n7X0OgNfBEVsM39TOyilb5HUl+GW6Cs8J8a/dROhqqCe9G /aSx/PxEUTF1bVs9ipCNYGIuxPVM5tb0VAsX8N4wF5mJBMIPVEcEacG5U80hCNapuwYz Ptt/aE6S4HWF27Qhe3/20Kmn2ei+E45Ot6aj7yVhaSctEA7y0W2pDY0RKGoTX1HDd2GB YKkx0OKs+KkfklDvb8p4kXJ7vqyIF8/9FSKZXU+z9644p3gDiHNp76eOpVgNrg0iK8ni 5PYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=0fo/y4Hh08zZPMbK7GFLU/KXG/R6IobalJrp4qoXCWw=; b=bseO0/ApVaA2hm9JYDWHOfB5XbEF0OrcPtoBTPoHVleTN6RNN4URr2bGoYXWY0wFoZ B5gR+5dy0zKZqY+FfZrvij1Mdx8V/cvF0prDZeMYJUyfVzoifPn4fZD9PJ8BzLn6ULc2 2g1HzD2bu/+ikK0SzJayeuVfYT2QElnKADpHZur6ulfnUtKYXuWFaHDsGzBO9XkC9HAi iyQlC/B+P6/7bKTAWoCm8ymjzohag2Qdv0lBw5eWRj06+7WgeYSqjLJ0zO14mUl9N8Qe FKG9gAyFhp78RDc/RKKvdtSIiBMa4cTseVA5wMhc00iBOIj6NkbOE/aqCPM2cEe9ZTM6 3Olw== 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 d3si31846525pfr.161.2019.07.31.01.43.37; Wed, 31 Jul 2019 01:43:52 -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 S1727944AbfGaIiC (ORCPT + 99 others); Wed, 31 Jul 2019 04:38:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32910 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726168AbfGaIiB (ORCPT ); Wed, 31 Jul 2019 04:38:01 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CD99FC007359; Wed, 31 Jul 2019 08:38:00 +0000 (UTC) Received: from gondolin (dhcp-192-232.str.redhat.com [10.33.192.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 30EE16012E; Wed, 31 Jul 2019 08:37:54 +0000 (UTC) Date: Wed, 31 Jul 2019 10:37:51 +0200 From: Cornelia Huck To: Arnd Bergmann Cc: Alexander Viro , devel@driverdev.osuosl.org, linux-input@vger.kernel.org, kvm@vger.kernel.org, "Michael S . Tsirkin" , Greg Kroah-Hartman , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jarkko Sakkinen , virtualization@lists.linux-foundation.org, Jason Gunthorpe , linux-mtd@lists.infradead.org, Stefan Hajnoczi , Jiri Kosina , linux-fsdevel@vger.kernel.org, ceph-devel@vger.kernel.org, linux-integrity@vger.kernel.org, linux1394-devel@lists.sourceforge.net, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 12/29] compat_ioctl: move drivers to compat_ptr_ioctl Message-ID: <20190731103751.3cc53132.cohuck@redhat.com> In-Reply-To: <20190730195227.742215-1-arnd@arndb.de> References: <20190730192552.4014288-1-arnd@arndb.de> <20190730195227.742215-1-arnd@arndb.de> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 31 Jul 2019 08:38:01 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 Jul 2019 21:50:28 +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. > > We now have a generic implementation of that, so use it. > > Acked-by: Greg Kroah-Hartman > Acked-by: Michael S. Tsirkin > Reviewed-by: Jarkko Sakkinen > Reviewed-by: Jason Gunthorpe > Reviewed-by: Jiri Kosina > Reviewed-by: Stefan Hajnoczi > Signed-off-by: Arnd Bergmann > --- > drivers/vfio/vfio.c | 39 +++---------------------------- vfio changes: Reviewed-by: Cornelia Huck