Re: [PATCH 2/3] perf: correct a build error

From: Namhyung Kim
Date: Tue Feb 26 2013 - 04:06:34 EST


Hi liguang,

On Tue, 26 Feb 2013 12:12:53 +0800, liguang wrote:
> builtin-annotate.c: In function 'hists__find_annotations':
> builtin-annotate.c:161:4: error: duplicate case value
> builtin-annotate.c:154:4: error: previously used here
>
> it happened when no newt installed

Thanks for fixing this. Please see my other post on the same problem
reported by Michael Ellerman.

Thanks,
Namhyung

>
> Signed-off-by: liguang <lig.fnst@xxxxxxxxxxxxxx>
> ---
> tools/perf/util/hist.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
> index 3862468..b4436e9 100644
> --- a/tools/perf/util/hist.h
> +++ b/tools/perf/util/hist.h
> @@ -208,8 +208,8 @@ static inline int script_browse(const char *script_opt __maybe_unused)
> return 0;
> }
>
> -#define K_LEFT -1
> -#define K_RIGHT -2
> +#define K_LEFT -2
> +#define K_RIGHT -3
> #endif
>
> #ifdef GTK2_SUPPORT
--
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/