Skip to content

Commit b691118

Browse files
committed
Merge remote-tracking branch 'linux-efi/urgent' into efi/next
2 parents a14198d + 8b94da9 commit b691118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/efi/libstub/x86-stub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ preserve_pci_rom_image(efi_pci_io_protocol_t *pci, struct pci_setup_rom **__rom)
7272
rom->data.type = SETUP_PCI;
7373
rom->data.len = size - sizeof(struct setup_data);
7474
rom->data.next = 0;
75-
rom->pcilen = pci->romsize;
75+
rom->pcilen = romsize;
7676
*__rom = rom;
7777

7878
status = efi_call_proto(pci, pci.read, EfiPciIoWidthUint16,

0 commit comments

Comments
 (0)