projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'oprofile/urgent' into oprofile/core
[firefly-linux-kernel-4.4.55.git]
/
crypto
/
algapi.c
diff --git
a/crypto/algapi.c
b/crypto/algapi.c
index 76fae27ed01cb9834049e2b641d9e561ef0844e5..c3cf1a69a47a8dcaa57e62410c9823ee4e2d045b 100644
(file)
--- a/
crypto/algapi.c
+++ b/
crypto/algapi.c
@@
-544,7
+544,7
@@
int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg,
{
int err = -EINVAL;
- if (
frontend &&
(alg->cra_flags ^ frontend->type) & frontend->maskset)
+ if ((alg->cra_flags ^ frontend->type) & frontend->maskset)
goto out;
spawn->frontend = frontend;