git: edf4f6a6ecd4 - stable/14 - ixgbe: fix fw_recovery_mode callout
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Sep 2024 09:23:13 UTC
The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=edf4f6a6ecd402c1aafb76f131b507f90191da19 commit edf4f6a6ecd402c1aafb76f131b507f90191da19 Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2024-09-21 11:10:11 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2024-09-28 09:22:42 +0000 ixgbe: fix fw_recovery_mode callout Need to pass the softc in with the callout arg (cherry picked from commit a924b5ee6a1b4456b5bde979bb9e15d18726de4f) --- 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);