Re: [infiniband-hw-i40iw] question about identical code for different branches

2017-05-18 Thread Gustavo A. R. Silva
Quoting "Saleem, Shiraz" : Subject: [infiniband-hw-i40iw] question about identical code for different branches index f4d1368..48fd327 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_virtchnl.c +++ b/drivers/infiniband/hw/i40iw/i40iw_virtchnl.c @@ -443,10 +443,7 @@ enum i40iw_status_code i40i

Re: [infiniband-hw-i40iw] question about identical code for different branches

2017-05-18 Thread Chien Tin Tung
Thu, May 18, 2017 at 08:00:29AM +0300, Leon Romanovsky wrote: > On Wed, May 17, 2017 at 05:06:54PM -0500, Gustavo A. R. Silva wrote: > > > > Hello everybody, > > > > While looking into Coverity ID 1362263 I ran into the following piece of > > code at drivers/infiniband/hw/i40iw/i40iw_virtchnl.c:44

RE: [infiniband-hw-i40iw] question about identical code for different branches

2017-05-18 Thread Saleem, Shiraz
> Subject: [infiniband-hw-i40iw] question about identical code for different > branches > > > index f4d1368..48fd327 100644 > --- a/drivers/infiniband/hw/i40iw/i40iw_virtchnl.c > +++ b/drivers/infiniband/hw/i40iw/i40iw_virtchnl.c > @@ -443,10 +443,7 @@ enum i40iw_status_code i40iw_vchnl_recv_pf

Re: [infiniband-hw-i40iw] question about identical code for different branches

2017-05-17 Thread Leon Romanovsky
On Wed, May 17, 2017 at 05:06:54PM -0500, Gustavo A. R. Silva wrote: > > Hello everybody, > > While looking into Coverity ID 1362263 I ran into the following piece of > code at drivers/infiniband/hw/i40iw/i40iw_virtchnl.c:445: > > 445if (vchnl_msg->iw_op_code == I40IW_VCHNL_OP_GET_VER) { >

Re: [infiniband-hw-i40iw] question about identical code for different branches

2017-05-17 Thread Yuval Shaia
On Wed, May 17, 2017 at 05:06:54PM -0500, Gustavo A. R. Silva wrote: > > Hello everybody, > > While looking into Coverity ID 1362263 I ran into the following piece of > code at drivers/infiniband/hw/i40iw/i40iw_virtchnl.c:445: > > 445if (vchnl_msg->iw_op_code == I40IW_VCHNL_OP_GET_VER) {