mirror of https://gitee.com/openkylin/linux.git
[PATCH] geode-aes: use unsigned long for spin_lock_irqsave
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
57bf63d69c
commit
5efee174f8
|
@ -99,9 +99,8 @@ do_crypt(void *src, void *dst, int len, u32 flags)
|
|||
static unsigned int
|
||||
geode_aes_crypt(struct geode_aes_op *op)
|
||||
{
|
||||
|
||||
u32 flags = 0;
|
||||
int iflags;
|
||||
unsigned long iflags;
|
||||
|
||||
if (op->len == 0 || op->src == op->dst)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue