diff options
Diffstat (limited to 'arch/x86/pci/mmconfig-shared.c')
| -rw-r--r-- | arch/x86/pci/mmconfig-shared.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/mmconfig-shared.c b/arch/x86/pci/mmconfig-shared.c index 937bcece700..704b9ec043d 100644 --- a/arch/x86/pci/mmconfig-shared.c +++ b/arch/x86/pci/mmconfig-shared.c @@ -585,7 +585,7 @@ static int __init pci_parse_mcfg(struct acpi_table_header *header)  	while (i >= sizeof(struct acpi_mcfg_allocation)) {  		entries++;  		i -= sizeof(struct acpi_mcfg_allocation); -	}; +	}  	if (entries == 0) {  		pr_err(PREFIX "MMCONFIG has no entries\n");  		return -ENODEV;  |