vfio/pci: replace 1 with PCI_CAP_LIST_NEXT to make code self-explain
Use the macro PCI_CAP_LIST_NEXT instead of 1, so that the code would be more self-explain. This patch makes this change and also fixs one typo in comment. Signed-off-by:Wei Yang <richard.weiyang@gmail.com> Signed-off-by:
Alex Williamson <alex.williamson@redhat.com>
Loading
Please register or sign in to comment