Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 14:15:07 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@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: r293926 - stable/10/sys/dev/sfxge/common
Message-ID:  <201601141415.u0EEF7YY019532@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Thu Jan 14 14:15:07 2016
New Revision: 293926
URL: https://svnweb.freebsd.org/changeset/base/293926

Log:
  MFC r291434
  
  sfxge: cleanup: fix prefast annotations on mac stats updates
  
  Submitted by:   Andy Moreton <amoreton at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/10/sys/dev/sfxge/common/siena_impl.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/siena_impl.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/siena_impl.h	Thu Jan 14 14:14:00 2016	(r293925)
+++ stable/10/sys/dev/sfxge/common/siena_impl.h	Thu Jan 14 14:15:07 2016	(r293926)
@@ -375,19 +375,19 @@ siena_phy_oui_get(
 
 #if EFSYS_OPT_PHY_STATS
 
-extern					void
+extern						void
 siena_phy_decode_stats(
-	__in				efx_nic_t *enp,
-	__in				uint32_t vmask,
-	__in_opt			efsys_mem_t *esmp,
-	__out_opt			uint64_t *smaskp,
-	__out_ecount_opt(EFX_PHY_NSTATS)	uint32_t *stat);
+	__in					efx_nic_t *enp,
+	__in					uint32_t vmask,
+	__in_opt				efsys_mem_t *esmp,
+	__out_opt				uint64_t *smaskp,
+	__inout_ecount_opt(EFX_PHY_NSTATS)	uint32_t *stat);
 
 extern	__checkReturn			int
 siena_phy_stats_update(
 	__in				efx_nic_t *enp,
 	__in				efsys_mem_t *esmp,
-	__out_ecount(EFX_PHY_NSTATS)	uint32_t *stat);
+	__inout_ecount(EFX_PHY_NSTATS)	uint32_t *stat);
 
 #endif	/* EFSYS_OPT_PHY_STATS */
 



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