Linux: -Wsection in weim_probe

Created on 22 Aug 2019  路  6Comments  路  Source: ClangBuiltLinux/linux

Reported-by: kernelci.org bot bot@kernelci.org

> Section mismatches:
> 聽 聽 WARNING: vmlinux.o(.text+0xaa84d4): Section mismatch in reference from the function weim_probe() to the function .init.text:imx_weim_gpr_setup()
> 聽 聽 WARNING: vmlinux.o(.text+0xaa860c): Section mismatch in reference from the function weim_probe() to the function .init.text:weim_timing_setup()

Looks like two function may need to either be marked __init or should not be.

-Wsection [ARCH] arm64 [BUG] linux-next [FIXED][LINUX] -next [Reported-by] KernelCI

All 6 comments

Likely introduced by this commit.

Should have sent it to linux-next instead of linux-kernel, but the maintaners are CC'd, so hopefully this is fine.

https://patchwork.kernel.org/patch/11114307/

Is that your first kernel patch @ihalip ? If so, congrats and thanks!! :champagne: :1st_place_medal:

cc @arndb

I'm sorry about the bad timing. I had merged the broken commit yesterday and found the same issue in testing. I applied an identical patch that I produced myself and pushed it out already.

This can be resolved. No sense in keeping it open for a few more weeks (Stephen mentioned there will be no -next release until the end of the month [1]).

[1] https://lore.kernel.org/linux-next/[email protected]/

Was this page helpful?
0 / 5 - 0 ratings