Re: [PATCH] linux/time32.h: correct ns_to_kernel_old_timeval prototype

From: Arnd Bergmann
Date: Tue May 31 2022 - 07:26:20 EST


On Tue, May 31, 2022 at 8:43 AM Chanho Park <chanho61.park@xxxxxxxxxxx> wrote:
>
> The function argument is defined with const identifier in
> kernel/time/time.c but the prototype looks different between time.c and
> time32.h. There is a review[1] why it was omitted during review stage but
> they should be matched.

Thanks for report and the patch!

Since the 'const' keyword is still useless here, I would suggest
instead dropping
it from the function definition where I accidentally left it, and from the
related ns_to_timespec64() as well, both its declaration and definition.

Arnd