Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2016 17:01:58 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r310546 - in stable/11/sys: conf modules/si
Message-ID:  <201612251701.uBPH1wMa011960@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sun Dec 25 17:01:58 2016
New Revision: 310546
URL: https://svnweb.freebsd.org/changeset/base/310546

Log:
  Similar to r310545, make some additional -Wconstant-conversion warnings
  from clang 3.9.0 in si(4) non-fatal for now.
  
  Direct commit to stable/11, since si(4) has been deleted from head.

Modified:
  stable/11/sys/conf/files
  stable/11/sys/modules/si/Makefile

Modified: stable/11/sys/conf/files
==============================================================================
--- stable/11/sys/conf/files	Sun Dec 25 16:37:35 2016	(r310545)
+++ stable/11/sys/conf/files	Sun Dec 25 17:01:58 2016	(r310546)
@@ -2558,7 +2558,8 @@ dev/sdhci/sdhci_if.m		optional sdhci
 dev/sdhci/sdhci_pci.c		optional sdhci pci
 dev/sf/if_sf.c			optional sf pci
 dev/sge/if_sge.c		optional sge pci
-dev/si/si.c			optional si
+dev/si/si.c			optional si \
+	compile-with "${NORMAL_C} ${NO_WCONSTANT_CONVERSION}"
 dev/si/si2_z280.c		optional si
 dev/si/si3_t225.c		optional si
 dev/si/si_eisa.c		optional si eisa

Modified: stable/11/sys/modules/si/Makefile
==============================================================================
--- stable/11/sys/modules/si/Makefile	Sun Dec 25 16:37:35 2016	(r310545)
+++ stable/11/sys/modules/si/Makefile	Sun Dec 25 17:01:58 2016	(r310546)
@@ -9,3 +9,5 @@ SRCS+=	opt_compat.h opt_debug_si.h opt_e
 SRCS.DEV_EISA=si_eisa.c eisa_if.h
 
 .include <bsd.kmod.mk>
+
+CWARNFLAGS.si.c=	${NO_WCONSTANT_CONVERSION}



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