On Wed, 20 Jul 2022 06:29:06 +0000
"Namburu, Chandu-babu" <chandu at amd.com> wrote:
>  	sha_ctx = (void *)rte_malloc(NULL, SHA512_DIGEST_SIZE, 64);
> +	if (sha_ctx == NULL) {
> +		return -ENOMEM;
> +	}
There is unnecessary cast here (pre-existing).
rte_malloc() already returns void *