Messages in this thread | | | Subject | Re: [PATCH] clocksource: cadence_ttc: fix memory leak in ttc_setup_clockevent | From | Michal Simek <> | Date | Wed, 13 Mar 2019 14:55:49 +0100 |
| |
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
| |