]> xenbits.xensource.com Git - qemu-upstream-unstable.git/commitdiff
pcie: change confused comment clearer
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 06:53:48 +0000 (14:53 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 2 Nov 2014 09:52:24 +0000 (11:52 +0200)
This comment applies to all functions below it.
It is not appropriate that called capability allocation
functions, change it into capability list management functions.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie.c

index b64a0046313f4ec39ddf323ce5c863803db46991..58455bd8542102e0ae2695d67c04f799ff38d805 100644 (file)
@@ -529,7 +529,7 @@ bool pcie_cap_is_arifwd_enabled(const PCIDevice *dev)
 }
 
 /**************************************************************************
- * pci express extended capability allocation functions
+ * pci express extended capability list management functions
  * uint16_t ext_cap_id (16 bit)
  * uint8_t cap_ver (4 bit)
  * uint16_t cap_offset (12 bit)