diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-07-17 18:42:17 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-07-21 10:40:08 +0200 |
commit | 3f5a2cbe0f5c54adcada54a6a0567690241e7b3a (patch) | |
tree | c5c3465488fabdcfc53d81215ca4ce4f076c8b9b /LICENSES/preferred | |
parent | d2a89b52839597c70746d9f46a21b1aab0a26c02 (diff) |
thermal: core: Move initialization after core initcall
The generic netlink is initialized at subsys_initcall, so far after
the thermal init routine and the thermal generic netlink family
initialization.
On ŝome platforms, that leads to a memory corruption.
The fix was sent to netdev@ to move the genetlink framework
initialization at core_initcall.
Move the thermal core initialization to postcore level which is very
close to core level.
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Link: https://lore.kernel.org/r/20200717164217.18819-2-daniel.lezcano@linaro.org
Diffstat (limited to 'LICENSES/preferred')
0 files changed, 0 insertions, 0 deletions