1. Removed -Wno-shift-negative-value from Makefile
2. Fixed warning its absence caused in bxe_elink.c MFC after:5 days
This commit is contained in:
parent
676a03fa6a
commit
05c6aa727f
@ -11969,8 +11969,8 @@ static elink_status_t elink_54618se_config_init(struct elink_phy *phy,
|
||||
elink_eee_disable(phy, params, vars);
|
||||
}
|
||||
} else {
|
||||
vars->eee_status &= ~SHMEM_EEE_1G_ADV <<
|
||||
SHMEM_EEE_SUPPORTED_SHIFT;
|
||||
vars->eee_status &= ((uint32_t)(~SHMEM_EEE_1G_ADV) <<
|
||||
SHMEM_EEE_SUPPORTED_SHIFT);
|
||||
|
||||
if (phy->flags & ELINK_FLAGS_EEE) {
|
||||
/* Handle legacy auto-grEEEn */
|
||||
|
@ -17,6 +17,5 @@ SRCS += bxe.c \
|
||||
57712_init_values.c
|
||||
|
||||
CFLAGS += -I${BXE}
|
||||
CFLAGS += -Wno-shift-negative-value
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user