Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2016 06:50:30 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294371 - head/sys/dev/sfxge/common
Message-ID:  <201601200650.u0K6oUvG006612@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Wed Jan 20 06:50:30 2016
New Revision: 294371
URL: https://svnweb.freebsd.org/changeset/base/294371

Log:
  sfxge: cleanup: support __out_bcount_part[_opt] PREfast annotations
  
  New annotation coming into use in the common code. Support its use by
  adding null macro definitions for non-Windows platforms.
  
  Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  X-MFC with:     r293901

Modified:
  head/sys/dev/sfxge/common/efsys.h

Modified: head/sys/dev/sfxge/common/efsys.h
==============================================================================
--- head/sys/dev/sfxge/common/efsys.h	Wed Jan 20 01:40:18 2016	(r294370)
+++ head/sys/dev/sfxge/common/efsys.h	Wed Jan 20 06:50:30 2016	(r294371)
@@ -211,6 +211,8 @@ sfxge_map_mbuf_fast(bus_dma_tag_t tag, b
 #define	__out_ecount_opt(_n)
 #define	__out_bcount(_n)
 #define	__out_bcount_opt(_n)
+#define	__out_bcount_part(_n, _l)
+#define	__out_bcount_part_opt(_n, _l)
 
 #define	__deref_out
 



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