[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <836bcd4e-fb5f-447a-b23f-c6f1d5ddc745@huawei.com>
Date: Mon, 26 Aug 2024 21:37:36 +0800
From: "liuyuntao (F)" <liuyuntao12@...wei.com>
To: Nathan Chancellor <nathan@...nel.org>, kernel test robot <lkp@...el.com>
CC: <llvm@...ts.linux.dev>, <oe-kbuild-all@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>, "Russell King (Oracle)"
<rmk+kernel@...linux.org.uk>, Arnd Bergmann <arnd@...db.de>, Linus Walleij
<linus.walleij@...aro.org>
Subject: Re: WARNING: modpost: vmlinux: section mismatch in reference:
imx7d_enet_init+0x18 (section: .text.unlikely.imx7d_enet_init) ->
imx7d_enet_clk_sel (section: .init.text)
I reproduce the warning, even if reset the patch
`ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION`,
it seems not this patch cause the warning.
On 2024/8/24 11:32, Nathan Chancellor wrote:
> On Fri, Aug 23, 2024 at 09:56:36PM +0800, kernel test robot wrote:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: 3d5f968a177d468cd13568ef901c5be84d83d32b
>> commit: ed0f941022515ff40473ea5335769a5dc2524a3f ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION
>> date: 2 months ago
>> config: arm-randconfig-002-20240823 (https://download.01.org/0day-ci/archive/20240823/202408232129.sx7nsk3e-lkp@intel.com/config)
>> compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 08e5a1de8227512d4774a534b91cb2353cef6284)
>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240823/202408232129.sx7nsk3e-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@...el.com>
>> | Closes: https://lore.kernel.org/oe-kbuild-all/202408232129.sx7nsk3e-lkp@intel.com/
>>
>> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>>
>> WARNING: modpost: missing MODULE_DESCRIPTION() in vmlinux.o
>>>> WARNING: modpost: vmlinux: section mismatch in reference: imx7d_enet_init+0x18 (section: .text.unlikely.imx7d_enet_init) -> imx7d_enet_clk_sel (section: .init.text)
>
> This is caused by a recent LLVM change, I sent
> https://lore.kernel.org/r/20240822-imx7d-mark-imx7d_enet_init-as-init-v1-1-8dfadee3bed4@kernel.org
> for it.
>
> Cheers,
> Nathan
Powered by blists - more mailing lists