Re: [PATCH] ACPI: small formatting fixes

From: Pavel Machek
Date: Mon Dec 12 2016 - 03:56:27 EST


Hi!

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

> --- 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@xxxxxxxxx>
> - * - Added _PDC for SMP C-states on Intel CPUs
> + * Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx>
> + * - 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

Attachment: signature.asc
Description: Digital signature