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>