Date: Mon, 25 Apr 2016 18:55:01 +0000 (UTC) From: David C Somayajulu <davidcs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298591 - in head/sys: dev/bxe modules/bxe Message-ID: <201604251855.u3PIt1mS069717@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604251855.u3PIt1mS069717>