diff options
author | Christophe JAILLET <[email protected]> | 2023-07-12 22:42:15 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-07-13 20:21:26 -0700 |
commit | cbdd13bfea785667f9c9df4c6ec46fc841ef6c4a (patch) | |
tree | 3c02391ab753569084bddf8a8cec01210e076539 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 7bc1cfaee1f03008e8b1fd29e621cb50a9512263 (diff) |
soc: qcom: smem: Use struct_size()
Use struct_size() instead of hand-writing it, when allocating a structure
with a flex array.
This is less verbose.
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/f74328551cfab0262ba353f37d047ac74bf616e1.1689194490.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions