From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Barry Song <Barry.Song@csr.com>
Cc: pavel@ucw.cz, linux-kernel@vger.kernel.org,
workgroup.linux@csr.com, linux-pm@lists.linux-foundation.org,
Barry Song <Baohua.Song@csr.com>, Borislav Petkov <bp@alien8.de>
Subject: Re: [PATCH] PM: HIBERNATION: do not initialise statics and externals to 0 or NULL
Date: Wed, 12 Oct 2011 23:35:43 +0200 [thread overview]
Message-ID: <201110122335.44140.rjw@sisk.pl> (raw)
In-Reply-To: <1318400958-21481-1-git-send-email-Barry.Song@csr.com>
On Wednesday, October 12, 2011, Barry Song wrote:
> From: Barry Song <Baohua.Song@csr.com>
>
> Cc: Borislav Petkov <bp@alien8.de>
> Signed-off-by: Barry Song <Baohua.Song@csr.com>
Applied to linux-pm/linux-next.
Thanks,
Rafael
> ---
> This patch depends on Barry Song's
> PM: HIBERNATION: add resume_wait param to support MMC-like devices as resume file;
> http://www.spinics.net/lists/linux-mmc/msg10282.html
> PM: HIBERNATION: add resume_delay kernel param;
> http://www.spinics.net/lists/linux-mmc/msg10478.html
>
> kernel/power/hibernate.c | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
> index f73a00e..19d443b 100644
> --- a/kernel/power/hibernate.c
> +++ b/kernel/power/hibernate.c
> @@ -30,14 +30,14 @@
> #include "power.h"
>
>
> -static int nocompress = 0;
> -static int noresume = 0;
> -static int resume_wait = 0;
> -static int resume_delay = 0;
> +static int nocompress;
> +static int noresume;
> +static int resume_wait;
> +static int resume_delay;
> static char resume_file[256] = CONFIG_PM_STD_PARTITION;
> dev_t swsusp_resume_device;
> sector_t swsusp_resume_block;
> -int in_suspend __nosavedata = 0;
> +int in_suspend __nosavedata;
>
> enum {
> HIBERNATION_INVALID,
>
prev parent reply other threads:[~2011-10-12 21:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 6:29 Barry Song
2011-10-12 21:35 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201110122335.44140.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=Baohua.Song@csr.com \
--cc=Barry.Song@csr.com \
--cc=bp@alien8.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=pavel@ucw.cz \
--cc=workgroup.linux@csr.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®