diff options
author | David Lechner <[email protected]> | 2024-03-04 10:04:25 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-03-04 17:44:00 +0000 |
commit | 5c708541301e695b611cb0b9c6d732bed9b5d904 (patch) | |
tree | ddd4121d707c1d4b33988b8ac02fb8f261f5a5d4 /scripts/generate_rust_analyzer.py | |
parent | c8340ac1015471ec5af234beff535efe15f382e9 (diff) |
spi: axi-spi-engine: use struct_size() macro
This makes use of the struct_size() macro to calculate the size of the
struct axi_spi_engine when allocating it.
Suggested-by: Christophe JAILLET <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: David Lechner <[email protected]>
Reviewed-by: Gustavo A. R. Silva <[email protected]>
Link: https://msgid.link/r/20240304-mainline-axi-spi-engine-small-cleanups-v2-3-5b14ed729a31@baylibre.com
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions