svn commit: r228789 - in head/sys/modules/aic7xxx: ahc/ahc_pci ahd

Dimitry Andric dim at FreeBSD.org
Wed Dec 21 20:23:03 UTC 2011


Author: dim
Date: Wed Dec 21 20:23:03 2011
New Revision: 228789
URL: http://svn.freebsd.org/changeset/base/228789

Log:
  Amend r228779 by also disabling -Wconstant-conversion warnings for the
  aic7xxx module.
  
  MFC after:	1 week

Modified:
  head/sys/modules/aic7xxx/ahc/ahc_pci/Makefile
  head/sys/modules/aic7xxx/ahd/Makefile

Modified: head/sys/modules/aic7xxx/ahc/ahc_pci/Makefile
==============================================================================
--- head/sys/modules/aic7xxx/ahc/ahc_pci/Makefile	Wed Dec 21 20:10:11 2011	(r228788)
+++ head/sys/modules/aic7xxx/ahc/ahc_pci/Makefile	Wed Dec 21 20:23:03 2011	(r228789)
@@ -12,5 +12,6 @@ SRCS+=	device_if.h bus_if.h pci_if.h
 SRCS+=	opt_scsi.h opt_cam.h opt_aic7xxx.h
 
 CFLAGS+= -I${.CURDIR}/../../../../dev/aic7xxx -I..
+CWARNFLAGS+=	${NO_WCONSTANT_CONVERSION}
 
 .include <bsd.kmod.mk>

Modified: head/sys/modules/aic7xxx/ahd/Makefile
==============================================================================
--- head/sys/modules/aic7xxx/ahd/Makefile	Wed Dec 21 20:10:11 2011	(r228788)
+++ head/sys/modules/aic7xxx/ahd/Makefile	Wed Dec 21 20:23:03 2011	(r228789)
@@ -32,6 +32,7 @@ SRCS= ${GENSRCS}
 SRCS+= aic79xx.c aic79xx_osm.c aic79xx_pci.c ahd_pci.c
 SRCS+= opt_scsi.h opt_aic79xx.h opt_cam.h opt_ddb.h
 SRCS+= device_if.h bus_if.h pci_if.h
+CWARNFLAGS+=	${NO_WCONSTANT_CONVERSION}
 
 CLEANFILES= ${GENSRCS}
 


More information about the svn-src-all mailing list