[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241003150553.h4nkoauzgv4b5g55@skbuf>
Date: Thu, 3 Oct 2024 18:05:53 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: Jacob Keller <jacob.e.keller@...el.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Przemek Kitszel <przemyslaw.kitszel@...el.com>
Subject: Re: [PATCH net-next v2 03/10] lib: packing: remove kernel-doc from
header file
On Wed, Oct 02, 2024 at 02:51:52PM -0700, Jacob Keller wrote:
> From: Vladimir Oltean <vladimir.oltean@....com>
>
> It is not necessary to have the kernel-doc duplicated both in the
> header and in the implementation. It is better to have it near the
> implementation of the function, since in C, a function can have N
> declarations, but only one definition.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
> Signed-off-by: Jacob Keller <jacob.e.keller@...el.com>
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
> ---
Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>
Powered by blists - more mailing lists