]> www.infradead.org Git - users/dwmw2/linux.git/commit
netconsole: Introduce configfs helpers for sysdata features
authorBreno Leitao <leitao@debian.org>
Thu, 6 Feb 2025 11:05:55 +0000 (03:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2025 15:04:18 +0000 (15:04 +0000)
commit364f67837e86cfd59ef8727dbf6db15594281d4d
treecd0771842d111f47f29835bf8587fc7e9cafc3fe
parent563fe939a81ab08198b78dc8451ef3090969f30b
netconsole: Introduce configfs helpers for sysdata features

This patch introduces a bitfield to store sysdata features in the
netconsole_target struct. It also adds configfs helpers to enable
or disable the CPU_NR feature, which populates the CPU number in
sysdata.

The patch provides the necessary infrastructure to set or unset the
CPU_NR feature, but does not modify the message itself.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c