Re: [PATCH v2] crypto: acomp: Use shared struct for context alloc and free ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 30, 2025 at 11:28:01AM -0600, Dan Moulding wrote:
>
>  	union {
> -		struct {
> -			void *(*alloc_ctx)(void);
> -			void (*free_ctx)(void *ctx);
> -		};
> +		struct acomp_ctx_ops ctx_ops;
>  		struct crypto_acomp_streams streams;

I added the union because I was too lazy to change every file.
Since you're changing every file, please get rid of the union :)

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux