From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3E7EC32751 for ; Wed, 31 Jul 2019 08:38:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 91AD0206A3 for ; Wed, 31 Jul 2019 08:38:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728011AbfGaIiC (ORCPT ); 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