summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-03-04 19:04:25 +0300
committerMark Brown <broonie@kernel.org>2024-03-04 20:44:00 +0300
commit5c708541301e695b611cb0b9c6d732bed9b5d904 (patch)
treeddd4121d707c1d4b33988b8ac02fb8f261f5a5d4 /tools/perf/scripts/python/export-to-sqlite.py
parentc8340ac1015471ec5af234beff535efe15f382e9 (diff)
downloadlinux-5c708541301e695b611cb0b9c6d732bed9b5d904.tar.xz
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 <christophe.jaillet@wanadoo.fr> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://msgid.link/r/20240304-mainline-axi-spi-engine-small-cleanups-v2-3-5b14ed729a31@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions