svn commit: r250856 - head/sys/dev/ath/ath_hal/ar5416
Glen Barber
gjb at FreeBSD.org
Tue May 21 16:42:09 UTC 2013
On Tue, May 21, 2013 at 02:28:05PM +0000, Adrian Chadd wrote:
> Author: adrian
> Date: Tue May 21 14:28:05 2013
> New Revision: 250856
> URL: http://svnweb.freebsd.org/changeset/base/250856
>
> Log:
> Fix build break - the SetCapability calls return HAL_BOOL,
> not HAL_STATUS.
>
> Modified:
> head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
>
> Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
> ==============================================================================
> --- head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Tue May 21 13:02:37 2013 (r250855)
> +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Tue May 21 14:28:05 2013 (r250856)
> @@ -504,7 +504,7 @@ ar5416SetCapability(struct ath_hal *ah,
> return AH_TRUE;
> case HAL_CAP_ENFORCE_TXOP:
> if (capability != 1)
> - return (HAL_ENOTSUPP);
> + return AH_FALSE;
> if (setting) {
> AH5212(ah)->ah_miscMode
> |= AR_PCU_TXOP_TBTT_LIMIT_ENA;
This breaks tinderbox.
/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c -I/src/sys/dev/ath
-I/src/sys/dev/ath/ath_hal
/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c:507:12: error: implicit
conversion from enumeration type 'HAL_STATUS' to different enumeration
type 'HAL_BOOL' [-Werror,-Wenum-conversion]
return (HAL_ENOTSUPP);
~~~~~~ ^~~~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make: stopped in /obj/arm.arm/src/sys/LINT
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20130521/a4073820/attachment.sig>
More information about the svn-src-head
mailing list