Skip to content

Commit 7c50f22

Browse files
committed
Merge tag 'cxl-fixes-6.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl
Pull cxl fix from Ira Weiny: - Fix calculation for SBDF in error injection * tag 'cxl-fixes-6.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl: EINJ, CXL: Fix CXL device SBDF calculation
2 parents 3a28c9e + ee1e3c4 commit 7c50f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/apei/einj-cxl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static int cxl_dport_get_sbdf(struct pci_dev *dport_dev, u64 *sbdf)
6363
seg = bridge->domain_nr;
6464

6565
bus = pbus->number;
66-
*sbdf = (seg << 24) | (bus << 16) | dport_dev->devfn;
66+
*sbdf = (seg << 24) | (bus << 16) | (dport_dev->devfn << 8);
6767

6868
return 0;
6969
}

0 commit comments

Comments
 (0)