mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
RDMA/hns: Fix uninitialized variable
[ Upstream commit2a38c0f10e] A random value will be returned if the condition below is not met, so it needs to be initialized. Fixes:9ea9a53ea9("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
5fc0d1725e
commit
4416dc914c
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue