meta-intel/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch
Mark Hatle a20d06d7e4 Move dpdk and qat components to meta-dpdk and meta-qat
meta-dpdk / meta-qat:
* Move content from meta-intel/common
* Create new basic README/LICENSE files from meta-intel
* Create new layer.conf files
* Fill out the maintainers files

meta-intel:
* update the maintainers files
* bump the meta-intel layer version
* add layer recommend

No other content changes made in this commit.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-09-25 15:53:57 -07:00

24 lines
460 B
Diff

dpdk-dev-libibverbs: suppress gcc7 warnings
We know that format-truncation in init.c is okay.
Upstream-Status: Pending
Signed-off-by: Joe Slater <joe.slater@windriver.com>
--- a/src/init.c
+++ b/src/init.c
@@ -31,6 +31,11 @@
* SOFTWARE.
*/
+/* For this file we know we can ignore this warning. */
+#if __GNUC__ > 6
+#pragma GCC diagnostic ignored "-Wformat-truncation"
+#endif
+
#if HAVE_CONFIG_H
# include <config.h>
#endif /* HAVE_CONFIG_H */