diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-12-20 23:44:57 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-20 23:44:56 -0800 |
| commit | dc22d4ffc32dc2bf7f1314b500eaa58f044665ce (patch) | |
| tree | 43f7b2c6278c9c27fe5e705b44e32797fcfeafa2 | |
| parent | fd1d20a98836ac6e808d4425b2fceee152364c3c (diff) | |
| parent | c5b14abc0bf1b05c7237d56993f168d234fbc21e (diff) | |
Merge "diag: Initialize spin lock once per memory device channel"
| -rw-r--r-- | drivers/char/diag/diag_memorydevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/diag/diag_memorydevice.c b/drivers/char/diag/diag_memorydevice.c index da5a477375da..c552f263d7e5 100644 --- a/drivers/char/diag/diag_memorydevice.c +++ b/drivers/char/diag/diag_memorydevice.c @@ -356,8 +356,8 @@ int diag_md_init() ch->tbl[j].buf = NULL; ch->tbl[j].len = 0; ch->tbl[j].ctx = 0; - spin_lock_init(&(ch->lock)); } + spin_lock_init(&(ch->lock)); } return 0; |
