summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-07-22 17:53:58 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-07-28 13:20:25 +0300
commit6df04505f3b285f3bcfe81cf0461339b0f4ed41d (patch)
tree97c1e28558da268de45166b20a48f1e065511d13 /lib/crypto/mpi/mpi-internal.h
parent81511798bdfb1a61f97569436789721aace942fb (diff)
downloadlinux-6df04505f3b285f3bcfe81cf0461339b0f4ed41d.tar.xz
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 'lib/crypto/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions