diff options
| author | Mark Starovoytov <mstarovoitov@marvell.com> | 2020-06-26 21:40:37 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-06-26 16:32:51 -0700 |
| commit | 8664240e303827de2d40f38fc397d1912309359c (patch) | |
| tree | a66fb5abb214f3fd196f2bc9eb3792c93415707c /scripts/stackusage | |
| parent | net: atlantic: missing space in a comment in aq_nic.h (diff) | |
| download | linux-8664240e303827de2d40f38fc397d1912309359c.tar.gz linux-8664240e303827de2d40f38fc397d1912309359c.zip | |
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 <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
