lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 19 Sep 2012 14:32:10 +0200
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	hongfeng <hongfeng@...vell.com>
Cc:	pavel@....cz, len.brown@...el.com, gregkh@...uxfoundation.org,
	linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
	Raul Xiong <xjian@...vell.com>,
	Neil Zhang <zhangwm@...vell.com>
Subject: Re: [PATCH] PM / Sleep: use resume event when call dpm_resume_early

On Wednesday, September 19, 2012, hongfeng wrote:
> When dpm_suspend_noirq fail, state is PMSG_SUSPEND,
> should change to PMSG_RESUME when dpm_resume_early is called
> 
> Change-Id: If815218d4934b4648e330235ab1ae26e713284bd
> Signed-off-by: Feng Hong <hongfeng@...vell.com>
> Signed-off-by: Raul Xiong <xjian@...vell.com>
> Signed-off-by: Neil Zhang <zhangwm@...vell.com>

Applied to the linux-next branch of the linux-pm.git tree as v3.7 material.

Thanks,
Rafael


> ---
>  drivers/base/power/main.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
> index 0113adc..2700f2e 100644
> --- a/drivers/base/power/main.c
> +++ b/drivers/base/power/main.c
> @@ -996,7 +996,7 @@ int dpm_suspend_end(pm_message_t state)
>  
>  	error = dpm_suspend_noirq(state);
>  	if (error) {
> -		dpm_resume_early(state);
> +		dpm_resume_early(resume_event(state));
>  		return error;
>  	}
>  
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ