We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40384c8 commit 76850b5Copy full SHA for 76850b5
include/linux/pci-epf.h
@@ -157,7 +157,7 @@ struct pci_epf {
157
struct device dev;
158
const char *name;
159
struct pci_epf_header *header;
160
- struct pci_epf_bar bar[6];
+ struct pci_epf_bar bar[PCI_STD_NUM_BARS];
161
u8 msi_interrupts;
162
u16 msix_interrupts;
163
u8 func_no;
@@ -174,7 +174,7 @@ struct pci_epf {
174
/* Below members are to attach secondary EPC to an endpoint function */
175
struct pci_epc *sec_epc;
176
struct list_head sec_epc_list;
177
- struct pci_epf_bar sec_epc_bar[6];
+ struct pci_epf_bar sec_epc_bar[PCI_STD_NUM_BARS];
178
u8 sec_epc_func_no;
179
struct config_group *group;
180
unsigned int is_bound;
0 commit comments