diff options
author | 2019-09-04 11:14:44 +0800 | |
---|---|---|
committer | 2019-10-21 15:29:38 -0400 | |
commit | cfd82da4e741c16d71a12123bf0cb585af2b8796 (patch) | |
tree | 31c3d90ac649d9cb7e39e794ae284d0ad332b963 /drivers/infiniband/hw/hns/hns_roce_device.h | |
parent | RDMA/hns: Modify variable/field name from vlan to vlan_id (diff) | |
download | linux-dev-cfd82da4e741c16d71a12123bf0cb585af2b8796.tar.xz linux-dev-cfd82da4e741c16d71a12123bf0cb585af2b8796.zip |
RDMA/hns: Modify return value of restrack functions
The restrack function return EINVAL instead of EMSGSIZE when the driver
operation fails.
Fixes: 4b42d05d0b2c ("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.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_device.h')
0 files changed, 0 insertions, 0 deletions