]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb1ca83dc704ca2d1ecb6e49991e36826ae29311
tree753c44b16d2ee37473260d1f34203074f0dae081
parent28cf84e009f24a0808fdbffc51bf89e9e9c736fb
net/mlx4_core: Fix uninitialized variable compilation warning

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

Fixes: 40135db56595 ("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