iwlwifi: pcie: print interrupt number, not index
Printing the interrupt index in our local array isn't very useful in an error message, print the interrupt number (as also shown in e.g. /proc/interrupts) instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20210612142637.05bc5157e606.Ifb65b5ed2e5296fd8258c40c4287b5443b06d337@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
7e2c14372b
commit
57e6492cf0
1 changed files with 1 additions and 1 deletions
|
@ -1648,7 +1648,7 @@ static void iwl_pcie_irq_set_affinity(struct iwl_trans *trans)
|
|||
if (ret)
|
||||
IWL_ERR(trans_pcie->trans,
|
||||
"Failed to set affinity mask for IRQ %d\n",
|
||||
i);
|
||||
trans_pcie->msix_entries[i].vector);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue