From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752131AbdCDILl (ORCPT ); Sat, 4 Mar 2017 03:11:41 -0500 Received: from mail1.hce-engineering.com ([104.233.86.154]:43328 "EHLO mail1.hce-engineering.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750769AbdCDILj (ORCPT ); Sat, 4 Mar 2017 03:11:39 -0500 To: Matt Ranostay , linux-kernel@vger.kernel.org References: <20170224202347.11944-1-matt.ranostay@konsulko.com> <20170224202347.11944-3-matt.ranostay@konsulko.com> Cc: Moritz Fischer , George McCollister From: Rodolfo Giometti Message-ID: <2c030933-3a4a-59cc-29a0-1e46db5b5313@enneenne.com> Date: Sat, 4 Mar 2017 08:32:55 +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-3-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 2/2] pps: fix padding issue with PPS_FETCH for ioctl_compat 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: > Issue is that x86 32-bit aligns to 4-bytes instead of 8-bytes > so this patchset works around the issue and corrects the data > returned in pps_fdata_compat. > > Cc: Rodolfo Giometti > Cc: Moritz Fischer > Cc: George McCollister > Signed-off-by: Matt Ranostay > --- > drivers/pps/pps.c | 110 ++++++++++++++++++++++++++++++++++------------- > include/uapi/linux/pps.h | 19 ++++++++ > 2 files changed, 98 insertions(+), 31 deletions(-) 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