diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-04-04 12:10:17 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-04-12 16:47:10 +0800 |
| commit | 809c9b60cf03e083b1ae0c6aa4a369b2eeda9900 (patch) | |
| tree | 1a3e626fb1ba9d6abeb3f393815efce0223af3f3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a883b38a6f616a84d75213705c64d96c37536d74 (diff) | |
crypto: omap - convert reqctx buffer to fixed-size array
The flexible array member 'buffer' in 'omap_sham_reqctx' is always
allocated with BUFLEN bytes. Replace the flexible array with a
fixed-size array and remove the now-redundant 'buflen' field.
Since 'struct omap_sham_reqctx' now includes the buffer, simplify
'reqsize' and 'statesize' and use an offsetof-based memcpy() in
omap_sham_export() and omap_sham_import().
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
