mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07: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:
committed by
Jakub Kicinski
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.
|
||||
|
||||
Reference in New Issue
Block a user