All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] sfc: simplify mtd partitions list handling
@ 2022-05-24  6:22 Íñigo Huguet
  2022-05-24  6:22 ` [PATCH net-next v2 1/2] " Íñigo Huguet
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Íñigo Huguet @ 2022-05-24  6:22 UTC (permalink / raw)
  To: ecree.xilinx, habetsm.xilinx
  Cc: davem, edumazet, kuba, pabeni, netdev, Íñigo Huguet

Simplify the mtd list handling to make more clear how it works and avoid
potential future problems.

Tested: module load and unload in a system with Siena and EF10 cards
installed, both modules sfc and sfc_siena.

v2:
* Dropped patch fixing memory leak, already fixed in net
* Apply changes also in new siena driver

Íñigo Huguet (2):
  sfc: simplify mtd partitions list handling
  sfc/siena: simplify mtd partitions list handling

 drivers/net/ethernet/sfc/ef10.c             | 12 ++++--
 drivers/net/ethernet/sfc/efx.h              |  4 +-
 drivers/net/ethernet/sfc/efx_common.c       |  3 --
 drivers/net/ethernet/sfc/mtd.c              | 42 ++++++++-------------
 drivers/net/ethernet/sfc/net_driver.h       |  9 +++--
 drivers/net/ethernet/sfc/siena/efx.h        |  4 +-
 drivers/net/ethernet/sfc/siena/efx_common.c |  3 --
 drivers/net/ethernet/sfc/siena/mtd.c        | 42 ++++++++-------------
 drivers/net/ethernet/sfc/siena/net_driver.h |  9 +++--
 drivers/net/ethernet/sfc/siena/siena.c      | 12 ++++--
 10 files changed, 66 insertions(+), 74 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-27  6:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24  6:22 [PATCH net-next v2 0/2] sfc: simplify mtd partitions list handling Íñigo Huguet
2022-05-24  6:22 ` [PATCH net-next v2 1/2] " Íñigo Huguet
2022-05-27  6:17   ` Martin Habets
2022-05-24  6:22 ` [PATCH net-next v2 2/2] sfc/siena: " Íñigo Huguet
2022-05-27  6:18   ` Martin Habets
2022-05-24 10:17 ` [PATCH net-next v2 0/2] sfc: " Paolo Abeni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.