diff options
author | Maksym Glubokiy <maksym.glubokiy@plvision.eu> | 2022-08-18 14:14:19 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-19 16:52:24 -0700 |
commit | 917edfb98c480fec1dce95ece6707779905ca0b5 (patch) | |
tree | 949928611d0b396b8cd46117c27e7e1726f61ad7 | |
parent | 6745bc9b0351525e80cc7578e8ce22f83cfa3a84 (diff) |
net: prestera: add missing ABI compatibility check
Size-check a type used for FW communication is packed as expected.
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
Signed-off-by: Maksym Glubokiy <maksym.glubokiy@plvision.eu>
Link: https://lore.kernel.org/r/20220818111419.414877-1-maksym.glubokiy@plvision.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/ethernet/marvell/prestera/prestera_hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/prestera/prestera_hw.c b/drivers/net/ethernet/marvell/prestera/prestera_hw.c index 962d7e0c0cb5..e0e9ae34ceea 100644 --- a/drivers/net/ethernet/marvell/prestera/prestera_hw.c +++ b/drivers/net/ethernet/marvell/prestera/prestera_hw.c @@ -745,6 +745,7 @@ static void prestera_hw_build_tests(void) BUILD_BUG_ON(sizeof(struct prestera_msg_rif_resp) != 12); BUILD_BUG_ON(sizeof(struct prestera_msg_vr_resp) != 12); BUILD_BUG_ON(sizeof(struct prestera_msg_policer_resp) != 12); + BUILD_BUG_ON(sizeof(struct prestera_msg_flood_domain_create_resp) != 12); /* check events */ BUILD_BUG_ON(sizeof(struct prestera_msg_event_port) != 20); |