Re: [PATCH 31/31] timer: Switch to testing for .function instead of .data

From: Dmitry Torokhov
Date: Thu Aug 31 2017 - 19:45:47 EST


On Thu, Aug 31, 2017 at 4:29 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> In several places, .data is checked for initialization to gate early
> calls to del_timer_sync(). Checking for .function is equally valid, so
> switch to this in all callers.

Not seeing the rest of patches it is unclear from the patch
description why this is needed/wanted.

Thanks.

--
Dmitry