Re: [PATCH] cxl/cper: Fix non-ACPI-APEI-GHES build

From: Dan Williams
Date: Wed May 01 2024 - 14:51:45 EST


Ira Weiny wrote:
> If ACPI_APEI_GHES is not configured the [un]register work functions are
> not properly declared.
>
> Fix copy paste error.

Copy paste? I would just say:

0day notices that the cxl_cper_register_work() declaration in the
CONFIG_ACPI_APEI_GHES=n is broken, fix it to be typical nop stub.

>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

Checkpatch asks for Closes: tags these days:

Closes: http://lore.kernel.org/r/202405012230.6kXItWen-lkp@xxxxxxxxx

With that,

Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>