Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752967AbbEZKku (ORCPT ); Tue, 26 May 2015 06:40:50 -0400 Received: from www.linutronix.de ([62.245.132.108]:51387 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752941AbbEZKkt (ORCPT ); Tue, 26 May 2015 06:40:49 -0400 Date: Tue, 26 May 2015 12:40:33 +0200 (CEST) From: Thomas Gleixner To: Andrea Parri cc: john.stultz@linaro.org, linux-kernel@vger.kernel.org, trivial@kernel.org Subject: Re: [PATCH trivial] time/timer.c: coding style fix In-Reply-To: <20150526101719.GA5724@andrea> Message-ID: References: <20150526101719.GA5724@andrea> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1152 Lines: 37 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 > --- > 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/