Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1540187

Re: [PATCH] ACPI: small formatting fixes

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH] ACPI: small formatting fixes
Date 2016-12-12 10:00 +0100
Message-ID <sNuCK-294-7@gated-at.bofh.it> (permalink)
References <sNtdD-1qD-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!

> A quick cleanup that passes scripts/checkpatch.pl -f <file>.
> 
> Signed-off-by: Nick Desaulniers <nick.desaulniers@gmail.com>

> --- a/arch/x86/kernel/acpi/cstate.c
> +++ b/arch/x86/kernel/acpi/cstate.c
> @@ -1,7 +1,7 @@
>  /*
>   * Copyright (C) 2005 Intel Corporation
> - * 	Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
> - * 	- Added _PDC for SMP C-states on Intel CPUs
> + * Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
> + * - Added _PDC for SMP C-states on Intel CPUs
>   */
>  
>  #include <linux/kernel.h>

No.

> @@ -50,8 +49,8 @@ void acpi_processor_power_init_bm_check(struct acpi_processor_flags *flags,
>  	 * P4, Core and beyond CPUs
>  	 */
>  	if (c->x86_vendor == X86_VENDOR_INTEL &&
> -	    (c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 0x0f)))
> -			flags->bm_control = 0;
> +			(c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 0x0f)))
> +		flags->bm_control = 0;
>  }
>  EXPORT_SYMBOL(acpi_processor_power_init_bm_check);
>

No.

> @@ -159,13 +158,14 @@ void __cpuidle acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx)
>  
>  	percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu);
>  	mwait_idle_with_hints(percpu_entry->states[cx->index].eax,
> -	                      percpu_entry->states[cx->index].ecx);
> +		percpu_entry->states[cx->index].ecx);
>  }

No.

Rest is good.
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ACPI: small formatting fixes Nick Desaulniers <nick.desaulniers@gmail.com> - 2016-12-12 08:30 +0100
  Re: [PATCH] ACPI: small formatting fixes Pavel Machek <pavel@ucw.cz> - 2016-12-12 10:00 +0100
    Re: [PATCH] ACPI: small formatting fixes Nick Desaulniers <nick.desaulniers@gmail.com> - 2016-12-12 19:00 +0100
      Re: [PATCH] ACPI: small formatting fixes Joe Perches <joe@perches.com> - 2016-12-12 19:40 +0100
        Re: [PATCH] ACPI: small formatting fixes Pavel Machek <pavel@ucw.cz> - 2016-12-12 23:30 +0100
          Re: [PATCH] ACPI: small formatting fixes Joe Perches <joe@perches.com> - 2016-12-12 23:40 +0100
            Re: [PATCH] ACPI: small formatting fixes Pavel Machek <pavel@ucw.cz> - 2016-12-13 00:10 +0100
              Re: [PATCH] ACPI: small formatting fixes Joe Perches <joe@perches.com> - 2016-12-13 00:20 +0100
            Re: [PATCH] ACPI: small formatting fixes Bjørn Mork <bjorn@mork.no> - 2016-12-13 11:10 +0100
          Re: [PATCH] ACPI: small formatting fixes Joe Perches <joe@perches.com> - 2016-12-13 00:30 +0100
            Re: [PATCH] ACPI: small formatting fixes Pavel Machek <pavel@ucw.cz> - 2016-12-13 20:10 +0100
              Re: [PATCH] ACPI: small formatting fixes Nick Desaulniers <nick.desaulniers@gmail.com> - 2016-12-23 04:20 +0100
                Re: [PATCH] ACPI: small formatting fixes "Rafael J. Wysocki" <rafael@kernel.org> - 2016-12-23 13:20 +0100
          Re: [PATCH] ACPI: small formatting fixes Nick Desaulniers <nick.desaulniers@gmail.com> - 2016-12-13 00:30 +0100

csiph-web