]> git.baikalelectronics.ru Git - kernel.git/commit
rdma: fix build errors on s390 and MIPS due to bad ZERO_PAGE use
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2019 16:48:53 +0000 (09:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2019 16:48:53 +0000 (09:48 -0700)
commitdfb13bb5c64f8a1d7ca277f94cb14650df8dafb6
tree4a0c2bb473b6dbd8dc1e0085689236b594634058
parentb2feab917ff83b718c02c6132bae5a481b12e7ef
rdma: fix build errors on s390 and MIPS due to bad ZERO_PAGE use

The parameter to ZERO_PAGE() was wrong, but since all architectures
except for MIPS and s390 ignore it, it wasn't noticed until 0-day
reported the build error.

Fixes: 5ac6fc8b1312 ("RDMA/ucontext: Fix regression with disassociate")
Cc: stable@vger.kernel.org
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Leon Romanovsky <leonro@mellanox.com>
Cc: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/infiniband/core/uverbs_main.c