Skip to contentSkip to conversation

DPAA2 build errors with GCC 7

DISCUSSION Thomas Monjalon 2 participants 2 messages Jul 11, 2017

lore
Share & tools
lore
#0 lore raw

I see some compilation errors with DPAA2 target,
using aarch64-linux-gnu-gcc 7.1.0:

drivers/net/dpaa2/dpaa2_ethdev.c:1257:15: error:
this statement may fall through [-Werror=implicit-fallthrough=]
cfg.options &= ~DPNI_LINK_OPT_ASYM_PAUSE;

drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h:122:6: error:
this statement may fall through [-Werror=implicit-fallthrough=]
if (rta_sec_era < RTA_SEC_ERA_2)

#1 lore raw
Quoted 12 lines · Thomas Monjalon

I see some compilation errors with DPAA2 target,
using aarch64-linux-gnu-gcc 7.1.0:

drivers/net/dpaa2/dpaa2_ethdev.c:1257:15: error:
this statement may fall through [-Werror=implicit-fallthrough=]
cfg.options &= ~DPNI_LINK_OPT_ASYM_PAUSE;

drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h:122:6: error:
this statement may fall through [-Werror=implicit-fallthrough=]
if (rta_sec_era < RTA_SEC_ERA_2)

Thanks!
I have fixed them and sent patches.

Regards,
Hemant