[ovs-dev] [PATCH] netdev: Fix a typo.

2014-09-25 Thread Alex Wang
Reported-by: Daniel Badea daniel.ba...@windriver.com
Signed-off-by: Alex Wang al...@nicira.com
---
 lib/netdev.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/netdev.c b/lib/netdev.c
index 1fd5121..a9ad7d1 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -682,7 +682,7 @@ netdev_set_multiq(struct netdev *netdev, unsigned int n_txq,
 MAX(n_rxq, 1))
  : EOPNOTSUPP);
 
-if (error != EOPNOTSUPP) {
+if (error  error != EOPNOTSUPP) {
 VLOG_DBG_RL(rl, failed to set tx/rx queue for network device %s:
 %s, netdev_get_name(netdev), ovs_strerror(error));
 }
-- 
1.7.9.5

___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev


Re: [ovs-dev] [PATCH] netdev: Fix a typo.

2014-09-25 Thread Daniele Di Proietto
Acked-by: Daniele Di Proietto ddiproie...@vmware.com

On 9/25/14, 11:45 AM, Alex Wang al...@nicira.com wrote:

Reported-by: Daniel Badea daniel.ba...@windriver.com
Signed-off-by: Alex Wang al...@nicira.com
---
 lib/netdev.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/netdev.c b/lib/netdev.c
index 1fd5121..a9ad7d1 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -682,7 +682,7 @@ netdev_set_multiq(struct netdev *netdev, unsigned int
n_txq,
 MAX(n_rxq, 1))
  : EOPNOTSUPP);
 
-if (error != EOPNOTSUPP) {
+if (error  error != EOPNOTSUPP) {
 VLOG_DBG_RL(rl, failed to set tx/rx queue for network device
%s:
 %s, netdev_get_name(netdev), ovs_strerror(error));
 }
-- 
1.7.9.5

___
dev mailing list
dev@openvswitch.org
https://urldefense.proofpoint.com/v1/url?u=http://openvswitch.org/mailman/
listinfo/devk=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0Ar=MV9BdLjtFIdhBDBaw5z%2BU
6SSA2gAfY4L%2F1HCy3VjlKU%3D%0Am=x04ATQHoCiTD1f5JswJX0vXwQ%2F%2B3yw7COfQwE
y%2Fu4aw%3D%0As=c1b50f48e089f7096a31556d7f01ed3d794f3dd8462ba5749c078a0ce
30b7f32

___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev


Re: [ovs-dev] [PATCH] netdev: Fix a typo.

2014-09-25 Thread Alex Wang
On Thu, Sep 25, 2014 at 2:00 PM, Daniele Di Proietto ddiproie...@vmware.com
 wrote:

 Acked-by: Daniele Di Proietto ddiproie...@vmware.com


Thanks, will apply it soon, also will change the name to 'fix error check'
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev