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

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.

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

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

-- 
2.34.1


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

end of thread, other threads:[~2023-08-08 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04 12:43 [PATCH net-next v4 0/2] netconsole: Enable compile time configuration Breno Leitao
2023-08-04 12:43 ` [PATCH net-next v4 1/2] netconsole: Create a allocation helper Breno Leitao
2023-08-08 21:55   ` Jakub Kicinski
2023-08-04 12:43 ` [PATCH net-next v4 2/2] netconsole: Enable compile time configuration Breno Leitao

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).