net/mlx4_core: Fix uninitialized variable compilation warning
authorTariq Toukan <tariqt@mellanox.com>
Thu, 15 Nov 2018 16:05:14 +0000 (18:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Nov 2018 00:09:31 +0000 (16:09 -0800)
commit3ea7e7ea53c9f6ee41cb69a29c375fe9dd9a56a7
tree753c44b16d2ee37473260d1f34203074f0dae081
parentbd85fbc2038a1bbe84990b23ff69b6fc81a32b2c
net/mlx4_core: Fix uninitialized variable compilation warning

Initialize the uid variable to zero to avoid the compilation warning.

Fixes: 7a89399ffad7 ("net/mlx4: Add mlx4_bitmap zone allocator")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/alloc.c