Re: [PATCH v2 3/7] clocksource: Initialize cs->wd_list

From: Thomas Gleixner
Date: Wed May 02 2018 - 09:37:38 EST


On Mon, 30 Apr 2018, Peter Zijlstra wrote:

> A number of places relies on list_empty(&cs->wd_list), however the
> list_head does not get initialized. Do so upon registration, such that
> thereafter it is possible to rely on list_empty() correctly reflecting
> the list membership status.
>
> Tested-by: Diego Viola <diego.viola@xxxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

The next patch is marked for stable, but this one not. Confused

Thanks,

tglx