aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-div.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-07-22 14:53:58 +0000
committerHerbert Xu <[email protected]>2023-07-28 10:20:25 +0000
commit6df04505f3b285f3bcfe81cf0461339b0f4ed41d (patch)
tree97c1e28558da268de45166b20a48f1e065511d13 /lib/mpi/mpi-div.c
parenthwrng: cn10k - use dev_err_probe (diff)
downloadkernel-6df04505f3b285f3bcfe81cf0461339b0f4ed41d.tar.gz
kernel-6df04505f3b285f3bcfe81cf0461339b0f4ed41d.zip
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 <[email protected]> Reviewed-by: Gaurav Jain <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions