kernel/drivers/firmware/efi/libstub/x86-stub.c
.. .. @@ -60,7 +60,7 @@ 60 60 rom->data.type = SETUP_PCI; 61 61 rom->data.len = size - sizeof(struct setup_data); 62 62 rom->data.next = 0; 63 - rom->pcilen = pci->romsize;63 + rom->pcilen = romsize;64 64 *__rom = rom; 65 65 66 66 status = efi_call_proto(pci, pci.read, EfiPciIoWidthUint16,