Re: [RFC PATCH v2 12/33] bus/pci: remove shadowed variables

fengchengwen
2025-11-10T01:15:58Z

Acked-by: Chengwen Feng <fengchengwen@huawei.com>

On 11/7/2025 11:50 PM, Bruce Richardson wrote:
> Remove two instances where we had duplicate shadowed local variables
> called "ret". In each case, we could just remove the inner instance,
> since the outer value was not needing to be preserved.
>
> Fixes: 03ba15ca65c1 ("vfio: allow mapping MSI-X BARs if kernel allows it")
> Fixes: c0ce0577e84d ("pci: consolidate address comparisons")
> Cc: stable@dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>