sfc: initialise found bitmap in efx_ef10_mtd_probe
authorBert Kenward <bkenward@solarflare.com>
Tue, 12 Feb 2019 13:10:00 +0000 (13:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:35:12 +0000 (15:35 +0100)
commita253f13ad902926b07b7156878ac18bde3769e5c
treea9995b3cf4edda1da72fb51f7aaa0880a2acf6c5
parent0b42feca0dcaadaafb2a425ea76efa3422687c91
sfc: initialise found bitmap in efx_ef10_mtd_probe

[ Upstream commit c65285428b6e7797f1bb063f33b0ae7e93397b7b ]

The bitmap of found partitions in efx_ef10_mtd_probe was not
initialised, causing partitions to be suppressed based off whatever
value was in the bitmap at the start.

Fixes: 3366463513f5 ("sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe")
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/sfc/ef10.c