On Thu, Jul 03, 2025 at 07:19:34PM +0200, Thorsten Blum wrote:
> Replace the deprecated zero-length array with a modern flexible array
> member in the struct zstd_ctx.
> 
> No functional changes intended.
> 
> Link: https://github.com/KSPP/linux/issues/78
> Signed-off-by: Thorsten Blum <thorsten.b...@linux.dev>
> ---
>  crypto/zstd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/crypto/zstd.c b/crypto/zstd.c
> index 657e0cf7b952..c489976c3e8b 100644
> --- a/crypto/zstd.c
> +++ b/crypto/zstd.c
> @@ -25,7 +25,7 @@ struct zstd_ctx {
>       zstd_dctx *dctx;
>       size_t wksp_size;
>       zstd_parameters params;
> -     u8 wksp[0] __aligned(8);
> +     u8 wksp[] __aligned(8);

This is from patch "crypto: zstd - convert to acomp" currently as commit
f5ad93ffb54119a8dc in linux-next. Should it rather be folded there? It's
part of the crypto queue.

Reply via email to