On 26/10/2023 20:18, Andy Shevchenko wrote:
On Wed, Oct 25, 2023 at 05:07:41PM +0800, Hangyu Hua wrote:kstrndup and kstrdup_and_replace in clkctrl_get_name can performkstrndup() kstrdup_and_replace() clkctrl_get_name()
I see. I will send a v2 later. Thanks, Hangyu
dynamic memory allocation. So clkctrl_name needs to be freed when provider->clkdm_name is NULL.