]> 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)
commit0670e9716b05962db582b870785706066d248472
tree4a0c2bb473b6dbd8dc1e0085689236b594634058
parentafb3184ca636b51f34e5c758b5414acecf4ca2f8
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: ca830103527f ("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