projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5471f2e
)
crypto: bcm - Delete an error message for a failed memory allocation in do_shash()
author
Markus Elfring
<elfring@users.sourceforge.net>
Wed, 14 Feb 2018 21:05:11 +0000
(22:05 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:59 +0000
(22:16 +0800)
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/bcm/util.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/bcm/util.c
b/drivers/crypto/bcm/util.c
index d543c010ccd9272b1f856e2c55901c266ec54987..a912c6ad3e850bbe544338032b105de40508b281 100644
(file)
--- a/
drivers/crypto/bcm/util.c
+++ b/
drivers/crypto/bcm/util.c
@@
-279,7
+279,6
@@
int do_shash(unsigned char *name, unsigned char *result,
sdesc = kmalloc(size, GFP_KERNEL);
if (!sdesc) {
rc = -ENOMEM;
- pr_err("%s: Memory allocation failure\n", __func__);
goto do_shash_err;
}
sdesc->shash.tfm = hash;