summaryrefslogtreecommitdiffstats
path: root/0001-RDMA-uverbs-Fix-compilation-error-on-s390-and-mips-p.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-RDMA-uverbs-Fix-compilation-error-on-s390-and-mips-p.patch')
-rw-r--r--0001-RDMA-uverbs-Fix-compilation-error-on-s390-and-mips-p.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/0001-RDMA-uverbs-Fix-compilation-error-on-s390-and-mips-p.patch b/0001-RDMA-uverbs-Fix-compilation-error-on-s390-and-mips-p.patch
deleted file mode 100644
index ef6a7241e..000000000
--- a/0001-RDMA-uverbs-Fix-compilation-error-on-s390-and-mips-p.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From d79a26b99f5f40db6863b1973750fd1d134d99b4 Mon Sep 17 00:00:00 2001
-From: Leon Romanovsky <leonro@mellanox.com>
-Date: Mon, 29 Apr 2019 13:00:14 +0300
-Subject: [PATCH] RDMA/uverbs: Fix compilation error on s390 and mips platforms
-
-Most platforms ignore parameter provided to ZERO_PAGE macro,
-hence wrong parameter was used and missed. This caused to compilation
-error like presented below.
-
-drivers/infiniband/core/uverbs_main.c: In function 'rdma_umap_fault':
-drivers/infiniband/core/uverbs_main.c:898:28: error: 'struct vm_fault' has no member named 'vm_start'
- vmf->page = ZERO_PAGE(vmf->vm_start);
- ^~
-Cc: stable@vger.kernel.org
-Cc: Geert Uytterhoeven <geert@linux-m68k.org>
-Cc: Doug Ledford <dledford@redhat.com>
-Cc: Jason Gunthorpe <jgg@mellanox.com>
-Fixes: 67f269b37f9b ("RDMA/ucontext: Fix regression with disassociate")
-Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
-Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
-Signed-off-by: Doug Ledford <dledford@redhat.com>
----
- drivers/infiniband/core/uverbs_main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/infiniband/core/uverbs_main.c b/drivers/infiniband/core/uverbs_main.c
-index db20b6e0f253..d6408bbe94ed 100644
---- a/drivers/infiniband/core/uverbs_main.c
-+++ b/drivers/infiniband/core/uverbs_main.c
-@@ -895,7 +895,7 @@ static vm_fault_t rdma_umap_fault(struct vm_fault *vmf)
-
- /* Read only pages can just use the system zero page. */
- if (!(vmf->vma->vm_flags & (VM_WRITE | VM_MAYWRITE))) {
-- vmf->page = ZERO_PAGE(vmf->vm_start);
-+ vmf->page = ZERO_PAGE(vmf->vma->vm_start);
- get_page(vmf->page);
- return 0;
- }
---
-2.20.1
-