Skip to content

Commit b1dd1df

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! WIP: pcie mode switch whenever we cxl_remove()
Signed-off-by: Andrew Donnellan <[email protected]>
1 parent b761382 commit b1dd1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/misc/cxl/pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ static void cxl_deconfigure_adapter(struct cxl *adapter)
15421542
cxl_flush_cachelines(adapter);
15431543
rc = pnv_phb_to_cxl_mode(pdev, OPAL_PHB_CAPI_MODE_PCIE);
15441544
if (rc)
1545-
dev_WARN(pdev, "PCIe mode switch failed\n");
1545+
dev_WARN(&pdev->dev, "PCIe mode switch failed\n");
15461546

15471547
pci_disable_device(pdev);
15481548
}

0 commit comments

Comments
 (0)