summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/memcpy_avx512.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/memcpy_avx512.h')
-rw-r--r--src/vppinfra/memcpy_avx512.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vppinfra/memcpy_avx512.h b/src/vppinfra/memcpy_avx512.h
index 9032b5436a3..1444c271ff1 100644
--- a/src/vppinfra/memcpy_avx512.h
+++ b/src/vppinfra/memcpy_avx512.h
@@ -50,6 +50,11 @@
#include <stdint.h>
#include <x86intrin.h>
+#include <vppinfra/warnings.h>
+
+/* *INDENT-OFF* */
+WARN_OFF (stringop-overflow)
+/* *INDENT-ON* */
static inline void
clib_mov16 (u8 * dst, const u8 * src)
@@ -264,6 +269,9 @@ clib_memcpy_fast (void *dst, const void *src, size_t n)
goto COPY_BLOCK_128_BACK63;
}
+/* *INDENT-OFF* */
+WARN_ON (stringop-overflow)
+/* *INDENT-ON* */
#endif /* included_clib_memcpy_avx512_h */