From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: linux-next: Tree for May 18 (mm/memory-failure.c) Date: Mon, 18 May 2015 21:40:27 -0700 Message-ID: <555ABEBB.6060203@infradead.org> References: <20150518185226.23154d47@canb.auug.org.au> <555A0327.9060709@infradead.org> <20150519024933.GA1614@hori1.linux.bs1.fc.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:50857 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750908AbbESEko (ORCPT ); Tue, 19 May 2015 00:40:44 -0400 In-Reply-To: <20150519024933.GA1614@hori1.linux.bs1.fc.nec.co.jp> Sender: linux-next-owner@vger.kernel.org List-ID: To: Naoya Horiguchi Cc: Stephen Rothwell , "linux-next@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linux MM , Steven Rostedt , Andrew Morton , Jim Davis , Chen Gong On 05/18/15 19:49, Naoya Horiguchi wrote: > On Mon, May 18, 2015 at 08:20:07AM -0700, Randy Dunlap wrote: >> On 05/18/15 01:52, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20150515: >>> >> >> on i386: >> >> mm/built-in.o: In function `action_result': >> memory-failure.c:(.text+0x344a5): undefined reference to `__tracepoint_memory_failure_event' >> memory-failure.c:(.text+0x344d5): undefined reference to `__tracepoint_memory_failure_event' >> memory-failure.c:(.text+0x3450c): undefined reference to `__tracepoint_memory_failure_event' > > Thanks for the reporting, Randy. > Here is a patch for this problem, could you try it? > > Thanks, > Naoya > --- > From: Naoya Horiguchi > Subject: [PATCH] ras: hwpoison: fix build failure around > trace_memory_failure_event > > next-20150515 fails to build on i386 with the following error: > > mm/built-in.o: In function `action_result': > memory-failure.c:(.text+0x344a5): undefined reference to `__tracepoint_memory_failure_event' > memory-failure.c:(.text+0x344d5): undefined reference to `__tracepoint_memory_failure_event' > memory-failure.c:(.text+0x3450c): undefined reference to `__tracepoint_memory_failure_event' > > Defining CREATE_TRACE_POINTS and TRACE_INCLUDE_PATH fixes it. > > Reported-by: Randy Dunlap > Reported-by: Jim Davis > Signed-off-by: Naoya Horiguchi Acked-by: Randy Dunlap Thanks. > --- > drivers/ras/ras.c | 1 - > include/ras/ras_event.h | 2 ++ > mm/memory-failure.c | 1 + > 3 files changed, 3 insertions(+), 1 deletion(-) -- ~Randy