Re: linux-next: build failure after merge of the tip tree
From: Adrian Hunter
Date: Tue Apr 09 2024 - 02:32:52 EST
On 9/04/24 05:49, Stephen Rothwell wrote:
> Hi all,
>
> After merging the tip tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> In file included from <command-line>:
> lib/vdso/gettimeofday.c: In function 'vdso_calc_ns':
> lib/vdso/gettimeofday.c:11:33: error: 'U64_MAX' undeclared (first use in this function); did you mean 'U64_C'?
> 11 | # define VDSO_DELTA_MASK(vd) U64_MAX
> | ^~~~~~~
> lib/vdso/gettimeofday.c:41:49: note: in expansion of macro 'VDSO_DELTA_MASK'
> 41 | u64 delta = (cycles - vd->cycle_last) & VDSO_DELTA_MASK(vd);
> | ^~~~~~~~~~~~~~~
> lib/vdso/gettimeofday.c:11:33: note: each undeclared identifier is reported only once for each function it appears in
> 11 | # define VDSO_DELTA_MASK(vd) U64_MAX
> | ^~~~~~~
> lib/vdso/gettimeofday.c:41:49: note: in expansion of macro 'VDSO_DELTA_MASK'
> 41 | u64 delta = (cycles - vd->cycle_last) & VDSO_DELTA_MASK(vd);
> | ^~~~~~~~~~~~~~~
>
> Caused by commit
>
> c8e3a8b6f2e6 ("vdso: Consolidate vdso_calc_delta()")
>
> I have used the tip tree from next-20240408 for today.
Thanks you! Please consider the fix cc'ed you and linked below:
https://lore.kernel.org/all/20240409062639.3393-1-adrian.hunter@xxxxxxxxx/