[AMD Official Use Only - AMD Internal Distribution Only]

> -----Original Message-----
> From: Anatoly Burakov <[email protected]>
> Sent: Friday, October 24, 2025 3:23 PM
> To: [email protected]; Gupta, Nipun <[email protected]>; Agarwal, Nikhil
> <[email protected]>; Yigit, Ferruh <[email protected]>
> Cc: [email protected]
> 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: [email protected]
> Cc: [email protected]
>
> Signed-off-by: Anatoly Burakov <[email protected]>
Acked-by: Nipun Gupta <[email protected]>

Reply via email to