diff options
author | 2020-06-26 21:40:37 +0300 | |
---|---|---|
committer | 2020-06-26 16:32:51 -0700 | |
commit | 8664240e303827de2d40f38fc397d1912309359c (patch) | |
tree | a66fb5abb214f3fd196f2bc9eb3792c93415707c /drivers/net/ethernet/intel/igc | |
parent | net: atlantic: missing space in a comment in aq_nic.h (diff) | |
download | wireguard-linux-8664240e303827de2d40f38fc397d1912309359c.tar.xz wireguard-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 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions