Re: [patch 06/15] timers: Update kernel-doc for various functions
From: Thomas Gleixner
Date: Tue Nov 22 2022 - 11:43:02 EST
On Tue, Nov 22 2022 at 10:41, Steven Rostedt wrote:
> On Tue, 22 Nov 2022 16:18:37 +0100
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
>> >> + * This function cannot guarantee that the timer cannot be rearmed right
>> >> + * after dropping the base lock. That needs to be prevented by the calling
>> >> + * code if necessary.
>> >
>
> Also, re-reading it again, I wounder if we can avoid the double use of
> "cannot", in "cannot guarantee that the timer cannot".
>
> What about:
>
> This function does not prevent the timer from being rearmed right after
> dropping the base lock.
Funny enough I noticed myself when I copied this sentence into the code
and did exactly the same change :)