MFC r298591

1. Removed -Wno-shift-negative-value from Makefile
2. Fixed warning its absence caused in bxe_elink.c
This commit is contained in:
davidcs 2016-05-10 02:35:13 +00:00
parent a5e16f50b9
commit df98d2f966
2 changed files with 2 additions and 3 deletions

View File

@ -11969,8 +11969,8 @@ static elink_status_t elink_54618se_config_init(struct elink_phy *phy,
elink_eee_disable(phy, params, vars); elink_eee_disable(phy, params, vars);
} }
} else { } else {
vars->eee_status &= ~SHMEM_EEE_1G_ADV << vars->eee_status &= ((uint32_t)(~SHMEM_EEE_1G_ADV) <<
SHMEM_EEE_SUPPORTED_SHIFT; SHMEM_EEE_SUPPORTED_SHIFT);
if (phy->flags & ELINK_FLAGS_EEE) { if (phy->flags & ELINK_FLAGS_EEE) {
/* Handle legacy auto-grEEEn */ /* Handle legacy auto-grEEEn */

View File

@ -14,6 +14,5 @@ SRCS += bxe.c \
57712_init_values.c 57712_init_values.c
CFLAGS += -I${BXE} CFLAGS += -I${BXE}
#CFLAGS += -Wno-shift-negative-value
.include <bsd.kmod.mk> .include <bsd.kmod.mk>