svn commit: r291434 - head/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Sun Nov 29 05:38:41 UTC 2015
Author: arybchik
Date: Sun Nov 29 05:38:40 2015
New Revision: 291434
URL: https://svnweb.freebsd.org/changeset/base/291434
Log:
sfxge: cleanup: fix prefast annotations on mac stats updates
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
X-MFC with: r291397
Modified:
head/sys/dev/sfxge/common/siena_impl.h
Modified: head/sys/dev/sfxge/common/siena_impl.h
==============================================================================
--- head/sys/dev/sfxge/common/siena_impl.h Sun Nov 29 05:34:00 2015 (r291433)
+++ head/sys/dev/sfxge/common/siena_impl.h Sun Nov 29 05:38:40 2015 (r291434)
@@ -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 */
More information about the svn-src-head
mailing list