netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v6 0/2] netconsole: Enable compile time configuration
@ 2023-08-11  9:31 Breno Leitao
  2023-08-11  9:31 ` [PATCH net-next v6 1/2] netconsole: Create a allocation helper Breno Leitao
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Breno Leitao @ 2023-08-11  9:31 UTC (permalink / raw)
  To: rdunlap, benjamin.poirier, davem, kuba, edumazet; +Cc: netdev, pabeni, horms

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.

  v5 -> v6:
	* Return -EINVAL for invalid configuration during
	  initialization.

Breno Leitao (2):
  netconsole: Create a allocation helper
  netconsole: Enable compile time configuration

 drivers/net/Kconfig      | 22 ++++++++++++++++++
 drivers/net/netconsole.c | 48 +++++++++++++++++++++++-----------------
 2 files changed, 50 insertions(+), 20 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-18  3:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11  9:31 [PATCH net-next v6 0/2] netconsole: Enable compile time configuration Breno Leitao
2023-08-11  9:31 ` [PATCH net-next v6 1/2] netconsole: Create a allocation helper Breno Leitao
2023-08-11  9:31 ` [PATCH net-next v6 2/2] netconsole: Enable compile time configuration Breno Leitao
2023-08-15  7:30 ` [PATCH net-next v6 0/2] " Simon Horman
2023-08-18  3:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).