vppinfra: silence coverity warnings related to clib_memcpy_u32()
Type: fix
#ifndef included_memcpy_h
#define included_memcpy_h
+#ifndef __COVERITY__
+
static_always_inline void
clib_memcpy_u32_x4 (u32 *dst, u32 *src)
{
@@ -152,4 +154,12 @@ clib_memcpy_u32 (u32 *dst, u32 *src, u32 n_left)
}
}
+#else /* __COVERITY__ */
+static_always_inline void
+clib_memcpy_u32 (u32 *dst, u32 *src, u32 n_left)
+{
+ memcpy (dst, src, n_left * sizeof (u32));
+}
+#endif
+
#endif
