mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
netconsole: add target_state enum
Introduces a enum to track netconsole target state which is going to replace the enabled boolean. Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Andre Carvalho <asantostc@gmail.com> Tested-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20260118-netcons-retrigger-v11-1-4de36aebcf48@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
938b404e25
commit
d793db4aa0
|
|
@ -119,6 +119,11 @@ enum sysdata_feature {
|
|||
MAX_SYSDATA_ITEMS = 4,
|
||||
};
|
||||
|
||||
enum target_state {
|
||||
STATE_DISABLED,
|
||||
STATE_ENABLED,
|
||||
};
|
||||
|
||||
/**
|
||||
* struct netconsole_target - Represents a configured netconsole target.
|
||||
* @list: Links this target into the target_list.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user