[PATCH v7 1/5] PCI/DPC: Clarify naming for error port in DPC Handling

Jonathan Cameron jonathan.cameron at huawei.com
Tue Jan 27 21:10:49 AEDT 2026


On Sat, 24 Jan 2026 15:45:53 +0800
Shuai Xue <xueshuai at linux.alibaba.com> wrote:

> dpc_handler() is registered for error port which recevie DPC interrupt
> and acpi_dpc_port_get() locate the port that experienced the containment
> event.
> 
> Rename edev and pdev to err_port for clear so that later patch will
> avoid misused err_port in pcie_do_recovery().
> 
> No functional changes intended.
> 
> Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy at linux.intel.com>
> Signed-off-by: Shuai Xue <xueshuai at linux.alibaba.com>
Seems like a good readability improvement to me.

Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>



More information about the Linuxppc-dev mailing list