[PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"
Scott Wood
scottwood at freescale.com
Thu Dec 4 15:04:51 AEDT 2014
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: stable at vger.kernel.org # 3.17
I don't see stable at vger.kernel.org in the actual CC list.
-Scott
More information about the Linuxppc-dev
mailing list