mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
netlink: specs: ethtool: re-align module-fw-flash-status
Correct the values for enum ethtool_module_fw_flash_status: - ETHTOOL_MODULE_FW_FLASH_STATUS_STARTED is 1, not 0. - ETHTOOL_MODULE_FW_FLASH_STATUS_IN_PROGRESS is 2, not 1. - ETHTOOL_MODULE_FW_FLASH_STATUS_COMPLETED is 3, not 2. - ETHTOOL_MODULE_FW_FLASH_STATUS_ERROR is 4, not 3. Re-align the YNL spec by explicitly setting the first value to 1. CC: Andrew Lunn <andrew@lunn.ch> CC: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net> Reviewed-by: Hangbin Liu <liuhangbin@kylinos.cn> Link: https://patch.msgid.link/20260925213918.204767-7-ast@fiberby.net Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
fe6a71dc0f
commit
a9a9845734
|
|
@ -47,6 +47,7 @@ definitions:
|
|||
-
|
||||
name: started
|
||||
doc: The firmware flashing process has started.
|
||||
value: 1
|
||||
-
|
||||
name: in-progress
|
||||
doc: The firmware flashing process is in progress.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user