From: kernel test robot <lkp@intel.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [ardb:efi-arm-memmap-dtprop 14/16] arch/loongarch/kernel/efi.c:133:16: error: 'struct efi' has no member named 'boot_memmap'
Date: Fri, 14 Aug 2026 01:31:32 +0800 [thread overview]
Message-ID: <202608140119.gIP3X2Bj-lkp@intel.com> (raw)
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/202608140119.gIP3X2Bj-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260814/202608140119.gIP3X2Bj-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608140119.gIP3X2Bj-lkp@intel.com/
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
reply other threads:[~2026-08-13 17:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608140119.gIP3X2Bj-lkp@intel.com \
--to=lkp@intel.com \
--cc=ardb@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.