summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/renesas
diff options
context:
space:
mode:
authorMark Starovoytov <mstarovoitov@marvell.com>2020-06-26 21:40:37 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-26 16:32:51 -0700
commit8664240e303827de2d40f38fc397d1912309359c (patch)
treea66fb5abb214f3fd196f2bc9eb3792c93415707c /drivers/net/ethernet/renesas
parent6ec99221d780b3b4b86cf9cdafc18699ff3d06c9 (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 <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/renesas')
0 files changed, 0 insertions, 0 deletions