Commits

Octavian Purdila committed 2e59b2954e3
MLK-13779 crypto: caam - initialize kslock spinlock Fixes the following lockdep message: INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.30-02225-g55e4b9e #8 Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [<800162b0>] (unwind_backtrace) from [<80012ba0>] (show_stack+0x10/0x14) [<80012ba0>] (show_stack) from [<808d09d0>] (dump_stack+0xa8/0xd4) [<808d09d0>] (dump_stack) from [<8007aed0>] (__lock_acquire+0x1eb0/0x2224) [<8007aed0>] (__lock_acquire) from [<8007b840>] (lock_acquire+0xa4/0xd0) [<8007b840>] (lock_acquire) from [<808dc28c>] (_raw_spin_lock+0x3c/0x4c) [<808dc28c>] (_raw_spin_lock) from [<80666724>] (sm_keystore_slot_alloc+0x24/0x74) [<80666724>] (sm_keystore_slot_alloc) from [<806677c8>] (caam_sm_example_init+0x1ec/0xb68) [<806677c8>] (caam_sm_example_init) from [<80c6ff48>] (caam_sm_test_init+0x50/0x58) [<80c6ff48>] (caam_sm_test_init) from [<80009770>] (do_one_initcall+0x8c/0x1d8) [<80009770>] (do_one_initcall) from [<80c26dc8>] (kernel_init_freeable+0x144/0x1e4) [<80c26dc8>] (kernel_init_freeable) from [<808cbff0>] (kernel_init+0x8/0xe8) [<808cbff0>] (kernel_init) from [<8000f618>] (ret_from_fork+0x14/0x3c) Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com> Reviewed-by: Dan Douglass <dan.douglass@nxp.com>