Re: [PATCH v1 14/19] ACPI: APEI: Return status from cxl_cper_post_event()
From: Jonathan Cameron
Date: Wed Nov 18 2026 - 15:08:37 EST
On Tue, 17 Nov 2026 12:10:24 +0100
Pierre Gondois <pierre.gondois@xxxxxxx> wrote:
> Callers cannot tell whether cxl_cper_post_event() queued a CPER event or
> discarded it. Return 0 if success and 1 if aborted. Existing callers
> continue to ignore the result for now.
>
> A worker that is already scheduled still processes the queued event, so
> its schedule_work() return value does not indicate a delivery failure.
>
> This prepares for a following patch moving PCI/CXL handling to
> extlog.c.
>
> Signed-off-by: Pierre Gondois <pierre.gondois@xxxxxxx>
Given no error codes are returned, why not a bool return?