[PATCH] crypto: vmx -- disable preemption to enable vsx in aes_ctr.c

2017-01-20 Thread Li Zhong
Some preemptible check warnings were reported from enable_kernel_vsx(). This patch disables preemption in aes_ctr.c before enabling vsx, and they are now consistent with other files in the same directory. Signed-off-by: Li Zhong --- drivers/crypto/vmx/aes_ctr.c | 6 ++ 1 file changed, 6

[PATCH] crypto: vmx - fix null dereference in p8_aes_xts_crypt

2016-08-24 Thread Li Zhong
ce0] c00f34c8 worker_thread+0xa8/0x660 [c00013b77d80] c00fc0b0 kthread+0x110/0x130 [c00013b77e30] c00098f0 ret_from_kernel_thread+0x5c/0x6c Signed-off-by: Li Zhong --- drivers/crypto/vmx/aes_xts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv