Re: [PATCHv6 28/36] posix-clocks: Add align for timens_offsets

From: Thomas Gleixner
Date: Fri Aug 16 2019 - 02:36:57 EST

On Thu, 15 Aug 2019, Thomas Gleixner wrote:
> So using struct timespec64 for the offset is wrong. You really need to open
> code that offset storage if you don't want to end up with weird workarounds
> for BE.
> Something like this:
> struct timens_offs {
> time64_t tv_sec;
> s64 tv_nsec;

Actually that should use 'int' for the tv_nsec part.