[lkml]   [2020]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v9 09/13] exfat: add misc operations
When compiling on a 32-bit system like Raspian on an RPi4, the compile dies:

CC [M] fs/exfat/misc.o
fs/exfat/misc.c: In function 'exfat_time_unix2fat':
fs/exfat/misc.c:157:16: error: 'UNIX_SECS_2108' undeclared (first use in this function); did you mean 'UNIX_SECS_1980'?
if (second >= UNIX_SECS_2108) {
fs/exfat/misc.c:157:16: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/ fs/exfat/misc.o] Error 1

The problem is that the definition of UNIX_SECS_2108 is wrapped:

+#if BITS_PER_LONG == 64
+#define UNIX_SECS_2108 4354819200L

but the usage isn't.

 \ /
  Last update: 2020-01-09 23:04    [W:0.101 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site