diff options
author | Yu Liao <[email protected]> | 2023-08-21 15:36:00 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-08-21 18:35:23 +0530 |
commit | 33a0b734543ed5a44135e15f00429b94f75f2866 (patch) | |
tree | 83c337f84be5f2a67f251878088e4a6211b03b7d /tools/perf/util/c++/clang.cpp | |
parent | 923b138388928ade722cba86c55145f3dfac1cab (diff) |
dmaengine: fsl-edma: use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version,
in order to avoid any potential type mistakes or integer overflows that,
in the worst scenario, could lead to heap overflows.
Signed-off-by: Yu Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions