Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3538183yba; Tue, 16 Apr 2019 13:32:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVLZKcYaHUir6qie6WqlkV+ksCs/D8hE/qazzre6OsB5eiPS3Ws820AA8wQz9OcNWstuia X-Received: by 2002:a63:4e5b:: with SMTP id o27mr79215494pgl.204.1555446744231; Tue, 16 Apr 2019 13:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555446744; cv=none; d=google.com; s=arc-20160816; b=oUce6obAJ19hDGZQbc5C+LGdf3wLvlNxVrwLHzE8GImj+Z3X5PWKzWBcJhJgnQxrw7 hH8dkZQkRr66WJXqSZu+FrDUiH6FlJMIBacLgsWXpy6tAUkvTfVeKFJV/NimTDJ1TW2s /yeaZaI7XRHIAo5hwBucVC/y2+NmoJ7hHYzUg2ZLkJECECWI1+wzp6C431JH+FLQlHfc ZKlTGQZNNJm6n+GqAxozLKXzmZOCr5qcMA7SKO+pM4NCfeuEtbad9b7y78MQA7D/k2Nc N9oOdfmk3qKbFBN43aEsuB6wHcqk3ZmI03WhxQYy8IxZfrpG1wuHS5pqbNg3NDWnZ72C PaWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=+lzZQHxtay9mi2y7NDMq0z3foEFgi0UV9m/EhjIcy4k=; b=tDY72vyY/ESYhz12alJIJxEWHXNUSQSwoSfAl3WfM7OHVv9rO2RBIbP5BwGEezeWWH hLpqZKR5j9blEuV1EY8diZJMwQqht5Xe7c8g/eWrBfgz/vEpyoDplFQ7jh4hbTa7jKUu q4jUsMyAhL1fsTWs2p/Y+OQkTchMYLu2AnGW3K9MRyL5HNgkDmVJmaDpxM6z+sXD7lKn R/W8gQTErwGTUyoBgGmFwj9Ixm45DIQ5ekeVt67RkjnVvqvgcHPycnWqMMcuVW08lEZv qAsL0MCmDdnKLKPx2vniajA0KxFFICCUjVj1DkmuWcEll0l8M+aORxbOQDv4rMmOGvNW xC/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rrVovOzU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si35087068pgw.384.2019.04.16.13.32.08; Tue, 16 Apr 2019 13:32:24 -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; dkim=pass header.i=@kernel.org header.s=default header.b=rrVovOzU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730685AbfDPUbf (ORCPT + 99 others); Tue, 16 Apr 2019 16:31:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:37908 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728466AbfDPUbe (ORCPT ); Tue, 16 Apr 2019 16:31:34 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BCBAC20663; Tue, 16 Apr 2019 20:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555446693; bh=guNqNmDD90m6Dxpy5lwwkbAOV+qQQDQzRqzAmRH6YIY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=rrVovOzUYGfP61k5urmNDdXALZi/woXaMj2Scx68wYp07N6NQVVJo6WjBL7MXozQR zlJ3I4IErCi92KnrUW0cPNPoTw5fEhmoBu8zERbmdDlmr6fQDljhTsKgWnePw5ojdt 3kgROB3+0M12LauMWlIf3+eIZqMo2Blkb2GHCnkQ= Date: Tue, 16 Apr 2019 22:31:24 +0200 (CEST) From: Jiri Kosina 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 , 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 , Stefan Hajnoczi , 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 In-Reply-To: <20190416202013.4034148-10-arnd@arndb.de> Message-ID: References: <20190416202013.4034148-1-arnd@arndb.de> <20190416202013.4034148-10-arnd@arndb.de> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Apr 2019, 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 > 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 +-------- For hiddev.c: Reviewed-by: Jiri Kosina -- Jiri Kosina SUSE Labs