Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2014 18:19:53 +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-10@freebsd.org
Subject:   svn commit: r260272 - in stable/10/sys: conf modules/ath
Message-ID:  <201401041819.s04IJrjC035918@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Jan  4 18:19:53 2014
New Revision: 260272
URL: http://svnweb.freebsd.org/changeset/base/260272

Log:
  MFC r260025:
  
  Disable warning about unused functions for ar9300_reset.c for now.

Modified:
  stable/10/sys/conf/files
  stable/10/sys/modules/ath/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/conf/files
==============================================================================
--- stable/10/sys/conf/files	Sat Jan  4 18:10:15 2014	(r260271)
+++ stable/10/sys/conf/files	Sat Jan  4 18:19:53 2014	(r260272)
@@ -1045,7 +1045,7 @@ contrib/dev/ath/ath_hal/ar9300/ar9300_re
 contrib/dev/ath/ath_hal/ar9300/ar9300_recv_ds.c optional ath_hal | ath_ar9300 \
 	compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal"
 contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c optional ath_hal | ath_ar9300 \
-	compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal ${NO_WSOMETIMES_UNINITIALIZED}"
+	compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal ${NO_WSOMETIMES_UNINITIALIZED} -Wno-unused-function"
 contrib/dev/ath/ath_hal/ar9300/ar9300_stub.c optional ath_hal | ath_ar9300 \
 	compile-with "${NORMAL_C} -I$S/dev/ath -I$S/dev/ath/ath_hal -I$S/contrib/dev/ath/ath_hal"
 contrib/dev/ath/ath_hal/ar9300/ar9300_stub_funcs.c optional ath_hal | ath_ar9300 \

Modified: stable/10/sys/modules/ath/Makefile
==============================================================================
--- stable/10/sys/modules/ath/Makefile	Sat Jan  4 18:10:15 2014	(r260271)
+++ stable/10/sys/modules/ath/Makefile	Sat Jan  4 18:19:53 2014	(r260272)
@@ -166,4 +166,4 @@ CWARNFLAGS+=			${CWARNFLAGS.${.IMPSRC:T}
 
 # AR9300 HAL build overrides, as there's still some code to tidy up
 CWARNFLAGS.ar9300_eeprom.c=	${NO_WCONSTANT_CONVERSION}
-CWARNFLAGS.ar9300_reset.c=	${NO_WSOMETIMES_UNINITIALIZED}
+CWARNFLAGS.ar9300_reset.c=	${NO_WSOMETIMES_UNINITIALIZED} -Wno-unused-function



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