Re: [PATCH] Kernel: Power: main.c: Cleaned up a comment block

From: Pavel Machek
Date: Tue Mar 08 2016 - 04:45:04 EST


On Mon 2016-03-07 11:09:15, Philippe Loctaux wrote:
> Removed a * in the beginning of the block, and removed an unnecessary space.
>
> Signed-off-by: Philippe Loctaux <phil@xxxxxxxxxxxxxxxxxxx>

NAK.

Google kerneldoc, people actually like two spaces after ., and you
should not be changing whitespace unless you update code, anyway.
Pavel

> ---
> kernel/power/main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/power/main.c b/kernel/power/main.c
> index 2794697..d7386cb 100644
> --- a/kernel/power/main.c
> +++ b/kernel/power/main.c
> @@ -288,11 +288,11 @@ static inline void pm_print_times_init(void) {}
>
> struct kobject *power_kobj;
>
> -/**
> +/*
> * state - control system sleep states.
> *
> * show() returns available sleep state labels, which may be "mem", "standby",
> - * "freeze" and "disk" (hibernation). See Documentation/power/states.txt for a
> + * "freeze" and "disk" (hibernation). See Documentation/power/states.txt for a
> * description of what they mean.
> *
> * store() accepts one of those strings, translates it into the proper

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