[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linaro-acpi
Subject:    Re: [Linaro-acpi] [PATCH 03/13] ACPI: clean up compiler warning about uninitialized field
From:       Hanjun Guo <hanjun.guo () linaro ! org>
Date:       2013-10-25 9:55:19
Message-ID: 526A4007.3030409 () linaro ! org
[Download RAW message or body]

On 2013-10-25 6:23, al.stone@linaro.org wrote:
> From: Al Stone <ahs3@redhat.com>
> 
> Signed-off-by: Al Stone <al.stone@linaro.org>

Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>

> ---
>  drivers/acpi/sleep.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
> index 14df305..721e949 100644
> --- a/drivers/acpi/sleep.c
> +++ b/drivers/acpi/sleep.c
> @@ -525,7 +525,7 @@ static int acpi_suspend_enter(suspend_state_t pm_state)
>  	 * generate wakeup events.
>  	 */
>  	if (ACPI_SUCCESS(status) && (acpi_state == ACPI_STATE_S3)) {
> -		acpi_event_status pwr_btn_status;
> +		acpi_event_status pwr_btn_status = ACPI_EVENT_FLAG_DISABLED;
>  
>  		acpi_get_event_status(ACPI_EVENT_POWER_BUTTON, &pwr_btn_status);
>  
> 


_______________________________________________
Linaro-acpi mailing list
Linaro-acpi@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-acpi
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic