svn commit: r294371 - head/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Wed Jan 20 06:50:32 UTC 2016


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
 


More information about the svn-src-head mailing list