mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ice: move ice_init_interrupt_scheme() prior ice_init_pf()
[ Upstream commit2fe18288fc] Move ice_init_interrupt_scheme() prior ice_init_pf(). To enable the move ice_set_pf_caps() was moved out from ice_init_pf() to the caller (ice_init_dev()), and placed prior to the irq scheme init. The move makes deinit order of ice_deinit_dev() and failure-path of ice_init_pf() match (at least in terms of not calling ice_clear_interrupt_scheme() and ice_deinit_pf() in opposite ways). The new order aligns with findings made by Jakub Buchocki in the commit24b454bc35("ice: Fix ice module unload"). Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Stable-dep-of:1390b8b3d2("ice: remove duplicate call to ice_deinit_hw() on error paths") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
fa66269056
commit
0380ea173b
1 changed files with 11 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue