From: Daniel Stodden <dns@arista.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
Kurt Schwemmer <kurt.schwemmer@microsemi.com>,
Logan Gunthorpe <logang@deltatee.com>,
Bjorn Helgaas <bhelgaas@google.com>,
Dmitry Safonov <0x7f454c46@gmail.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-pci@vger.kernel.org
Subject: Re: [PATCH] PCI: switchtec: Fix an error handling path in switchtec_pci_probe()
Date: Thu, 28 Dec 2023 17:39:50 -0800 [thread overview]
Message-ID: <A483D7C9-07FD-40E8-93F5-5688AB6C9040@arista.com> (raw)
In-Reply-To: <20231228235626.GA1559849@bhelgaas>
> On Dec 28, 2023, at 3:56 PM, Bjorn Helgaas <helgaas@kernel.org> wrote:
>
> [+to Daniel, can you take a look? If you like this, I'd like to
> squash it into df25461119d9 and credit Christophe since that's not
> upstream yet]
Thanks very much for fixing this, Christophe.
The fix looks correct to me. If it can still fold into the previous change, all the better.
Best,
Daniel
PS: without trying to complicate this thread, does one know idr.[ch] well enough to state
whether ida_free() could have gone into stdev_release()? The way the two idr_free calls have
been placed looks intentional. But stdev_release would look more obvious + cleaner to me.
Was only starting to wonder while reviewing the err_put side of this patch.
next prev parent reply other threads:[~2023-12-29 1:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-24 14:30 Christophe JAILLET
2023-12-28 23:56 ` Bjorn Helgaas
2023-12-29 1:39 ` Daniel Stodden [this message]
2024-02-08 21:36 ` Bjorn Helgaas
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=A483D7C9-07FD-40E8-93F5-5688AB6C9040@arista.com \
--to=dns@arista.com \
--cc=0x7f454c46@gmail.com \
--cc=bhelgaas@google.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=helgaas@kernel.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=kurt.schwemmer@microsemi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=logang@deltatee.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
all inboxes | Powered by JetHome®