Skip to content

Commit 38a001c

Browse files
committed
PCI: fix random comments
Signed-off-by: Brice Goglin <[email protected]>
1 parent 2e59d9d commit 38a001c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hwloc/topology-linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5413,7 +5413,7 @@ hwloc_linuxfs_pci_look_pcidevices(struct hwloc_backend *backend)
54135413
DIR *dir;
54145414
struct dirent *dirent;
54155415

5416-
/* We could lookup /sys/devices/pci.../.../busid1/.../budid2 recursively
5416+
/* We could lookup /sys/devices/pci.../.../busid1/.../busid2 recursively
54175417
* to build the hierarchy of bridges/devices directly.
54185418
* But that would require readdirs in all bridge sysfs subdirectories.
54195419
* Do a single readdir in the linear list in /sys/bus/pci/devices/...

hwloc/topology-pci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright © 2009 CNRS
3-
* Copyright © 2009-2016 Inria. All rights reserved.
3+
* Copyright © 2009-2017 Inria. All rights reserved.
44
* Copyright © 2009-2011, 2013 Université Bordeaux
55
* Copyright © 2014 Cisco Systems, Inc. All rights reserved.
66
* Copyright © 2015 Research Organization for Information Science
@@ -166,7 +166,7 @@ hwloc_look_pci(struct hwloc_backend *backend)
166166
* VF and PF have the same vendor ID.
167167
*
168168
* libpciaccess just returns ffff:ffff, needs to be fixed.
169-
* linuxpci is OK because sysfs files are already fixed the kernel.
169+
* linuxpci is OK because sysfs files are already fixed in the kernel.
170170
* (pciutils is OK when it uses those Linux sysfs files.)
171171
*
172172
* Reading these files is an easy way to work around the libpciaccess issue on Linux,

0 commit comments

Comments
 (0)