[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220524062243.9206-1-ihuguet@redhat.com>
Date: Tue, 24 May 2022 08:22:41 +0200
From: Íñigo Huguet <ihuguet@...hat.com>
To: ecree.xilinx@...il.com, habetsm.xilinx@...il.com
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
Íñigo Huguet <ihuguet@...hat.com>
Subject: [PATCH net-next v2 0/2] sfc: simplify mtd partitions list handling
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
Powered by blists - more mailing lists