Skip to content

Commit 649953b

Browse files
Jiang LiuKAGA-KOKO
authored andcommitted
PCI: xilinx: Fix typo in function name
There's a typo in commit e39758e in linux-next, which incorrectly spells "msi_desc_to_pci_sysdata()" as "msi_desc_to_pci_sys_data()" and causes build failure: > ../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration] Fixes: e39758e "PCI: Use helper functions to access fields in struct msi_desc" Signed-off-by: Jiang Liu <[email protected]> Cc: [email protected] Cc: Mark Brown <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Michal Simek <[email protected]> Cc: Sören Brinkmann <[email protected]> Cc: Srikanth Thokala <[email protected]> Cc: Rob Herring <[email protected]> Cc: Yijing Wang <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 4c2880b commit 649953b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/host/pcie-xilinx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static void xilinx_pcie_destroy_msi(unsigned int irq)
232232

233233
if (!test_bit(irq, msi_irq_in_use)) {
234234
msi = irq_get_msi_desc(irq);
235-
port = sys_to_pcie(msi_desc_to_pci_sys_data(msi));
235+
port = sys_to_pcie(msi_desc_to_pci_sysdata(msi));
236236
dev_err(port->dev, "Trying to free unused MSI#%d\n", irq);
237237
} else {
238238
clear_bit(irq, msi_irq_in_use);

0 commit comments

Comments
 (0)