From: Thomas Gleixner <tglx@linutronix.de>
To: Andrea Parri <parri.andrea@gmail.com>
Cc: john.stultz@linaro.org, linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: Re: [PATCH trivial] time/timer.c: coding style fix
Date: Tue, 26 May 2015 12:40:33 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.11.1505261238590.5457@nanos> (raw)
In-Reply-To: <20150526101719.GA5724@andrea>
On Tue, 26 May 2015, Andrea Parri wrote:
> Put the opening brace last on the line in switch statement.
This is completeley pointless churn. We do such changes when we change
the code not just to make some random codign style checker happy.
Thanks,
tglx
> Signed-off-by: Andrea Parri <parri.andrea@gmail.com>
> ---
> kernel/time/timer.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/kernel/time/timer.c b/kernel/time/timer.c
> index 2ece3aa..19e61f2 100644
> --- a/kernel/time/timer.c
> +++ b/kernel/time/timer.c
> @@ -1473,8 +1473,7 @@ signed long __sched schedule_timeout(signed long timeout)
> struct timer_list timer;
> unsigned long expire;
>
> - switch (timeout)
> - {
> + switch (timeout) {
> case MAX_SCHEDULE_TIMEOUT:
> /*
> * These two special cases are useful to be comfortable
>
prev parent reply other threads:[~2015-05-26 10:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 10:17 Andrea Parri
2015-05-26 10:40 ` Thomas Gleixner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.11.1505261238590.5457@nanos \
--to=tglx@linutronix.de \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=parri.andrea@gmail.com \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®