]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a76ea4c7f2a9f11e582e409f2e08e41e06790ec
tree2ee03880361fea79f2b7eed8b1b26c6d9728eb22
parentf520e16431dfa400f8f8857709330eaaaa5cbb39
net/mlx4_core: Fix unintialized variable used in error path

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