[PATCH v1 2/2] bus/cdx: fix incorrect device release on error
Gupta, Nipun
Nipun.Gupta at amd.com
Mon Nov 3 05:30:27 CET 2025
[AMD Official Use Only - AMD Internal Distribution Only]
> -----Original Message-----
> From: Anatoly Burakov <anatoly.burakov at intel.com>
> Sent: Friday, October 24, 2025 3:23 PM
> To: dev at dpdk.org; Gupta, Nipun <Nipun.Gupta at amd.com>; Agarwal, Nikhil
> <nikhil.agarwal at amd.com>; Yigit, Ferruh <Ferruh.Yigit at amd.com>
> Cc: stable at dpdk.org
> Subject: [PATCH v1 2/2] bus/cdx: fix incorrect device release on error
>
> 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 at amd.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Nipun Gupta <nipun.gupta at amd.com>
More information about the stable
mailing list