diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-09-19 08:38:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-21 08:17:14 +0300 |
commit | 5e74396d8beb5fbb47e9e80773c314513475fa3f (patch) | |
tree | 27780dc0b8b87f49158f30c3bbe3201daa325c3e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0d50f7b1e8c80a8c20db5049e269468c059b0378 (diff) | |
download | linux-5e74396d8beb5fbb47e9e80773c314513475fa3f.tar.xz |
PCI: kirin: Fix section mismatch warning
commit 6870b673509779195cab300aedc844b352d9cfbc upstream.
The PCI kirin driver compilation produces the following section mismatch
warning:
WARNING: vmlinux.o(.text+0x4758cc): Section mismatch in reference from
the function kirin_pcie_probe() to the function
.init.text:kirin_add_pcie_port()
The function kirin_pcie_probe() references
the function __init kirin_add_pcie_port().
This is often because kirin_pcie_probe lacks a __init
annotation or the annotation of kirin_add_pcie_port is wrong.
Remove '__init' from kirin_add_pcie_port() to fix it.
Fixes: fc5165db245a ("PCI: kirin: Add HiSilicon Kirin SoC PCIe controller driver")
Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions