diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-07-22 16:53:58 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-07-28 18:20:25 +0800 |
commit | 6df04505f3b285f3bcfe81cf0461339b0f4ed41d (patch) | |
tree | 97c1e28558da268de45166b20a48f1e065511d13 /Kconfig | |
parent | 81511798bdfb1a61f97569436789721aace942fb (diff) |
crypto: caam - Use struct_size()
Use struct_size() instead of hand-writing it, when allocating a structure
with a flex array.
This is less verbose, more robust and more informative.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions