Re: WARNING: modpost: vmlinux: section mismatch in reference: vega20_enable_dpm_tasks.part.0+0x2cc (section: .text) -> (unknown) (section: .init.text)
From: Amir Goldstein
Date: Fri Jan 26 2024 - 12:25:47 EST
On Fri, Jan 26, 2024 at 12:52 AM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: ecb1b8288dc7ccbdcb3b9df005fa1c0e0c0388a7
> commit: dff745c1221a402b4921d54f292288373cff500c fs: move cleanup from init_file() into its callers
> date: 7 months ago
> config: riscv-randconfig-r026-20230716 (https://download.01.org/0day-ci/archive/20240126/202401260626.nE6j5ZwR-lkp@xxxxxxxxx/config)
> compiler: riscv32-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240126/202401260626.nE6j5ZwR-lkp@xxxxxxxxx/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@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202401260626.nE6j5ZwR-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
> WARNING: modpost: vmlinux: section mismatch in reference: vega10_populate_single_gfx_level+0x164 (section: .text) -> set_reset_devices (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: vega10_populate_single_gfx_level+0x168 (section: .text) -> set_reset_devices (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: vega10_populate_single_gfx_level+0x170 (section: .text) -> set_reset_devices (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: vega10_populate_single_soc_level+0x4e (section: .text) -> set_reset_devices (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: vega10_populate_single_soc_level+0x5a (section: .text) -> set_reset_devices (section: .init.text)
Sorry, I have no idea what these warnings are and why they are related to the
mentioned commit.
Maybe someone cares to explain?
Thanks,
Amir.