]> git.proxmox.com Git - mirror_qemu.git/commit
vfio/pci: replace 1 with PCI_CAP_LIST_NEXT to make code self-explain
authorWei Yang <richard.weiyang@gmail.com>
Fri, 19 Feb 2016 16:42:29 +0000 (09:42 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 19 Feb 2016 16:42:29 +0000 (09:42 -0700)
commit3fc1c182c1c1131ab16ce282b3d9567f334a96df
tree784e15d37b05fd52d63f0c1c0e8a62ffcf0580c4
parent40f8f0c31b6009e802175463c97f3b9e6f7c5d0f
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>
hw/vfio/pci.c