[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250211005334.83813-1-kuniyu@amazon.com>
Date: Tue, 11 Feb 2025 09:53:34 +0900
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <leitao@...ian.org>
CC: <andrew+netdev@...n.ch>, <davem@...emloft.net>, <edumazet@...gle.com>,
<horms@...nel.org>, <kernel-team@...a.com>, <kuba@...nel.org>,
<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<pabeni@...hat.com>, Kuniyuki Iwashima <kuniyu@...zon.com>
Subject: Re: [PATCH net-next v2 1/2] net: document return value of dev_getbyhwaddr_rcu()
From: Breno Leitao <leitao@...ian.org>
Date: Mon, 10 Feb 2025 03:56:13 -0800
> Add missing return value documentation in the kernel-doc comment for
> dev_getbyhwaddr_rcu(), clarifying that it returns either a pointer to
> net_device or NULL if no matching device is found.
>
> This fix a warning found in NIPA[1]:
>
> net/core/dev.c:1141: warning: No description found for return value of 'dev_getbyhwaddr_rcu'
>
> [1] Link: https://netdev.bots.linux.dev/static/nipa/931564/13964899/kdoc/summary
nit: We usually use
Link: https://.... [1]
, a bare space (not %20) indicates the end of URL.
> Signed-off-by: Breno Leitao <leitao@...ian.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Powered by blists - more mailing lists