Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567999

Re: [PATCH v2] clk: samsung: mark s3c...._clk_sleep_init() as __init

From Sylwester Nawrocki <s.nawrocki@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] clk: samsung: mark s3c...._clk_sleep_init() as __init
Date 2017-01-27 11:10 +0100
Message-ID <t4bDH-2M6-3@gated-at.bofh.it> (permalink)
References <t3gYO-18i-3@gated-at.bofh.it> <t3DC2-7dw-19@gated-at.bofh.it> <t4bDH-2M6-5@gated-at.bofh.it> <t42K5-5KK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/27/2017 01:27 AM, Stephen Boyd wrote:
> On 01/25, martin@kaiser.cx wrote:
>> From: Martin Kaiser <martin@kaiser.cx>
>>
>> These functions are referencing s3c...._clk_regs[], which are marked as
>> __initdata. When compiling with CONFIG_DEBUG_SECTION_MISMATCH=y, this
>> produces warnings like
>>
>> WARNING: vmlinux.o(.text+0x198350):
>> Section mismatch in reference from the function s3c2410_clk_sleep_init()
>> to the (unknown reference) .init.data:(unknown)
>>
>> Mark the s3c...._clk_sleep_init() functions as __init in
>> order to fix this.
>>
>> Signed-off-by: Martin Kaiser <martin@kaiser.cx>
>
> Fixes tag?

The patch fixes the very first commit adding the driver:
"ca2e90a clk: samsung: add clock controller driver for s3c2412"
and it doesn't apply cleanly on top of that commit.
Still it applies cleanly up to v3.15 so I'll add the tag when
applying.

-- 
Thanks,
Sylwester

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] clk: samsung: mark s3c...._clk_sleep_init() as __init Martin Kaiser <martin@kaiser.cx> - 2017-01-24 22:40 +0100
  Re: [PATCH] clk: samsung: mark s3c...._clk_sleep_init() as __init Chanwoo Choi <cw00.choi@samsung.com> - 2017-01-25 01:40 +0100
  Re: [PATCH] clk: samsung: mark s3c...._clk_sleep_init() as __init Krzysztof Kozlowski <krzk@kernel.org> - 2017-01-25 09:40 +0100
  [PATCH v2] clk: samsung: mark s3c...._clk_sleep_init() as __init martin@kaiser.cx - 2017-01-25 22:50 +0100
    Re: [PATCH v2] clk: samsung: mark s3c...._clk_sleep_init() as __init Chanwoo Choi <cw00.choi@samsung.com> - 2017-01-26 00:50 +0100
    Re: [PATCH v2] clk: samsung: mark s3c...._clk_sleep_init() as __init Krzysztof Kozlowski <krzk@kernel.org> - 2017-01-26 07:00 +0100
    Re: [PATCH v2] clk: samsung: mark s3c...._clk_sleep_init() as __init Stephen Boyd <sboyd@codeaurora.org> - 2017-01-27 01:40 +0100
      Re: [PATCH v2] clk: samsung: mark s3c...._clk_sleep_init() as __init Sylwester Nawrocki <s.nawrocki@samsung.com> - 2017-01-27 11:10 +0100

csiph-web