]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:21:40 +0000 (14:21 -0300)
commit256db6ed3ef0c477f3111b87a3c64a218b8262ad
tree59984684485b10bcc9b6461f5bd940c12b4a71bf
parent234d16004b4b9cf962480386472f34fe0f284a1e
sfc: initialise found bitmap in efx_ef10_mtd_probe

BugLink: https://bugs.launchpad.net/bugs/1855787
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/sfc/ef10.c