diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2018-10-17 10:13:23 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 08:44:15 +0100 |
| commit | 2309acaeee2da012faa4b45d3ec6a42d6d0c2f5f (patch) | |
| tree | 0025a56e25302f4d7a25e9747d3cfd11bf47bdae /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 3e442a35c361d776f14e372a2c86fb5e18a3e3dd (diff) | |
mfd: twl-core: Fix section annotations on {,un}protect_pm_master
[ Upstream commit 8838555089f0345b87f4277fe5a8dd647dc65589 ]
When building the kernel with Clang, the following section mismatch
warning appears:
WARNING: vmlinux.o(.text+0x3d84a3b): Section mismatch in reference from
the function twl_probe() to the function
.init.text:unprotect_pm_master()
The function twl_probe() references
the function __init unprotect_pm_master().
This is often because twl_probe lacks a __init
annotation or the annotation of unprotect_pm_master is wrong.
Remove the __init annotation on the *protect_pm_master functions so
there is no more mismatch.
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
