archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <>
To: Christophe JAILLET <>
Cc: Lorenzo Pieralisi <>,
	Andrew Murray <>,
	Bjorn Helgaas <>,
	linux-pci <>,
	"" <>,
Subject: Re: [PATCH] PCI: v3-semi: Fix a memory leak in some error handling paths in 'v3_pci_probe()'
Date: Sun, 19 Apr 2020 11:51:21 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Sat, Apr 18, 2020 at 10:16 AM Christophe JAILLET
<> wrote:

> IF we fails somewhere in 'v3_pci_probe()', we need to free 'host'.
> Use the managed version of 'pci_alloc_host_bridge()' to do that easily.
> The use of managed resources is already widely used in this driver.
> Fixes: 68a15eb7bd0c ("PCI: v3-semi: Add V3 Semiconductor PCI host driver")
> Signed-off-by: Christophe JAILLET <>

Acked-by: Linus Walleij <>

Linus Walleij

  reply	other threads:[~2020-04-19  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-18  8:16 [PATCH] PCI: v3-semi: Fix a memory leak in some error handling paths in 'v3_pci_probe()' Christophe JAILLET
2020-04-19  9:51 ` Linus Walleij [this message]
2020-05-05 11:04 ` Lorenzo Pieralisi

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:

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

  git send-email \ \ \ \ \ \ \ \ \ \

* 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).