diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-09-04 16:58:52 (GMT) |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2013-09-04 16:58:52 (GMT) |
commit | 17638db1b88184d8895f3f4551c936d7480a1d3f (patch) | |
tree | 7974ee39bc51997b86efb078f2502530884dc6dc /fs/ioctl.c | |
parent | 20e77457842f4cd253d093f08f0cce1a73afb7db (diff) | |
download | linux-fsl-qoriq-17638db1b88184d8895f3f4551c936d7480a1d3f.tar.xz |
vfio-pci: Test for extended config space
Having PCIe/PCI-X capability isn't enough to assume that there are
extended capabilities. Both specs define that the first capability
header is all zero if there are no extended capabilities. Testing
for this avoids an erroneous message about hiding capability 0x0 at
offset 0x100.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions