[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230810095452.3171106-1-leitao@debian.org>
Date: Thu, 10 Aug 2023 02:54:49 -0700
From: Breno Leitao <leitao@...ian.org>
To: rdunlap@...radead.org,
benjamin.poirier@...il.com,
davem@...emloft.net,
kuba@...nel.org,
edumazet@...gle.com
Cc: netdev@...r.kernel.org,
pabeni@...hat.com
Subject: [PATCH net-next v5 0/2] netconsole: Enable compile time configuration
Enable netconsole features to be set at compilation time. Create two
Kconfig options that allow users to set extended logs and release
prepending features at compilation time.
The first patch de-duplicates the initialization code, and the second
patch adds the support in the de-duplicated code, avoiding touching two
different functions with the same change.
v1 -> v2:
* Improvements in the Kconfig help section.
v2 -> v3:
* Honour the Kconfig settings when creating sysfs targets
* Add "by default" in a Kconfig help.
v3 -> v4:
* Create an additional patch, de-duplicating the initialization
code for netconsole_target, and just patching it.
v4 -> v5:
* Remove complex code in the variable initialization.
Breno Leitao (2):
netconsole: Create a allocation helper
netconsole: Enable compile time configuration
drivers/net/Kconfig | 22 +++++++++++++++++++
drivers/net/netconsole.c | 47 +++++++++++++++++++++++-----------------
2 files changed, 49 insertions(+), 20 deletions(-)
--
2.34.1
Powered by blists - more mailing lists