git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109e4dd
)
net/hns3: modify return value of enable MSI-X
author
Wei Hu (Xavier)
<xavier.huwei@huawei.com>
Sat, 21 Dec 2019 10:32:47 +0000
(18:32 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000
(19:46 +0100)
This patch replaces the return value "-1" with "-ENXIO".
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_ethdev_vf.c
patch
|
blob
|
history
diff --git
a/drivers/net/hns3/hns3_ethdev_vf.c
b/drivers/net/hns3/hns3_ethdev_vf.c
index
bd52e19
..
b5f3e9a
100644
(file)
--- a/
drivers/net/hns3/hns3_ethdev_vf.c
+++ b/
drivers/net/hns3/hns3_ethdev_vf.c
@@
-131,7
+131,7
@@
hns3vf_enable_msix(const struct rte_pci_device *device, bool op)
(pos + PCI_MSIX_FLAGS));
return 0;
}
- return -
1
;
+ return -
ENXIO
;
}
static int