[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ss4qejqrx2vtzbv7gpq3n3b2na2hqg6jmjuzc7jgfubjuie2cq@ql56alvspndg>
Date: Mon, 19 Jan 2026 05:10:09 -0800
From: Breno Leitao <leitao@...ian.org>
To: Andre Carvalho <asantostc@...il.com>
Cc: Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Shuah Khan <shuah@...nel.org>,
Simon Horman <horms@...nel.org>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH net-next v11 5/7] netconsole: introduce helpers for
dynamic_netconsole_mutex lock/unlock
On Sun, Jan 18, 2026 at 11:00:25AM +0000, Andre Carvalho wrote:
> This commit introduces two helper functions to perform lock/unlock on
> dynamic_netconsole_mutex providing no-op stub versions when compiled
> without CONFIG_NETCONSOLE_DYNAMIC and refactors existing call sites to
> use the new helpers.
>
> This is done following kernel coding style guidelines, in preparation
> for an upcoming change. It avoids the need for preprocessor conditionals
> in the call site and keeps the logic easier to follow.
>
> Signed-off-by: Andre Carvalho <asantostc@...il.com>
Reviewed-by: Breno Leitao <leitao@...ian.org>
Powered by blists - more mailing lists