[PATCH v1 2/2] bus/cdx: fix incorrect device release on error
    David Marchand 
    david.marchand at redhat.com
       
    Thu Oct 30 09:54:00 CET 2025
    
    
  
On Fri, 24 Oct 2025 at 11:53, Anatoly Burakov <anatoly.burakov at 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 at amd.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Reviews on this series please.
-- 
David Marchand
    
    
More information about the stable
mailing list