Re: [PATCH 02/15] cxl/aer/pci: Update is_internal_error() to be callable w/o CONFIG_PCIEAER_CXL
From: Jonathan Cameron
Date: Wed Oct 16 2024 - 12:12:14 EST
On Tue, 8 Oct 2024 17:16:44 -0500
Terry Bowman <terry.bowman@xxxxxxx> wrote:
> CXL port error handling will be updated in future and will use
> logic to determine if an error requires CXL or PCIe processing.
> Internal errors are one indicator to identify an error is a CXL
> protocol error.
>
> is_internal_error() is currently limited by CONFIG_PCIEAER_CXL
> kernel config.
>
> Update the is_internal_error() function's declaration such that it is
> always available regardless if CONFIG_PCIEAER_CXL kernel config
> is enabled or disabled.
>
> Signed-off-by: Terry Bowman <terry.bowman@xxxxxxx>
Given this has nothing specifically to do with CXL, this seems
sensible to me.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>