A. R. Silva <garsi...@embeddedor.com>
---
drivers/staging/ccree/ssi_buffer_mgr.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c
b/drivers/staging/ccree/ssi_buffer_mgr.c
index b35871e..18a8694 100644
--- a/drivers/staging
Fix the following checkpatch warning:
CHECK: Prefer kmalloc(sizeof(*buff_mgr_handle)...)
over kmalloc(sizeof(struct buff_mgr_handle)...)
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/staging/ccree/ssi_buffer_mgr.c | 2 +-
1 file changed, 1 insertion(+), 1 de
11944 128 38207953f drivers/crypto/omap-sham.o
after:
textdata bss dec hex filename
26084 11856 64 380049474 drivers/crypto/omap-sham.o
Signed-off-by: Gustavo A. R. Silva <gust...@embeddedor.com>
---
drivers/crypto/omap-sham.c | 2 +-
1 file chan
filename
148426464 128 2143453ba drivers/crypto/img-hash.o
after:
textdata bss dec hex filename
147896376 64 2122952ed drivers/crypto/img-hash.o
Signed-off-by: Gustavo A. R. Silva <gust...@embeddedor.com>
---
drivers/crypto/img-hash.c | 2 +-
filename
30005 10264 128 403979dcd drivers/crypto/atmel-sha.o
after:
textdata bss dec hex filename
29934 10208 64 402069d0e drivers/crypto/atmel-sha.o
Signed-off-by: Gustavo A. R. Silva <gust...@embeddedor.com>
---
drivers/crypto/atmel-sha.c | 2
filename
170798704 128 259116537 drivers/crypto/atmel-tdes.o
after:
textdata bss dec hex filename
170398616 64 257196477 drivers/crypto/atmel-tdes.o
Signed-off-by: Gustavo A. R. Silva <gust...@embeddedor.com>
---
drivers/crypto/atmel-tdes
Propagate the return value of platform_get_irq on failure.
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/mediatek/mtk-platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/mediatek/mtk-platform.c
b/drivers/crypto/me
Print error message on platform_get_irq failure before return.
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/ccp/ccp-platform.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/ccp/ccp-platform.c
b/drivers/crypto/c
Propagate the return value of platform_get_irq on failure.
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/omap-aes.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index 5120a17..c376a3e
Print and propagate the return value of platform_get_irq on failure.
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/mxc-scc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/mxc-scc.c b/drivers/crypto/mxc-scc.c
Print and propagate the return value of platform_get_irq on failure.
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/omap-des.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c
Print error message on platform_get_irq failure before return.
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/mxs-dcp.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c
index 6
Check return value from call to of_match_device()
in order to prevent a NULL pointer dereference.
In case of NULL print error message and return -ENODEV
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/bcm/cipher.c | 5 +
1 file changed, 5 insertions(+)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Cc: Herbert Xu <herb...@gondor.apana.org.au>
Cc: "David S. Miller" <da...@davemloft.net>
Cc: linux-crypto@vger.kernel.org
Signed-off-by: Gustavo A. R. Silva &
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/qat/qat_common/qat_uclo.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/cryp
Quoting Herbert Xu <herb...@gondor.apana.org.au>:
On Thu, Oct 12, 2017 at 05:55:29PM -0500, Gustavo A. R. Silva wrote:
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <garsi...@embed
Make use of the swap macro and remove unnecessary variable temp.
This makes the code easier to read and maintain.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <garsi...@embeddedor.com>
---
drivers/crypto/chelsio/chcr_algo.c | 5 +
1 file chan
Hi Herbert,
On 03/27/2018 05:07 AM, Herbert Xu wrote:
On Fri, Mar 23, 2018 at 02:09:46PM -0500, Gustavo A. R. Silva wrote:
Hi Herbert,
There is an ongoing effort to remove all VLAs from the code base [1] and
while working on that I came across the following macro at
include/crypto/hash.h:154
return value")
Addresses-Coverity-ID: 1467449 ("Dereference null return value")
Fixes: cc35c88ae4db ("crypto : chtls - CPL handler definition")
Signed-off-by: Gustavo A. R. Silva <gust...@embeddedor.com>
---
drivers/crypto/chelsio/chtls/chtls_cm.c | 16 ++
Hi all,
While doing some static analysis I came across the following piece of code at
drivers/crypto/chelsio/chtls/chtls_io.c:1203:
1203 if (!size)
1204 break;
1205
1206 if (unlikely(ULP_SKB_CB(skb)->flags &
ULPCB_FLAG_NO_APPEND))
1207
Hi Herbert,
There is an ongoing effort to remove all VLAs from the code base [1] and
while working on that I came across the following macro at
include/crypto/hash.h:154:
#define SHASH_DESC_ON_STACK(shash, ctx) \
char __##shash##_desc[sizeof(struct
Hi Herbert,
There is an ongoing effort to remove all VLAs from the code base [1] and
while working on that I came across the following macro at
include/crypto/hash.h:154:
#define SHASH_DESC_ON_STACK(shash, ctx) \
char __##shash##_desc[sizeof(struct
22 matches
Mail list logo