[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] 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 <frediano.ziglio@xxxxxxxxx> --- xen/drivers/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/pci/pci.c b/xen/drivers/pci/pci.c index acf4cebe42..e1ddde90eb 100644 --- a/xen/drivers/pci/pci.c +++ b/xen/drivers/pci/pci.c @@ -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; -- 2.43.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |