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,
	bhutchings@solarflare.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 0/2] sfc: fix mtd memleak and simplify list handling
Date: Wed, 11 May 2022 12:36:02 +0200	[thread overview]
Message-ID: <20220511103604.37962-1-ihuguet@redhat.com> (raw)

These patches fix a memleak described in the first one and simplify
the mtd list handling to make more clear how it works and avoid similar
problems in the future.

Íñigo Huguet (2):
  sfc: fix memory leak on mtd_probe
  sfc: simplify mtd partitions list handling

 drivers/net/ethernet/sfc/ef10.c        | 17 +++++++++--
 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/siena.c |  5 +++
 6 files changed, 43 insertions(+), 37 deletions(-)

-- 
2.34.1


             reply	other threads:[~2022-05-11 10:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11 10:36 Íñigo Huguet [this message]
2022-05-11 10:36 ` [PATCH net-next 1/2] sfc: fix memory leak on mtd_probe Íñigo Huguet
2022-05-11 12:58   ` Martin Habets
2022-05-11 13:03     ` Íñigo Huguet
2022-05-11 10:36 ` [PATCH net-next 2/2] sfc: simplify mtd partitions list handling Íñigo Huguet
2022-05-13  8:02   ` Martin Habets
2022-05-23  8:05     ` Íñigo Huguet

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=20220511103604.37962-1-ihuguet@redhat.com \
    --to=ihuguet@redhat.com \
    --cc=bhutchings@solarflare.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).