diff options
| author | Christophe JAILLET <[email protected]> | 2023-07-22 14:53:58 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-07-28 10:20:25 +0000 |
| commit | 6df04505f3b285f3bcfe81cf0461339b0f4ed41d (patch) | |
| tree | 97c1e28558da268de45166b20a48f1e065511d13 /lib/mpi/mpi-internal.h | |
| parent | hwrng: cn10k - use dev_err_probe (diff) | |
| download | kernel-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-internal.h')
0 files changed, 0 insertions, 0 deletions
