diff options
author | Gustavo A. R. Silva <[email protected]> | 2023-05-22 19:35:59 -0600 |
---|---|---|
committer | Alexander Gordeev <[email protected]> | 2023-06-01 17:07:56 +0200 |
commit | d933e5f41e4f6c54f4bd3e0b29ca4854fe5fa0d6 (patch) | |
tree | 6881bf88fdb6cb409cb37f9d7f3739a256bf351e /lib/mpi/mpi-inline.h | |
parent | 5dd4241964c86e866ae51b5c5b95cd14c5f341e6 (diff) |
vfio/ccw: use struct_size() helper
Prefer struct_size() over open-coded versions.
Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Eric Farman <[email protected]>
Reviewed-by: Matthew Rosato <[email protected]>
Link: https://lore.kernel.org/r/f657276073630e806e69726a40ad1cc85101448a.1684805398.git.gustavoars@kernel.org
Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions