lkml.org 
[lkml]   [2017]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 4/6] ipc: sem: Make sem_array timestamps y2038 safe
> Unless I'm missing something here, you can drop the cast to
> unsigned long long: time64_t is always 'long long' and won't
> cause a warning here.
>
> We only need a cast like this when printing the members of 'struct
> timespec64', since that can be either 'long long' or 'long', when
> it is defined as an alias for timespec.

You are right.
I think I had timespec64 on my mind when I added this cast.
I will update the series with the casts removed.

Thanks,
Deepa

\
 
 \ /
  Last update: 2017-08-02 00:38    [W:0.052 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site