Files
android_kernel_xiaomi_sm8450/drivers/net
Edward Cree 3366463513 sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe
Use a bitmap to keep track of which partition types we've already seen;
 for duplicates, return -EEXIST from efx_ef10_mtd_probe_partition() and
 thus skip adding that partition.
Duplicate partitions occur because of the A/B backup scheme used by newer
 sfc NICs.  Prior to this patch they cause sysfs_warn_dup errors because
 they have the same name, causing us not to expose any MTDs at all.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-23 11:15:35 -08:00
..
2018-10-31 08:54:16 -07:00
2019-01-18 14:05:14 -08:00
2018-11-17 22:03:06 -08:00
2019-01-19 16:06:52 -08:00
2018-12-20 16:14:22 -08:00