net/mlx4_core: Fix unintialized variable used in error path
authorCarol L Soto <clsoto@linux.vnet.ibm.com>
Thu, 27 Aug 2015 19:43:26 +0000 (14:43 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2015 23:40:27 +0000 (16:40 -0700)
The uninitialized value name in mlx4_en_activate_cq was used in order
to print an error message. Fixing it by replacing it with cq->vector.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Carol L Soto <clsoto@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_cq.c