svn commit: r298591 - in head/sys: dev/bxe modules/bxe
David C Somayajulu
davidcs at FreeBSD.org
Mon Apr 25 18:55:03 UTC 2016
Author: davidcs
Date: Mon Apr 25 18:55:01 2016
New Revision: 298591
URL: https://svnweb.freebsd.org/changeset/base/298591
Log:
1. Removed -Wno-shift-negative-value from Makefile
2. Fixed warning its absence caused in bxe_elink.c
MFC after:5 days
Modified:
head/sys/dev/bxe/bxe_elink.c
head/sys/modules/bxe/Makefile
Modified: head/sys/dev/bxe/bxe_elink.c
==============================================================================
--- head/sys/dev/bxe/bxe_elink.c Mon Apr 25 18:44:11 2016 (r298590)
+++ head/sys/dev/bxe/bxe_elink.c Mon Apr 25 18:55:01 2016 (r298591)
@@ -11969,8 +11969,8 @@ static elink_status_t elink_54618se_conf
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 */
Modified: head/sys/modules/bxe/Makefile
==============================================================================
--- head/sys/modules/bxe/Makefile Mon Apr 25 18:44:11 2016 (r298590)
+++ head/sys/modules/bxe/Makefile Mon Apr 25 18:55:01 2016 (r298591)
@@ -17,6 +17,5 @@ SRCS += bxe.c \
57712_init_values.c
CFLAGS += -I${BXE}
-CFLAGS += -Wno-shift-negative-value
.include <bsd.kmod.mk>
More information about the svn-src-head
mailing list