lkml.org 
[lkml]   [2019]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v8 09/13] exfat: add misc operations
>> +#if (BITS_PER_LONG == 64)
>> + if (second >= UNIX_SECS_2108) {
>> + tp->second = 59;
>> + tp->minute = 59;
>> + tp->hour = 23;
>> + tp->day = 31;
>> + tp->month = 12;
>> + tp->year = 127;
>> + return;
>> + }
>> +#endif
>
> Hello! Why is this code #if-ed? Kernel supports 64 bit long long
> integers also for 32 bit platforms.
>
> Function parameter struct timespec64 *ts is already 64 bit. so above
> #if-code looks really suspicious.
Right, Will remove it.

Thanks for your review!

\
 
 \ /
  Last update: 2019-12-31 14:35    [W:0.045 / U:23.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site