RE: [PATCH] ACPI: APEI: EINJ: warn on invalid argument when explicitly indicated by platform

From: Luck, Tony
Date: Wed Mar 22 2023 - 12:13:58 EST


> Fix to return -EINVAL in the __einj_error_inject() error handling case
> instead of -EBUSY, when explicitly indicated by the platform in the status
> of the completed operation.

Needs a bit longer description on the use case based on follow up discussion.
Key information is the EINVAL is an indicator to the user that the parameters they
supplied cannot be used for injection.

But for the code:

Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>

-Tony