git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/iavf: fix VLAN tag extraction handling
[dpdk.git]
/
drivers
/
net
/
netvsc
/
hn_nvs.c
diff --git
a/drivers/net/netvsc/hn_nvs.c
b/drivers/net/netvsc/hn_nvs.c
index
03b6cc1
..
89dbba6
100644
(file)
--- a/
drivers/net/netvsc/hn_nvs.c
+++ b/
drivers/net/netvsc/hn_nvs.c
@@
-574,7
+574,7
@@
hn_nvs_alloc_subchans(struct hn_data *hv, uint32_t *nsubch)
return 0;
}
return 0;
}
-void
+int
hn_nvs_set_datapath(struct hn_data *hv, uint32_t path)
{
struct hn_nvs_datapath dp;
hn_nvs_set_datapath(struct hn_data *hv, uint32_t path)
{
struct hn_nvs_datapath dp;
@@
-593,4
+593,6
@@
hn_nvs_set_datapath(struct hn_data *hv, uint32_t path)
"send set datapath failed: %d",
error);
}
"send set datapath failed: %d",
error);
}
+
+ return error;
}
}