diff options
author | Mark Starovoytov <[email protected]> | 2020-06-26 21:40:37 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-26 16:32:51 -0700 |
commit | 8664240e303827de2d40f38fc397d1912309359c (patch) | |
tree | a66fb5abb214f3fd196f2bc9eb3792c93415707c /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 6ec99221d780b3b4b86cf9cdafc18699ff3d06c9 (diff) |
net: atlantic: add alignment checks in hw_atl2_utils_fw.c
This patch adds alignment checks in all the helper macros in
hw_atl2_utils_fw.c
These alignment checks are compile-time, so runtime is not affected.
All these helper macros assume the length to be aligned (multiple of 4).
If it's not aligned, then there might be issues, e.g. stack corruption.
Signed-off-by: Mark Starovoytov <[email protected]>
Signed-off-by: Igor Russkikh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions