From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752188AbdCDHlY (ORCPT ); Sat, 4 Mar 2017 02:41:24 -0500 Received: from mail1.hce-engineering.com ([104.233.86.154]:42582 "EHLO mail1.hce-engineering.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbdCDHlV (ORCPT ); Sat, 4 Mar 2017 02:41:21 -0500 To: Matt Ranostay , linux-kernel@vger.kernel.org References: <20170224202347.11944-1-matt.ranostay@konsulko.com> <20170224202347.11944-2-matt.ranostay@konsulko.com> Cc: Rodolfo Giometti , Moritz Fischer , George McCollister From: Rodolfo Giometti Message-ID: Date: Sat, 4 Mar 2017 08:26:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170224202347.11944-2-matt.ranostay@konsulko.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 93.146.66.165 X-SA-Exim-Mail-From: giometti@enneenne.com Subject: Re: [PATCH 1/2] pps: add ioctl_compat function to correct ioctl definitions X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on hce1.hce-engineering.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/24/17 21:23, Matt Ranostay wrote: > ioctl definitions use the pointer size of the architecture which > is fine when userspace and kernel are the same bitsize. This > patchset workarounds an issue with mixed bitsize kernel + userspace > by rewriting the cmd to the kernelspace architecture pointer size. > > Cc: Rodolfo Giometti > Cc: Moritz Fischer > Cc: George McCollister > Signed-off-by: Matt Ranostay > --- > drivers/pps/pps.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) Acked-by: Rodolfo Giometti -- HCE Engineering e-mail: giometti@hce-engineering.com GNU/Linux Solutions giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti Cosino Project - the quick prototyping embedded system - www.cosino.io Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it