RDMA/hns: Modify return value of restrack functions
The restrack function return EINVAL instead of EMSGSIZE when the driver operation fails. Fixes: 4b42d05d ("RDMA/hns: Remove unnecessary kzalloc") Signed-off-by:Lang Cheng <chenglang@huawei.com> Signed-off-by:
Weihang Li <liweihang@hisilicon.com> Link: https://lore.kernel.org/r/1567566885-23088-5-git-send-email-liweihang@hisilicon.comSigned-off-by:
Doug Ledford <dledford@redhat.com>
Showing
Please register or sign in to comment