Re: Converting struct timer_list callback argument to struct timer_list *
From: Thomas Gleixner
Date: Fri Sep 01 2017 - 06:21:54 EST
On Fri, 1 Sep 2017, Christoph Hellwig wrote:
> Good work!
>
> I just think that the TIMER_CONTAINER name is revolting.
>
> The usual name for such a helper fitting other uses like lists
> and rbtrees would be timer_entry, and that also reads much better.
I think the plan is to remove that thing afterward, because then the
callback function is:
void func(struct timer_list *timer)
So I don't mind the ugly name as it should be simply removed once the tree
is converted over.
Thanks,
tglx