Re: [PATCH AUTOSEL 4.20 16/77] ASoC: soc-core: fix init platform memory handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 15, 2019 at 11:58:18AM +0000, Mark Brown wrote:
On Thu, Feb 14, 2019 at 09:07:54PM -0500, Sasha Levin wrote:
From: Curtis Malainey <cujomalainey@xxxxxxxxxxxx>

[ Upstream commit 09ac6a817bd687e7f5dac00470262efdd72f9319 ]

snd_soc_init_platform initializes pointers to snd_soc_dai_link which is
statically allocated and it does this by devm_kzalloc. In the event of
an EPROBE_DEFER the memory will be freed and the pointers are left

This is also part of the same set of issues.

Dropped as well.

--
Thanks,
Sasha



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux