Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/sfc
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-04-24 13:48:22 -04:00
2016-12-01 15:39:38 -05:00
2017-12-18 13:07:49 -05:00
2018-03-14 13:12:14 -04:00
2017-12-18 13:07:49 -05:00
2018-07-04 14:06:19 +09:00
2018-07-04 14:06:19 +09:00
2016-11-18 11:55:38 -05:00