[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87haqmwko9.fsf@sejong.aot.lge.com>
Date: Tue, 25 Sep 2012 17:50:30 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Dong Hao <haodong@...ux.vnet.ibm.com>
Cc: acme@...radead.org, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, xiaoguangrong@...ux.vnet.ibm.com,
runzhen@...ux.vnet.ibm.com
Subject: Re: [PATCH] fix compilation error of perf/core
Hi Dong,
On Tue, 25 Sep 2012 16:21:25 +0800, Dong Hao wrote:
> From: Dong Hao <haodong@...ux.vnet.ibm.com>
>
> The newest branch of perf/core should have compilation error!
> Error log includes:
>
> builtin-test.c: In function ‘perf_evsel__test_field’:
> builtin-test.c:1216:6: error:
> variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
> builtin-test.c: In function ‘perf_evsel__tp_sched_test’:
> builtin-test.c:1242:6: error:
> variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors
> make: *** [builtin-test.o] Error 1
> ---------------------------------------------------------------------
> Fix it by replacing return value from 0 to ret.
> Then this branch can be compiled successfully.
>
> Signed-off-by: Dong Hao <haodong@...ux.vnet.ibm.com>
I already sent the same patch:
https://lkml.org/lkml/2012/9/24/689
Thanks for fixing it anyway!
Namhyung
--
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