Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 02:50:55 +0000 (UTC)
From:      David C Somayajulu <davidcs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r299302 - in stable/9/sys: dev/bxe modules/bxe
Message-ID:  <201605100250.u4A2otDV032187@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: davidcs
Date: Tue May 10 02:50:54 2016
New Revision: 299302
URL: https://svnweb.freebsd.org/changeset/base/299302

Log:
  MFC r298591
  
  1. Removed -Wno-shift-negative-value from Makefile
  2. Fixed warning its absence caused in bxe_elink.c

Modified:
  stable/9/sys/dev/bxe/bxe_elink.c
  stable/9/sys/modules/bxe/Makefile
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)
  stable/9/sys/modules/   (props changed)

Modified: stable/9/sys/dev/bxe/bxe_elink.c
==============================================================================
--- stable/9/sys/dev/bxe/bxe_elink.c	Tue May 10 02:47:40 2016	(r299301)
+++ stable/9/sys/dev/bxe/bxe_elink.c	Tue May 10 02:50:54 2016	(r299302)
@@ -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: stable/9/sys/modules/bxe/Makefile
==============================================================================
--- stable/9/sys/modules/bxe/Makefile	Tue May 10 02:47:40 2016	(r299301)
+++ stable/9/sys/modules/bxe/Makefile	Tue May 10 02:50:54 2016	(r299302)
@@ -14,6 +14,5 @@ SRCS	+= bxe.c               \
            57712_init_values.c
 
 CFLAGS += -I${BXE}
-#CFLAGS += -Wno-shift-negative-value
 
 .include <bsd.kmod.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605100250.u4A2otDV032187>