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 f88b3ec commit 0f6f0d6Copy full SHA for 0f6f0d6
drivers/cxl/pci.c
@@ -764,10 +764,6 @@ static int cxl_event_config(struct pci_host_bridge *host_bridge,
764
return 0;
765
}
766
767
- rc = cxl_mem_alloc_event_buf(mds);
768
- if (rc)
769
- return rc;
770
-
771
rc = cxl_event_get_int_policy(mds, &policy);
772
if (rc)
773
return rc;
@@ -781,6 +777,10 @@ static int cxl_event_config(struct pci_host_bridge *host_bridge,
781
777
return -EBUSY;
782
778
783
779
780
+ rc = cxl_mem_alloc_event_buf(mds);
+ if (rc)
+ return rc;
+
784
rc = cxl_event_irqsetup(mds);
785
786
0 commit comments