From: David Marchand <david.marchand@redhat.com>
To: Anatoly Burakov <anatoly.burakov@intel.com>
Cc: dev@dpdk.org, Nipun Gupta <nipun.gupta@amd.com>,
Nikhil Agarwal <nikhil.agarwal@amd.com>,
Ferruh Yigit <ferruh.yigit@amd.com>,
stable@dpdk.org
Subject: Re: [PATCH v1 2/2] bus/cdx: fix incorrect device release on error
Date: Tue, 4 Nov 2025 11:20:10 +0100 [thread overview]
Message-ID: <CAJFAV8y_xS_nZ9g5hbTWBm4D1t1kfuX57ryLKqY+iNnSXyKwwg@mail.gmail.com> (raw)
In-Reply-To: <05ecc81aefbbe2073416c0e78aed926ec9ad54b5.1761299581.git.anatoly.burakov@intel.com>
On Fri, 24 Oct 2025 at 11:53, Anatoly Burakov <anatoly.burakov@intel.com> wrote:
>
> The variable cdx_addr is a stack-allocated zero-initialized char array, but
> it is never used anywhere except in an error handler to stand it as a
> device bus address for a VFIO device release call. This is incorrect, as it
> should have been actual device address, so fix the code to reflect that.
>
> Fixes: 45ef232af515 ("bus/cdx: introduce AMD CDX bus")
> Cc: nipun.gupta@amd.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Series applied, thanks.
--
David Marchand
prev parent reply other threads:[~2025-11-04 10:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-24 9:53 [PATCH v1 1/2] bus/cdx: fix empty device string in error message Anatoly Burakov
2025-10-24 9:53 ` [PATCH v1 2/2] bus/cdx: fix incorrect device release on error Anatoly Burakov
2025-10-30 8:54 ` David Marchand
2025-11-03 4:30 ` Gupta, Nipun
2025-11-04 10:20 ` David Marchand [this message]
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=CAJFAV8y_xS_nZ9g5hbTWBm4D1t1kfuX57ryLKqY+iNnSXyKwwg@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=nikhil.agarwal@amd.com \
--cc=nipun.gupta@amd.com \
--cc=stable@dpdk.org \
/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).