We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6ac2b8 commit 325ad20Copy full SHA for 325ad20
drivers/pci/endpoint/pci-ep-msi.c
@@ -24,7 +24,7 @@ static void pci_epf_write_msi_msg(struct msi_desc *desc, struct msi_msg *msg)
24
struct pci_epf *epf;
25
26
epc = pci_epc_get(dev_name(msi_desc_to_dev(desc)));
27
- if (!epc)
+ if (IS_ERR(epc))
28
return;
29
30
epf = list_first_entry_or_null(&epc->pci_epf, struct pci_epf, list);
0 commit comments