We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a14198d + 8b94da9 commit b691118Copy full SHA for b691118
1 file changed
drivers/firmware/efi/libstub/x86-stub.c
@@ -72,7 +72,7 @@ preserve_pci_rom_image(efi_pci_io_protocol_t *pci, struct pci_setup_rom **__rom)
72
rom->data.type = SETUP_PCI;
73
rom->data.len = size - sizeof(struct setup_data);
74
rom->data.next = 0;
75
- rom->pcilen = pci->romsize;
+ rom->pcilen = romsize;
76
*__rom = rom;
77
78
status = efi_call_proto(pci, pci.read, EfiPciIoWidthUint16,
0 commit comments