]>
projects
/
xen.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f31c46
)
drivers/pci: Add minor comment for maximum capability constant
author
Frediano Ziglio
<frediano.ziglio@cloud.com>
Mon, 16 Jun 2025 08:13:48 +0000
(10:13 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 16 Jun 2025 08:13:48 +0000
(10:13 +0200)
The comment is similar to extended capabilities in the function
below.
Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/pci/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/xen/drivers/pci/pci.c
b/xen/drivers/pci/pci.c
index acf4cebe42706c6d263bdc5fc540e1f2f0acd752..e1ddde90eb35cff56de29767fcf95c5273cae9ce 100644
(file)
--- 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;