Yes, i know about the rebase, but thought I'd log this anyway. Got a couple instances of this error when building on newly released 5.6 kernel (5.6.6).
CC [M] ...misc.o
.../misc.c:157:8: error: unknown type name ‘time_t’
157 | static time_t accum_days_in_year[] = {
| ^~~~~~
.../misc.c: In function ‘exfat_time_fat2unix’:
.../misc.c:166:2: error: unknown type name ‘time_t’; did you mean ‘ktime_t’?
166 | time_t year = tp->Year;
| ^~~~~~
| ktime_t
.../misc.c:167:2: error: unknown type name ‘time_t’; did you mean ‘ktime_t’?
167 | time_t ld; /* leap day */
| ^~~~~~
| ktime_t
.../misc.c: In function ‘exfat_time_unix2fat’:
.../misc.c:189:2: error: unknown type name ‘time_t’; did you mean ‘ktime_t’?
189 | time_t second = ts->tv_sec;
| ^~~~~~
| ktime_t
.../misc.c:190:2: error: unknown type name ‘time_t’; did you mean ‘ktime_t’?
190 | time_t day, month, year;
| ^~~~~~
| ktime_t
.../misc.c:191:2: error: unknown type name ‘time_t’; did you mean ‘ktime_t’?
191 | time_t ld; /* leap day */
| ^~~~~~
| ktime_t
I did try the suggestion and it seems to have worked, but it's hardly scientific. ;)
Yes, i know about the rebase, but thought I'd log this anyway. Got a couple instances of this error when building on newly released 5.6 kernel (5.6.6).
I did try the suggestion and it seems to have worked, but it's hardly scientific. ;)