diff options
Diffstat (limited to 'litmus/sched_gsn_edf.c')
-rw-r--r-- | litmus/sched_gsn_edf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c index 01791a18e8f3..b3309ee2561e 100644 --- a/litmus/sched_gsn_edf.c +++ b/litmus/sched_gsn_edf.c | |||
@@ -1720,6 +1720,7 @@ static struct litmus_lock* gsnedf_new_fmlp(void) | |||
1720 | sem = kmalloc(sizeof(*sem), GFP_KERNEL); | 1720 | sem = kmalloc(sizeof(*sem), GFP_KERNEL); |
1721 | if (!sem) | 1721 | if (!sem) |
1722 | return NULL; | 1722 | return NULL; |
1723 | memset(sem, 0, sizeof(*sem)); | ||
1723 | 1724 | ||
1724 | sem->owner = NULL; | 1725 | sem->owner = NULL; |
1725 | sem->hp_waiter = NULL; | 1726 | sem->hp_waiter = NULL; |