[PATCH] ARM: OMAP: mcbsp: Fix possible memory corruption

Jarkko Nikula jarkko.nikula at bitmer.com
Mon Dec 12 06:22:28 EST 2011


Hi

On 12/12/2011 12:23 PM, Igor Grinberg wrote:
> On 12/12/11 10:38, Jarkko Nikula wrote:
>> Commits 09d28d ("ARM: OMAP: mcbsp: Start generalize omap2_mcbsp_set_clks_src")
>> and 7bc0c4 ("ARM: OMAP: mcbsp: Start generalize signal muxing functions")
>> incorrectly set two struct omap_mcbsp_platform_data fields after
>> omap_device_build_ss and kfree calls.
>>
>> Fix this by moving these pdata assignments before those calls.
>>
>> Signed-off-by: Jarkko Nikula <jarkko.nikula at bitmer.com>
>> Reported-by: neilb at suse.de
> Perhaps, should be:
> Reported-by: NeilBrown <neilb at suse.de>
> and
> Cc: <stable at vger.kernel.org>	[3.1]
> as for below.
>> ---
>> For 3.2, 3.1 is ok.
>> ---
No need to cc stable since the issue is not in stable kernels.

-- 
Jarkko



More information about the linux-arm-kernel mailing list