[ardb:efi-arm-memmap-dtprop 14/16] arch/loongarch/kernel/efi.c:133:16: error: 'struct efi' has no member named 'boot_memmap'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-arm-memmap-dtprop head: 670a91515cfd9dbb8db662b15783b03d1e817649 commit: c68fc14ebcb6d2facd1a0e7f9feb538399244b76 [14/16] efi: Turn boot memmap handling into shared code config: loongarch-randconfig-002-20260813 (https://download.01.org/0day-ci/archive/20260814/[email protected]/config) compiler: loongarch64-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260814/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): arch/loongarch/kernel/efi.c: In function 'efi_init': >> arch/loongarch/kernel/efi.c:133:16: error: 'struct efi' has no member named 'boot_memmap' 133 | if (efi.boot_memmap == EFI_INVALID_TABLE_ADDR) | ^ arch/loongarch/kernel/efi.c:136:36: error: 'struct efi' has no member named 'boot_memmap' 136 | tbl = early_memremap_ro(efi.boot_memmap, sizeof(*tbl)); | ^ arch/loongarch/kernel/efi.c:140:46: error: 'struct efi' has no member named 'boot_memmap' 140 | data.phys_map = efi.boot_memmap + sizeof(*tbl); | ^ arch/loongarch/kernel/efi.c:157:50: error: 'struct efi' has no member named 'boot_memmap' 157 | memblock_reserve((phys_addr_t)efi.boot_memmap, sizeof(*tbl) + data.size); | ^ vim +133 arch/loongarch/kernel/efi.c 99 100 void __init efi_init(void) 101 { 102 int size; 103 void *config_tables; 104 struct efi_boot_memmap *tbl; 105 106 if (!efi_system_table) 107 return; 108 109 efi_systab = (efi_system_table_t *)early_memremap_ro(efi_system_table, sizeof(*efi_systab)); 110 if (!efi_systab) { 111 pr_err("Can't find EFI system table.\n"); 112 return; 113 } 114 115 efi_systab_report_header(&efi_systab->hdr, efi_systab->fw_vendor); 116 117 if (IS_ENABLED(CONFIG_64BIT)) 118 set_bit(EFI_64BIT, &efi.flags); 119 120 efi_nr_tables = efi_systab->nr_tables; 121 efi_config_table = (unsigned long)efi_systab->tables; 122 123 size = sizeof(efi_config_table_t); 124 config_tables = early_memremap(efi_config_table, efi_nr_tables * size); 125 efi_config_parse_tables(config_tables, efi_systab->nr_tables, arch_tables); 126 early_memunmap(config_tables, efi_nr_tables * size); 127 128 set_bit(EFI_CONFIG_TABLES, &efi.flags); 129 130 if (IS_ENABLED(CONFIG_EFI_EARLYCON) || IS_ENABLED(CONFIG_SYSFB)) 131 init_primary_display(); 132 > 133 if (efi.boot_memmap == EFI_INVALID_TABLE_ADDR) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki