File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -736,14 +736,14 @@ void aer_print_error(struct pci_dev *dev, struct aer_err_info *info)
736
736
static void aer_print_port_info (struct pci_dev * dev , struct aer_err_info * info ,
737
737
bool found )
738
738
{
739
- u8 bus = info -> id >> 8 ;
740
- u8 devfn = info -> id & 0xff ;
739
+ u16 source = info -> id ;
741
740
742
741
pci_info (dev , "%s%s error message received from %04x:%02x:%02x.%d%s\n" ,
743
742
info -> multi_error_valid ? "Multiple " : "" ,
744
743
aer_error_severity_string [info -> severity ],
745
- pci_domain_nr (dev -> bus ), bus , PCI_SLOT (devfn ),
746
- PCI_FUNC (devfn ), found ? "" : " (no details found" );
744
+ pci_domain_nr (dev -> bus ), PCI_BUS_NUM (source ),
745
+ PCI_SLOT (source ), PCI_FUNC (source ),
746
+ found ? "" : " (no details found" );
747
747
}
748
748
749
749
#ifdef CONFIG_ACPI_APEI_PCIEAER
You can’t perform that action at this time.
0 commit comments