2017-03-04 08:11:41

by Rodolfo Giometti

[permalink] [raw]
Subject: Re: [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 <[email protected]>
> Cc: Moritz Fischer <[email protected]>
> Cc: George McCollister <[email protected]>
> Signed-off-by: Matt Ranostay <[email protected]>
> ---
> drivers/pps/pps.c | 110 ++++++++++++++++++++++++++++++++++-------------
> include/uapi/linux/pps.h | 19 ++++++++
> 2 files changed, 98 insertions(+), 31 deletions(-)

Acked-by: Rodolfo Giometti <[email protected]>

--

HCE Engineering e-mail: [email protected]
GNU/Linux Solutions [email protected]
Linux Device Driver [email protected]
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
Cosino Project - the quick prototyping embedded system - http://www.cosino.io
Freelance ICT Italia - Consulente ICT Italia - http://www.consulenti-ict.it