linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Zhen Lei <thunder.leizhen@huawei.com>
Cc: "Rafael J . Wysocki" <rjw@rjwysocki.net>,
	Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>,
	linux-pm <linux-pm@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/1] PM: remove trailing spaces and tabs
Date: Fri, 11 Jun 2021 18:50:38 +0200	[thread overview]
Message-ID: <CAJZ5v0gRc9XdH++VDh5tQKqhHhkhaEm+982=Y9OMUpQHwCXCBg@mail.gmail.com> (raw)
In-Reply-To: <20210608074437.12905-1-thunder.leizhen@huawei.com>

On Tue, Jun 8, 2021 at 9:44 AM Zhen Lei <thunder.leizhen@huawei.com> wrote:
>
> Run the following command to find and remove the trailing spaces and tabs:
>
> find kernel/power/ -type f | xargs sed -r -i 's/[ \t]+$//'
>
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
> ---
>  kernel/power/Kconfig   | 12 ++++++------
>  kernel/power/process.c |  2 +-
>  2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
> index 6bfe3ead10ad..a12779650f15 100644
> --- a/kernel/power/Kconfig
> +++ b/kernel/power/Kconfig
> @@ -98,20 +98,20 @@ config PM_STD_PARTITION
>         default ""
>         help
>           The default resume partition is the partition that the suspend-
> -         to-disk implementation will look for a suspended disk image.
> +         to-disk implementation will look for a suspended disk image.
>
> -         The partition specified here will be different for almost every user.
> +         The partition specified here will be different for almost every user.
>           It should be a valid swap partition (at least for now) that is turned
> -         on before suspending.
> +         on before suspending.
>
>           The partition specified can be overridden by specifying:
>
> -               resume=/dev/<other device>
> +               resume=/dev/<other device>
>
> -         which will set the resume partition to the device specified.
> +         which will set the resume partition to the device specified.
>
>           Note there is currently not a way to specify which device to save the
> -         suspended image to. It will simply pick the first available swap
> +         suspended image to. It will simply pick the first available swap
>           device.
>
>  config PM_SLEEP
> diff --git a/kernel/power/process.c b/kernel/power/process.c
> index 50cc63534486..37401c99b7d7 100644
> --- a/kernel/power/process.c
> +++ b/kernel/power/process.c
> @@ -1,6 +1,6 @@
>  // SPDX-License-Identifier: GPL-2.0
>  /*
> - * drivers/power/process.c - Functions for starting/stopping processes on
> + * drivers/power/process.c - Functions for starting/stopping processes on
>   *                           suspend transitions.
>   *
>   * Originally from swsusp.
> --

Applied as 5.14 material, thanks!

      reply	other threads:[~2021-06-11 16:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08  7:44 [PATCH 1/1] PM: remove trailing spaces and tabs Zhen Lei
2021-06-11 16:50 ` 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='CAJZ5v0gRc9XdH++VDh5tQKqhHhkhaEm+982=Y9OMUpQHwCXCBg@mail.gmail.com' \
    --to=rafael@kernel.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    --cc=thunder.leizhen@huawei.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;
as well as URLs for NNTP newsgroup(s).