netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Íñigo Huguet" <ihuguet@redhat.com>
To: ecree.xilinx@gmail.com, habetsm.xilinx@gmail.com
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, netdev@vger.kernel.org,
	"Íñigo Huguet" <ihuguet@redhat.com>
Subject: [PATCH net-next v2 0/2] sfc: simplify mtd partitions list handling
Date: Tue, 24 May 2022 08:22:41 +0200	[thread overview]
Message-ID: <20220524062243.9206-1-ihuguet@redhat.com> (raw)

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


             reply	other threads:[~2022-05-24  6:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-24  6:22 Íñigo Huguet [this message]
2022-05-24  6:22 ` [PATCH net-next v2 1/2] sfc: simplify mtd partitions list handling Íñ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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220524062243.9206-1-ihuguet@redhat.com \
    --to=ihuguet@redhat.com \
    --cc=davem@davemloft.net \
    --cc=ecree.xilinx@gmail.com \
    --cc=edumazet@google.com \
    --cc=habetsm.xilinx@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).