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: <1785480.d7BT1UD6kJ@kreacher>
Date:   Fri, 29 Nov 2019 12:28:43 +0100
From:   "Rafael J. Wysocki" <rjw@...ysocki.net>
To:     Krzysztof Kozlowski <krzk@...nel.org>
Cc:     linux-kernel@...r.kernel.org,
        Daniel Lezcano <daniel.lezcano@...aro.org>,
        linux-pm@...r.kernel.org
Subject: Re: [PATCH v2] cpuidle: Fix Kconfig indentation

On Thursday, November 21, 2019 4:19:12 AM CET Krzysztof Kozlowski wrote:
> Adjust indentation from spaces to tab (+optional two spaces) as in
> coding style with command like:
> 	$ sed -e 's/^        /\t/' -i */Kconfig
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
> ---
> 
> Changes since v1:
> 1. Fix also 7-space and tab+1 space indentation issues.
> ---
>  drivers/cpuidle/Kconfig     | 16 ++++++++--------
>  drivers/cpuidle/Kconfig.arm | 16 ++++++++--------
>  2 files changed, 16 insertions(+), 16 deletions(-)
> 
> diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
> index 88727b7c0d59..c0aeedd66f02 100644
> --- a/drivers/cpuidle/Kconfig
> +++ b/drivers/cpuidle/Kconfig
> @@ -16,7 +16,7 @@ config CPU_IDLE
>  if CPU_IDLE
>  
>  config CPU_IDLE_MULTIPLE_DRIVERS
> -        bool
> +	bool
>  
>  config CPU_IDLE_GOV_LADDER
>  	bool "Ladder governor (for periodic timer tick)"
> @@ -63,13 +63,13 @@ source "drivers/cpuidle/Kconfig.powerpc"
>  endmenu
>  
>  config HALTPOLL_CPUIDLE
> -       tristate "Halt poll cpuidle driver"
> -       depends on X86 && KVM_GUEST
> -       default y
> -       help
> -         This option enables halt poll cpuidle driver, which allows to poll
> -         before halting in the guest (more efficient than polling in the
> -         host via halt_poll_ns for some scenarios).
> +	tristate "Halt poll cpuidle driver"
> +	depends on X86 && KVM_GUEST
> +	default y
> +	help
> +	 This option enables halt poll cpuidle driver, which allows to poll
> +	 before halting in the guest (more efficient than polling in the
> +	 host via halt_poll_ns for some scenarios).
>  
>  endif
>  
> diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
> index d8530475493c..e91ab792d14d 100644
> --- a/drivers/cpuidle/Kconfig.arm
> +++ b/drivers/cpuidle/Kconfig.arm
> @@ -3,15 +3,15 @@
>  # ARM CPU Idle drivers
>  #
>  config ARM_CPUIDLE
> -        bool "Generic ARM/ARM64 CPU idle Driver"
> -        select DT_IDLE_STATES
> +	bool "Generic ARM/ARM64 CPU idle Driver"
> +	select DT_IDLE_STATES
>  	select CPU_IDLE_MULTIPLE_DRIVERS
> -        help
> -          Select this to enable generic cpuidle driver for ARM.
> -          It provides a generic idle driver whose idle states are configured
> -          at run-time through DT nodes. The CPUidle suspend backend is
> -          initialized by calling the CPU operations init idle hook
> -          provided by architecture code.
> +	help
> +	  Select this to enable generic cpuidle driver for ARM.
> +	  It provides a generic idle driver whose idle states are configured
> +	  at run-time through DT nodes. The CPUidle suspend backend is
> +	  initialized by calling the CPU operations init idle hook
> +	  provided by architecture code.
>  
>  config ARM_PSCI_CPUIDLE
>  	bool "PSCI CPU idle Driver"
> 

Applied as 5.5 material, thanks!




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ