* [PATCH] soc: samsung: exynos-chipid: correct helpers __init annotation
@ 2021-01-05 17:44 Krzysztof Kozlowski
2021-01-08 17:11 ` (subset) " Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2021-01-05 17:44 UTC (permalink / raw)
To: Krzysztof Kozlowski, linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: kernel test robot
After converting to builtin driver, the probe function should not call
__init functions anymore:
>> WARNING: modpost: vmlinux.o(.text+0x8884d4):
Section mismatch in reference from the function exynos_chipid_probe() to the function .init.text:product_id_to_soc_id()
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 352bfbb3e023 ("soc: samsung: exynos-chipid: convert to driver and merge exynos-asv")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
drivers/soc/samsung/exynos-chipid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c
index fa6a9b9f6d70..5c1d0f97f766 100644
--- a/drivers/soc/samsung/exynos-chipid.c
+++ b/drivers/soc/samsung/exynos-chipid.c
@@ -44,7 +44,7 @@ static const struct exynos_soc_id {
{ "EXYNOS7420", 0xE7420000 },
};
-static const char * __init product_id_to_soc_id(unsigned int product_id)
+static const char *product_id_to_soc_id(unsigned int product_id)
{
int i;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: (subset) [PATCH] soc: samsung: exynos-chipid: correct helpers __init annotation
2021-01-05 17:44 [PATCH] soc: samsung: exynos-chipid: correct helpers __init annotation Krzysztof Kozlowski
@ 2021-01-08 17:11 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2021-01-08 17:11 UTC (permalink / raw)
To: linux-kernel, linux-arm-kernel, linux-samsung-soc, Krzysztof Kozlowski
Cc: kernel test robot
On Tue, 5 Jan 2021 18:44:40 +0100, Krzysztof Kozlowski wrote:
> After converting to builtin driver, the probe function should not call
> __init functions anymore:
>
> >> WARNING: modpost: vmlinux.o(.text+0x8884d4):
> Section mismatch in reference from the function exynos_chipid_probe() to the function .init.text:product_id_to_soc_id()
Applied, thanks!
[1/1] soc: samsung: exynos-chipid: correct helpers __init annotation
commit: 6166174afc2bc74ca550af388508384b57d5163d
Best regards,
--
Krzysztof Kozlowski <krzk@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-08 17:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 17:44 [PATCH] soc: samsung: exynos-chipid: correct helpers __init annotation Krzysztof Kozlowski
2021-01-08 17:11 ` (subset) " Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).