aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/pci
diff options
context:
space:
mode:
authorRay Kinsella <mdr@ashroe.eu>2021-11-08 07:22:49 +0000
committerRay Kinsella <mdr@ashroe.eu>2021-11-08 09:33:25 +0000
commit81865bc0e3cfe2cf384640740ccbb18cc9a96163 (patch)
tree0e74c4e180a07772ef4d0308b5da755dafa0ffc4 /src/vlib/pci
parentad1bc84e6e4faad747aaf6b8499f0f467c242fc6 (diff)
perfmon: fix iio-bw coverity issues
Fixes an number of coverity issues associated with the iio-bw feature. Type: fix Fixes: e15c999c3 Signed-off-by: Ray Kinsella <mdr@ashroe.eu> Change-Id: I9ad2b336694132545d90a3483200a510226e9198
Diffstat (limited to 'src/vlib/pci')
-rw-r--r--src/vlib/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/pci/pci.c b/src/vlib/pci/pci.c
index 5535eb1709c..249a26b1d21 100644
--- a/src/vlib/pci/pci.c
+++ b/src/vlib/pci/pci.c
@@ -158,7 +158,7 @@ format_vlib_pci_link_port (u8 *s, va_list *va)
if (!r)
return format (s, "unknown");
- return format (s, "P%d", r->link_status >> 24);
+ return format (s, "P%d", r->link_capabilities >> 24);
}
u8 *