Re: [PATCH] crypto: eip93 - use struct_size() and flexible array for ring allocation
Herbert Xu <[email protected]>
| Newsgroups | org.kernel.vger.linux-crypto,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 03, 2026 at 03:40:28PM -0700, Rosen Penev wrote: > Embed the single ring as a flexible array member in eip93_device > instead of allocating it separately. This simplifies the probe path > and uses struct_size() for a single allocation. > > Assisted-by: opencode:big-pickle > Signed-off-by: Rosen Penev <[email protected]> > --- > .../crypto/inside-secure/eip93/eip93-main.c | 6 +---- > .../crypto/inside-secure/eip93/eip93-main.h | 22 +++++++++---------- > 2 files changed, 12 insertions(+), 16 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt