lkml.org 
[lkml]   [2019]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] clocksource: cadence_ttc: fix memory leak in ttc_setup_clockevent
From
Date
On 09. 03. 19 15:24, Daniel Lezcano wrote:
>
> Hi Yue,
>
> I appreciate the fix but usually we add a rollback for all the
> operations done in the init function.
>
> Please, migrate the init function to the timer-of API, so the rollback
> will be automatically handled.
>
> Example here:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/clocksource/timer-sprd.c#n197

I have put a record to Xilinx database to take a look at it when we have
time.

Thanks,
Michal

\
 
 \ /
  Last update: 2019-03-13 14:56    [W:0.043 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site