diff options
| author | Peter Zijlstra <[email protected]> | 2018-04-30 10:00:11 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-05-02 14:10:40 +0000 |
| commit | 5b9e886a4af97574ca3ce1147f35545da0e7afc7 (patch) | |
| tree | f21241809c135be8938c5d562b8b0c30d5a40042 /lib/mpi/mpicoder.c | |
| parent | clocksource: Allow clocksource_mark_unstable() on unregistered clocksources (diff) | |
| download | kernel-5b9e886a4af97574ca3ce1147f35545da0e7afc7.tar.gz kernel-5b9e886a4af97574ca3ce1147f35545da0e7afc7.zip | |
clocksource: Initialize cs->wd_list
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.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Diego Viola <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
