ACK: [PATCH 1/2] s3: fix incorrect error messages for s2idle_residency

ivanhu ivan.hu at canonical.com
Wed Dec 1 03:11:40 UTC 2021



On 12/1/21 2:30 AM, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  src/acpi/s3/s3.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/acpi/s3/s3.c b/src/acpi/s3/s3.c
> index d77108a1..c619d30d 100644
> --- a/src/acpi/s3/s3.c
> +++ b/src/acpi/s3/s3.c
> @@ -388,7 +388,7 @@ static int s3_do_suspend_resume(fwts_framework *fw,
>  			(*s2idle_errors)++;
>  			fwts_failed(fw, LOG_LEVEL_HIGH, "S2idleNotDeepest",
>  				"Expected %s to increase from %" PRIu32 ", got %" PRIu32 ".",
> -				PM_S2IDLE_SLP_S0, residency, *s2idle_residency);
> +				PM_S2IDLE_SLP_S0, *s2idle_residency, residency);
>  		}
>  		*s2idle_residency = residency;
>  	}
> 


Acked-by: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list