Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592421

Re: [PATCH 2/2] pps: fix padding issue with PPS_FETCH for ioctl_compat

From Rodolfo Giometti <giometti@enneenne.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] pps: fix padding issue with PPS_FETCH for ioctl_compat
Date 2017-03-04 09:20 +0100
Message-ID <thd50-6c7-15@gated-at.bofh.it> (permalink)
References <teuF3-5q2-7@gated-at.bofh.it> <teuF3-5q2-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] pps: fix padding issue with PPS_FETCH for  ioctl_compat Rodolfo Giometti <giometti@enneenne.com> - 2017-03-04 09:20 +0100

csiph-web