]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 16:49:21 +0000 (11:49 -0500)
commit1b8438fdfe4df771f392ca16aa364c89dfbef042
treeb1cca4855282e5d5694d4b16753cb404c3cb68ae
parent525e71ac959318552080fc21e61899cf584c448c
sfc: initialise found bitmap in efx_ef10_mtd_probe

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: 89594b2c6a4a ("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>
drivers/net/ethernet/sfc/ef10.c