git: a924b5ee6a1b - main - ixgbe: fix fw_recovery_mode callout
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Sep 2024 11:11:36 UTC
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=a924b5ee6a1b4456b5bde979bb9e15d18726de4f commit a924b5ee6a1b4456b5bde979bb9e15d18726de4f Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2024-09-21 11:10:11 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2024-09-21 11:11:17 +0000 ixgbe: fix fw_recovery_mode callout Need to pass the softc in with the callout arg MFC after: 1 week --- sys/dev/ixgbe/if_ix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c index 74bde3497279..80f288a4ccf0 100644 --- a/sys/dev/ixgbe/if_ix.c +++ b/sys/dev/ixgbe/if_ix.c @@ -1150,7 +1150,7 @@ ixgbe_if_attach_post(if_ctx_t ctx) callout_init(&sc->fw_mode_timer, true); /* Start the task */ - callout_reset(&sc->fw_mode_timer, hz, ixgbe_fw_mode_timer, 0); + callout_reset(&sc->fw_mode_timer, hz, ixgbe_fw_mode_timer, sc); } return (0);