virtio_pci_modern: Fix the comment of virtio_pci_find_capability()
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Mon, 3 Aug 2020 11:52:24 +0000 (19:52 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Aug 2020 15:08:42 +0000 (11:08 -0400)
commit46af9adefd2fd44afa9e8a5020c520812151f849
tree6fcaf269a85070c21a81cfbfe7d3cb5ba5b4f803
parenta979a6aa009f3c99689432e0cdb5402a4463fb88
virtio_pci_modern: Fix the comment of virtio_pci_find_capability()

Fix the comment of virtio_pci_find_capability() by adding missing comment
for the last parameter: bars.

Fixes: 59a5b0f7bf74 ("virtio-pci: alloc only resources actually used.")
Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Link: https://lore.kernel.org/r/1596455545-43556-1-git-send-email-wang.yi59@zte.com.cn
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/virtio/virtio_pci_modern.c