Thread (13 messages) 13 messages, 4 authors, 2015-01-17

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

flat view

From: Scott Wood <hidden>
Date: 2014-12-04 04:05:05

On Wed, 2014-12-03 at 16:53 +0800, Kevin Hao wrote:
This reverts commit da788acb28386aa896224e784954bb73c99ff26c.

That commit tried to fix the section mismatch warning by moving the
ppc_corenet_clk_driver struct to init section. This is definitely wrong
because the kernel would free the memories occupied by this struct
after boot while this driver is still registered in the driver core.
The kernel would panic when accessing this driver struct.

Cc: <redacted> # 3.17
I don't see stable@vger.kernel.org in the actual CC list.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help