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]
Message-ID: <CAJZ5v0gRc9XdH++VDh5tQKqhHhkhaEm+982=Y9OMUpQHwCXCBg@mail.gmail.com>
Date:   Fri, 11 Jun 2021 18:50:38 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Zhen Lei <thunder.leizhen@...wei.com>
Cc:     "Rafael J . Wysocki" <rjw@...ysocki.net>,
        Len Brown <len.brown@...el.com>, Pavel Machek <pavel@....cz>,
        linux-pm <linux-pm@...r.kernel.org>,
        linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] PM: remove trailing spaces and tabs

On Tue, Jun 8, 2021 at 9:44 AM Zhen Lei <thunder.leizhen@...wei.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@...wei.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!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ