module: fix MIPS module_layout -> module_memory
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 14 Feb 2023 00:54:00 +0000 (16:54 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 9 Mar 2023 20:55:15 +0000 (12:55 -0800)
commitefaa2496bae66f0a78efa60d9b73ceef5ec63d79
treee837f22c684546475c12468d55dbc766c716f7e2
parent9e07f161717ab8e8ac1206bf82546511e24cbb7b
module: fix MIPS module_layout -> module_memory

Correct the struct's field/member name from mod_mem to mem.

Fixes this build error:
../arch/mips/kernel/vpe.c: In function 'vpe_elfload':
../arch/mips/kernel/vpe.c:643:41: error: 'struct module' has no member named 'mod_mem'
  643 |         v->load_addr = alloc_progmem(mod.mod_mem[MOD_TEXT].size);

Fixes: 2ece476a2346 ("module: replace module_layout with module_memory")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Song Liu <song@kernel.org>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
arch/mips/kernel/vpe.c