[PATCH 1/5] crypto/openssl: fix GCM and CCM thread unsafe ctxs
Jack Bond-Preston
jack.bond-preston at foss.arm.com
Mon Jun 3 18:12:10 CEST 2024
On 03/06/2024 17:01, Jack Bond-Preston wrote:
> <snip>
> + EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
> + EVP_CIPHER_CTX_copy(ctx, sess->cipher.ctx);
> +
> <snip>
This, and other patches in the set, are throwing a checkpatch error:
> _coding style issues_
>
>
> ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
> #99: FILE: drivers/crypto/openssl/rte_openssl_pmd.c:1593:
> + EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
> ^
>
> total: 1 errors, 0 warnings, 41 lines checked
Which I believe is a false positive - is it that checkpatch doesn't
recognise the type EVP_CIPHER_CTX and thinks this is multiplication?
More information about the dev
mailing list