Re: [patch -next] net/mlx5_core: fix an error code

2015-06-11 Thread Or Gerlitz
On Thu, Jun 11, 2015 at 11:50 AM, Dan Carpenter dan.carpen...@oracle.com wrote: We return success if mlx5e_alloc_sq_db() fails but we should return an error code. Fixes: f62b8bb8f2d3 ('net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality') Signed-off-by: Dan Carpenter

[patch -next] net/mlx5_core: fix an error code

2015-06-11 Thread Dan Carpenter
We return success if mlx5e_alloc_sq_db() fails but we should return an error code. Fixes: f62b8bb8f2d3 ('net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c

Re: [patch -next] net/mlx5_core: fix an error code

2015-06-11 Thread David Miller
From: Dan Carpenter dan.carpen...@oracle.com Date: Thu, 11 Jun 2015 11:50:01 +0300 We return success if mlx5e_alloc_sq_db() fails but we should return an error code. Fixes: f62b8bb8f2d3 ('net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality') Signed-off-by: Dan