lkml.org 
[lkml]   [2017]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] pps: fix padding issue with PPS_FETCH for ioctl_compat
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 <giometti@enneenne.com>
> Cc: Moritz Fischer <mdf@kernel.org>
> Cc: George McCollister <george.mccollister@gmail.com>
> Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
> ---
> drivers/pps/pps.c | 110 ++++++++++++++++++++++++++++++++++-------------
> include/uapi/linux/pps.h | 19 ++++++++
> 2 files changed, 98 insertions(+), 31 deletions(-)

Acked-by: Rodolfo Giometti <giometti@enneenne.com>

--

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

\
 
 \ /
  Last update: 2017-03-04 09:12    [W:0.117 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site