crypto: eip93 - use struct_size() and flexible array for ring allocation

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 <rosenp@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Rosen Penev 2026-08-03 15:40:28 -07:00 • committed by Herbert Xu
commit ce64a0e7e6
2 changed files with 12 additions and 16 deletions