Messages in this thread | | | From | Rodolfo Giometti <> | Date | Sat, 4 Mar 2017 08:32:55 +0100 | 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 <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
| |