Re: [PATCH][next] net/mlx5: fix missing assignment of variable err

2019-09-04 Thread Saeed Mahameed
On Wed, 2019-09-04 at 20:29 +0100, Colin King wrote: > From: Colin Ian King > > The error return from a call to mlx5_flow_namespace_set_peer is not > being assigned to variable err and hence the error check following > the call is currently not working. Fix this by assigning ret as > intended. >

[PATCH][next] net/mlx5: fix missing assignment of variable err

2019-09-04 Thread Colin King
From: Colin Ian King The error return from a call to mlx5_flow_namespace_set_peer is not being assigned to variable err and hence the error check following the call is currently not working. Fix this by assigning ret as intended. Addresses-Coverity: ("Logically dead code") Fixes: 8463daf17e80 (