summaryrefslogtreecommitdiffstats
path: root/common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2017-09-25 12:38:20 -0500
committerSaul Wold <sgw@linux.intel.com>2017-09-25 15:53:57 -0700
commita20d06d7e4b07c8ba12364a5262eeab8455235af (patch)
tree6e44e0b398476a5bf1662426864d9400c3ba7ca2 /common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch
parent9bf043497c48c45c425081989d142c68968a1385 (diff)
downloadmeta-intel-a20d06d7e4b07c8ba12364a5262eeab8455235af.tar.gz
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>
Diffstat (limited to 'common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch')
-rw-r--r--common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch b/common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch
deleted file mode 100644
index 93d8aba6..00000000
--- a/common/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From b705caef6c717adc80585843b7fcc68700ced4b6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 12 Aug 2017 09:25:24 -0700
4Subject: [PATCH 1/4] Fix build with clang
5
6Fix
7error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses]
8 if ((!port_attr->comp_mask & IBV_EXP_QUERY_PORT_ATTR_MASK1) ||
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12Upstream-Status: Pending
13
14 include/infiniband/verbs_exp.h | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/include/infiniband/verbs_exp.h b/include/infiniband/verbs_exp.h
18index ae94deb..42ed83d 100644
19--- a/include/infiniband/verbs_exp.h
20+++ b/include/infiniband/verbs_exp.h
21@@ -2955,7 +2955,7 @@ static inline int ibv_exp_query_port(struct ibv_context *context,
22 &port_attr->port_attr);
23
24 /* Check that only valid flags were given */
25- if ((!port_attr->comp_mask & IBV_EXP_QUERY_PORT_ATTR_MASK1) ||
26+ if (!(port_attr->comp_mask & IBV_EXP_QUERY_PORT_ATTR_MASK1) ||
27 (port_attr->comp_mask & ~IBV_EXP_QUERY_PORT_ATTR_MASKS) ||
28 (port_attr->mask1 & ~IBV_EXP_QUERY_PORT_MASK)) {
29 errno = EINVAL;
30--
312.14.1
32