diff options
author | Jiewei Ke <kejiewei.cn@gmail.com> | 2019-12-27 19:36:13 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-28 15:42:29 +0100 |
commit | f25708dbf2b33e252b2e912850bb991ff47a2fce (patch) | |
tree | 9713a1c8efb8885c7da1ec64bab067b933d8a9eb /sound | |
parent | 4a718f3e7d0bf152aa5fe52b119aac2830d2e64f (diff) |
RDMA/rxe: Fix error type of mmap_offset
[ Upstream commit 6ca18d8927d468c763571f78c9a7387a69ffa020 ]
The type of mmap_offset should be u64 instead of int to match the type of
mminfo.offset. If otherwise, after we create several thousands of CQs, it
will run into overflow issues.
Link: https://lore.kernel.org/r/20191227113613.5020-1-kejiewei.cn@gmail.com
Signed-off-by: Jiewei Ke <kejiewei.cn@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions