summaryrefslogtreecommitdiffstats
path: root/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2017-09-26 08:35:13 -0700
committerSaul Wold <sgw@linux.intel.com>2017-09-26 08:35:13 -0700
commit67149d869eddad4b1e487fbc4368974c153f358d (patch)
treebe9db2eae71f09e50e2fa6fbc6cacb95082eacd0 /meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch
parenta98b71ccadc1458bf3a959e328d5ae814eb7e9b3 (diff)
downloadmeta-dpdk-67149d869eddad4b1e487fbc4368974c153f358d.tar.gz
Removal of meta-intel content to make meta-dpdk standalone
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch')
-rw-r--r--meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch b/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch
deleted file mode 100644
index a7708d7..0000000
--- a/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/init_c.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1dpdk-dev-libibverbs: suppress gcc7 warnings
2
3We know that format-truncation in init.c is okay.
4
5Upstream-Status: Pending
6
7Signed-off-by: Joe Slater <joe.slater@windriver.com>
8
9
10--- a/src/init.c
11+++ b/src/init.c
12@@ -31,6 +31,11 @@
13 * SOFTWARE.
14 */
15
16+/* For this file we know we can ignore this warning. */
17+#if __GNUC__ > 6
18+#pragma GCC diagnostic ignored "-Wformat-truncation"
19+#endif
20+
21 #if HAVE_CONFIG_H
22 # include <config.h>
23 #endif /* HAVE_CONFIG_H */