[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140515130137.GD25858@krava.brq.redhat.com>
Date: Thu, 15 May 2014 15:01:38 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Namhyung Kim <namhyung@...nel.org>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...nel.org>,
Paul Mackerras <paulus@...ba.org>,
Namhyung Kim <namhyung.kim@....com>,
LKML <linux-kernel@...r.kernel.org>,
David Ahern <dsahern@...il.com>,
Andi Kleen <andi@...stfloor.org>,
Don Zickus <dzickus@...hat.com>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 09/20] perf tools: Consolidate management of default sort
orders
On Mon, May 12, 2014 at 03:28:42PM +0900, Namhyung Kim wrote:
SNIP
>
> +static const char *get_default_sort_order(void)
> +{
> + const char *default_sort_orders[] = {
> + default_sort_order,
> + default_branch_sort_order,
> + default_mem_sort_order,
> + default_top_sort_order,
> + };
> +
> + BUG_ON(sort__mode > ARRAY_SIZE(default_sort_orders));
it should be >= in here ^^^
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists