net/mlx4_core: Fix uninitialized variable compilation warning
authorTariq Toukan <tariqt@mellanox.com>
Thu, 15 Nov 2018 16:05:14 +0000 (18:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:18:47 +0000 (09:18 +0100)
commite6e5d3dda0ea79e4c9a52ed2031ed832713f3e99
tree016fe9df9ff4acb1ebb6d52fd6b6f21dd6e556c9
parent471b2b9c525424e5213b4d6084ed1d12758ce8c8
net/mlx4_core: Fix uninitialized variable compilation warning

[ Upstream commit 3ea7e7ea53c9f6ee41cb69a29c375fe9dd9a56a7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx4/alloc.c