mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-19 13:16:12 +00:00
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> |
||
|---|---|---|
| .. | ||
| falcon | ||
| bitfield.h | ||
| ef10.c | ||
| ef10_regs.h | ||
| ef10_sriov.c | ||
| ef10_sriov.h | ||
| efx.c | ||
| efx.h | ||
| enum.h | ||
| ethtool.c | ||
| farch.c | ||
| farch_regs.h | ||
| filter.h | ||
| io.h | ||
| Kconfig | ||
| Makefile | ||
| mcdi.c | ||
| mcdi.h | ||
| mcdi_mon.c | ||
| mcdi_pcol.h | ||
| mcdi_port.c | ||
| mtd.c | ||
| net_driver.h | ||
| nic.c | ||
| nic.h | ||
| ptp.c | ||
| rx.c | ||
| selftest.c | ||
| selftest.h | ||
| siena.c | ||
| siena_sriov.c | ||
| siena_sriov.h | ||
| sriov.c | ||
| sriov.h | ||
| tx.c | ||
| tx.h | ||
| tx_tso.c | ||
| vfdi.h | ||
| workarounds.h | ||