projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Procevent plugin notifications
[collectd.git]
/
src
/
pcie_errors.c
diff --git
a/src/pcie_errors.c
b/src/pcie_errors.c
index
6399605
..
b7282ea
100644
(file)
--- 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.
/* 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;
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.
/* 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);
static int pcie_find_ecap_aer(pcie_device_t *dev) {
int pos = PCIE_ECAP_OFFSET;
uint32_t header = pcie_read32(dev, pos);