Skip to content
Snippets Groups Projects
Commit 3fc1c182 authored by Wei Yang's avatar Wei Yang Committed by Alex Williamson
Browse files

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: default avatarWei Yang <richard.weiyang@gmail.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 40f8f0c3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment