From d2a37b9c9d2edabdf7c7cc6eaa6b18511d9f652e Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Wed, 20 Jan 2016 06:50:30 +0000 Subject: [PATCH] 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 Sponsored by: Solarflare Communications, Inc. X-MFC with: r293901 --- sys/dev/sfxge/common/efsys.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/sfxge/common/efsys.h b/sys/dev/sfxge/common/efsys.h index c6729cab875..b44daca72cd 100644 --- a/sys/dev/sfxge/common/efsys.h +++ b/sys/dev/sfxge/common/efsys.h @@ -211,6 +211,8 @@ sfxge_map_mbuf_fast(bus_dma_tag_t tag, bus_dmamap_t map, #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