Author: dim
Date: Sun Dec 25 16:37:35 2016
New Revision: 310545
URL: https://svnweb.freebsd.org/changeset/base/310545

Log:
  MFC r305393:
  
  Make some additional -Wconstant-conversion warnings from clang 3.9.0 in
  bwn(4) non-fatal for now.

Modified:
  stable/11/sys/conf/files
  stable/11/sys/modules/bwn/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/conf/files
==============================================================================
--- stable/11/sys/conf/files    Sun Dec 25 16:21:49 2016        (r310544)
+++ stable/11/sys/conf/files    Sun Dec 25 16:37:35 2016        (r310545)
@@ -1201,13 +1201,13 @@ dev/bwi/bwiphy.c                optional bwi
 dev/bwi/bwirf.c                        optional bwi
 dev/bwi/if_bwi.c               optional bwi
 dev/bwi/if_bwi_pci.c           optional bwi pci
-# XXX Work around clang warning, until maintainer approves fix.
+# XXX Work around clang warnings, until maintainer approves fix.
 dev/bwn/if_bwn.c               optional bwn siba_bwn \
        compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED}"
 dev/bwn/if_bwn_pci.c           optional bwn pci bhnd
 dev/bwn/if_bwn_phy_common.c    optional bwn siba_bwn
 dev/bwn/if_bwn_phy_g.c         optional bwn siba_bwn \
-       compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED}"
+       compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED} 
${NO_WCONSTANT_CONVERSION}"
 dev/bwn/if_bwn_phy_lp.c                optional bwn siba_bwn \
        compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED}"
 dev/bwn/if_bwn_phy_n.c         optional bwn siba_bwn

Modified: stable/11/sys/modules/bwn/Makefile
==============================================================================
--- stable/11/sys/modules/bwn/Makefile  Sun Dec 25 16:21:49 2016        
(r310544)
+++ stable/11/sys/modules/bwn/Makefile  Sun Dec 25 16:37:35 2016        
(r310545)
@@ -28,7 +28,7 @@ SRCS+=        device_if.h bus_if.h pci_if.h opt
 
 .include <bsd.kmod.mk>
 
-# XXX Work around clang warning, until maintainer approves fix.
+# XXX Work around clang warnings, until maintainer approves fix.
 CWARNFLAGS.if_bwn.c=   ${NO_WSOMETIMES_UNINITIALIZED}
-CWARNFLAGS.if_bwn_phy_g.c=     ${NO_WSOMETIMES_UNINITIALIZED}
+CWARNFLAGS.if_bwn_phy_g.c=     ${NO_WSOMETIMES_UNINITIALIZED} 
${NO_WCONSTANT_CONVERSION}
 CWARNFLAGS.if_bwn_phy_lp.c=    ${NO_WSOMETIMES_UNINITIALIZED}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to