aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Rapaport <drapaport@habana.ai>2022-05-30 14:11:45 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-07-12 09:09:21 +0300
commit2acd21cd00ce635adfec5a8725a0c342812bffb4 (patch)
treedcfdcf4a103cfcdf7125f54c70e1e55e01e81396 /tools/perf/scripts/python
parenthabanalabs: add terminating NULL to attrs arrays (diff)
downloadlinux-2acd21cd00ce635adfec5a8725a0c342812bffb4.tar.gz
linux-2acd21cd00ce635adfec5a8725a0c342812bffb4.zip
habanalabs: align ioctl uapi structures to 64-bit
The compiler is padding the members of the struct to be aligned to 64-bit. The content of the padded bytes is and not zeroed explicitly, hence might copy undefined data. We add a padding member to the struct to get a zeroed 64-bit align struct. Signed-off-by: Dan Rapaport <drapaport@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions