[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3b44c07e-1e1a-40de-8e99-56e16c6345b5@gmail.com>
Date: Mon, 18 Nov 2024 02:51:37 +0200
From: Sergey Ryazanov <ryazanov.s.a@...il.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
pablo@...filter.org, linux@...linux.org.uk, richardcochran@...il.com,
johannes@...solutions.net, loic.poulain@...aro.org, dsahern@...nel.org,
wintera@...ux.ibm.com, hawk@...nel.org, ilias.apalodimas@...aro.org,
jhs@...atatu.com, jiri@...nulli.us, ecree.xilinx@...il.com,
przemyslaw.kitszel@...el.com, netfilter-devel@...r.kernel.org,
linux-wireless@...r.kernel.org
Subject: Re: [PATCH net-next] net: reformat kdoc return statements
On 15.11.2024 18:36, Jakub Kicinski wrote:
> kernel-doc -Wall warns about missing Return: statement for non-void
> functions. We have a number of kdocs in our headers which are missing
> the colon, IOW they use
> * Return some value
> or
> * Returns some value
>
> Having the colon makes some sense, it should help kdoc parser avoid
> false positives. So add them. This is mostly done with a sed script,
> and removing the unnecessary cases (mostly the comments which aren't
> kdoc).
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> LMK if I should have split this into smaller chunks, I don't really
> expect much review here, TBH.
> ---
> CC: pablo@...filter.org
> CC: linux@...linux.org.uk
> CC: richardcochran@...il.com
> CC: johannes@...solutions.net
> CC: loic.poulain@...aro.org
> CC: ryazanov.s.a@...il.com
For the WWAN part:
Acked-by: Sergey Ryazanov <ryazanov.s.a@...il.com>
Powered by blists - more mailing lists