drivers/pci: Add minor comment for maximum capability constant
PATCH 1/1 drivers/pci: Add minor comment for maximum capability constant
The comment is similar to extended capabilities in the function below.
Signed-off-by Frediano Ziglio <[email protected]>
--- xen/drivers/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/drivers/pci/pci.c +1 -1
@@ -11,7 +11,7 @@unsigned int pci_find_cap_offset (pci_sbdf_t sbdf,unsigned int cap) {u8 id; -int max_cap =48 ; +int max_cap =48 ;/* 192 bytes, minimum 4 bytes per capability */ u8 pos =PCI_CAPABILITY_LIST ;u16 status;
Signature · 1 line
2.43.0
Quoted 4 lines · Frediano Ziglio
The comment is similar to extended capabilities in the function below.
Signed-off-by Frediano Ziglio <[email protected]>
Acked-by Jan Beulich <[email protected]>