summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-08-28 13:57:05 +0300
committerArd Biesheuvel <ardb@kernel.org>2023-08-28 13:57:05 +0300
commitb691118f2c44d16b84fc65b8147b33620eb18cac (patch)
tree838e13a93f3f304f40409182213ca33f390b66a3 /drivers
parenta14198dfe990d58474cea64dab8b95b810a68b70 (diff)
parent8b94da92559f7e403dc7ab81937cc50f949ee2fd (diff)
downloadlinux-b691118f2c44d16b84fc65b8147b33620eb18cac.tar.xz
Merge remote-tracking branch 'linux-efi/urgent' into efi/next
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firmware/efi/libstub/x86-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/x86-stub.c b/drivers/firmware/efi/libstub/x86-stub.c
index 220be75a5cdc..146477da2b98 100644
--- a/drivers/firmware/efi/libstub/x86-stub.c
+++ b/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)
rom->data.type = SETUP_PCI;
rom->data.len = size - sizeof(struct setup_data);
rom->data.next = 0;
- rom->pcilen = pci->romsize;
+ rom->pcilen = romsize;
*__rom = rom;
status = efi_call_proto(pci, pci.read, EfiPciIoWidthUint16,