Re: [PATCH] delayacct: fix build regression on accounting tool
From: Geert Uytterhoeven
Date: Fri Feb 13 2026 - 05:26:46 EST
On Tue, 10 Feb 2026 at 11:34, Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The accounting tool was modified for the original ABI using
> a custom 'timespec64' type in linux/taskstats.h, which I changed
> to use the regular __kernel_timespec type, causing a build failure:
>
> getdelays.c:202:45: warning: 'struct timespec64' declared inside parameter list will not be visible outside of this definition or declaration
>
> 202 | static const char *format_timespec64(struct timespec64 *ts)
> | ^~~~~~~~~~
>
> Change the tool to match the updated header.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/r/202602091611.lxgINqXp-lkp@xxxxxxxxx/
> Fixes: 503efe850c74 ("delayacct: add timestamp of delay max")
> Fixes: f06e31eef4c1 ("delayacct: fix uapi timespec64 definition")
JFTR, this commit was rebased, and is now commit 90079798f1d748e9
("delayacct: fix uapi timespec64 definition") upstream.
Fixes: 90079798f1d748e9 ("delayacct: fix uapi timespec64 definition")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds