diff options
author | Yixing Liu <liuyixing1@huawei.com> | 2021-06-18 18:10:12 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-06-22 15:17:06 -0300 |
commit | 2a38c0f10e6d7d28e06ff1eb1f350804c4850275 (patch) | |
tree | 377afe78f569032f7f7c24d80618ab83a51b833d /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | e13026578b727becf2614f34a4f35e7f0ed21be1 (diff) |
RDMA/hns: Fix uninitialized variable
A random value will be returned if the condition below is not met, so it
needs to be initialized.
Fixes: 9ea9a53ea93b ("RDMA/hns: Add mapped page count checking for MTR")
Link: https://lore.kernel.org/r/1624011020-16992-3-git-send-email-liweihang@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions