X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fpcie_errors.c;h=b7282eacf41e61a9ff2798a522a965c5ed8d5bce;hp=63996050ad4c0dfadb44c50838e5480082ac19cb;hb=a811574a6acbf87f23948411876a231fecaeb491;hpb=9f8dc5668faf5432dcb1430017bd7a1c383c2453 diff --git a/src/pcie_errors.c b/src/pcie_errors.c index 63996050..b7282eac 100644 --- a/src/pcie_errors.c +++ b/src/pcie_errors.c @@ -492,7 +492,7 @@ static void pcie_dispatch_uncorrectable_errors(pcie_device_t *dev, /* Find offset of PCI Express Capability Structure * in PCI configuration space. * Returns offset, -1 if not found. -**/ + **/ static int pcie_find_cap_exp(pcie_device_t *dev) { int pos = pcie_read8(dev, PCI_CAPABILITY_LIST) & ~3; @@ -515,7 +515,7 @@ static int pcie_find_cap_exp(pcie_device_t *dev) { /* Find offset of Advanced Error Reporting Capability. * Returns AER offset, -1 if not found. -**/ + **/ static int pcie_find_ecap_aer(pcie_device_t *dev) { int pos = PCIE_ECAP_OFFSET; uint32_t header = pcie_read32(dev, pos);