diff options
author | Kees Cook <keescook@chromium.org> | 2017-03-06 06:08:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-07 01:59:43 (GMT) |
commit | e10f7bd6a6b8484ebe140a793d30b0cc56603620 (patch) | |
tree | 4e9388e0114d76bc79ebc130c8fe5992619911b2 /drivers/ide/ali14xx.c | |
parent | a0840275e3ebddd5d1349cd4908777e11ba50311 (diff) | |
download | linux-e10f7bd6a6b8484ebe140a793d30b0cc56603620.tar.xz |
pstore: Use dynamic spinlock initializer
commit e9a330c4289f2ba1ca4bf98c2b430ab165a8931b upstream.
The per-prz spinlock should be using the dynamic initializer so that
lockdep can correctly track it. Without this, under lockdep, we get a
warning at boot that the lock is in non-static memory.
Fixes: 109704492ef6 ("pstore: Make spinlock per zone instead of global")
Fixes: 76d5692a5803 ("pstore: Correctly initialize spinlock and flags")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/ali14xx.c')
0 files changed, 0 insertions, 0 deletions