summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorWenpeng Liang <liangwenpeng@huawei.com>2019-11-01 05:33:30 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-11-06 20:37:02 +0300
commit411c1e6774e2e1f96b1ccce4f119376b94ade3e4 (patch)
tree32ca9bbf98c42d0f15996251d1a2768ba244ab5a /tools/perf/util/scripting-engines/trace-event-perl.c
parent531eb45b3da4267fc2a64233ba256c8ffb02edd2 (diff)
downloadlinux-411c1e6774e2e1f96b1ccce4f119376b94ade3e4.tar.xz
RDMA/hns: Correct the value of srq_desc_size
srq_desc_size should be rounded up to pow of two before used, or related calculation may cause allocating wrong size of memory for srq buffer. Fixes: c7bcb13442e1 ("RDMA/hns: Add SRQ support for hip08 kernel mode") Link: https://lore.kernel.org/r/1572575610-52530-3-git-send-email-liweihang@hisilicon.com Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com> Signed-off-by: Weihang Li <liweihang@hisilicon.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions