[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <874j5eu12m.fsf@trenco.lwn.net>
Date: Mon, 14 Oct 2024 10:00:17 -0600
From: Jonathan Corbet <corbet@....net>
To: André Almeida <andrealmeid@...lia.com>, Randy Dunlap
<rdunlap@...radead.org>, Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-dev@...lia.com, André Almeida
<andrealmeid@...lia.com>
Subject: Re: [PATCH] scripts/kernel-doc: Fix build time warnings
André Almeida <andrealmeid@...lia.com> writes:
> As stated at Documentation/kbuild/llvm.rst, to make usage of ccache one
> must set KBUILD_BUILD_TIMESTAMP=''. Setting this together with W=1
> will trigger the following warning for every compiled file:
>
> date: invalid date ‘+%s’
>
> This comes from kernel-doc script, that produces the following command
> when KBUILD_BUILD_TIMESTAMP is empty:
>
> date -d"" +%s
>
> That triggers the warning above. Add a space between the flag `-d` and
> the string argument to fix date command and remove the warning.
>
> Signed-off-by: André Almeida <andrealmeid@...lia.com>
> ---
> scripts/kernel-doc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
jon
Powered by blists - more mailing lists