Re: [RFC][PATCH 4/8] perf: Unindent labels

From: Frederic Weisbecker
Date: Wed Jun 16 2010 - 13:16:23 EST


On Wed, Jun 16, 2010 at 06:00:31PM +0200, Peter Zijlstra wrote:
> Fixup random annoying style bits
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> ---
> kernel/perf_event.c | 43 ++++++++++++++++++++++++-------------------
> 1 file changed, 24 insertions(+), 19 deletions(-)
>
> Index: linux-2.6/kernel/perf_event.c
> ===================================================================
> --- linux-2.6.orig/kernel/perf_event.c
> +++ linux-2.6/kernel/perf_event.c
> @@ -147,7 +147,7 @@ perf_lock_task_context(struct task_struc
> struct perf_event_context *ctx;
>
> rcu_read_lock();
> - retry:
> +retry:



The point in having a space before the label starts is that it doesn't
appear as a function boundary in patches.

This avoid patches that look like:

@@ -xxx +yyy @@ out:
- blah

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/