Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1271781
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] cpufreq: do not mark s3c2410_plls_add as __init |
| Date | 2015-11-18 01:50 +0100 |
| Message-ID | <qvZ6G-3Vi-11@gated-at.bofh.it> (permalink) |
| References | <qvzvC-4cE-69@gated-at.bofh.it> <qvAhX-4Jx-5@gated-at.bofh.it> <qvDIS-6N8-1@gated-at.bofh.it> <qvKr0-31p-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 17.11.2015 18:01, Arnd Bergmann wrote:
> On Tuesday 17 November 2015 10:57:48 Krzysztof Kozlowski wrote:
>> On 17.11.2015 07:17, Arnd Bergmann wrote:
>>> On Monday 16 November 2015 23:36:42 Rafael J. Wysocki wrote:
>>>>
>>>> This should go in through the Samsung tree, so I'll leave it for them to pick
>>>> it up (at least for the time being).
>>>
>>> Ok, fair enough. Kukjin or Krzysztof, can you pick this up?
>>
>> Sure.
>>
>> As for the patch I think everything can be converted to init/initdata
>> (as in attachment).
>>
>
> I don't think so:
>
> static struct subsys_interface s3c2442_plls169344_interface __initdata = {
> .name = "s3c2442_plls169344",
> .subsys = &s3c2442_subsys,
> .add_dev = s3c2440_plls169344_add,
> };
>
> This gets passed into subsys_interface_register(), which is not __init
> in turn. subsys_interface_register() then goes on to add
> s3c2442_plls169344_interface into a linked list that is traversed
> at runtime, but the __initdata section gets discarded so you now
> have a broken list.
Ah, yes, so the patch is fine:
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] cpufreq: do not mark s3c2410_plls_add as __init Arnd Bergmann <arnd@arndb.de> - 2015-11-16 22:30 +0100
Re: [PATCH] cpufreq: do not mark s3c2410_plls_add as __init "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-11-16 23:10 +0100
Re: [PATCH] cpufreq: do not mark s3c2410_plls_add as __init Arnd Bergmann <arnd@arndb.de> - 2015-11-16 23:20 +0100
Re: [PATCH] cpufreq: do not mark s3c2410_plls_add as __init Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-11-17 03:00 +0100
Re: [PATCH] cpufreq: do not mark s3c2410_plls_add as __init Arnd Bergmann <arnd@arndb.de> - 2015-11-17 10:10 +0100
Re: [PATCH] cpufreq: do not mark s3c2410_plls_add as __init Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-11-18 01:50 +0100
csiph-web