Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965319AbZLHBBI (ORCPT ); Mon, 7 Dec 2009 20:01:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965235AbZLHBBH (ORCPT ); Mon, 7 Dec 2009 20:01:07 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:53936 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S965227AbZLHBBG (ORCPT ); Mon, 7 Dec 2009 20:01:06 -0500 Message-ID: <4B1DA53E.4080004@cn.fujitsu.com> Date: Tue, 08 Dec 2009 09:00:46 +0800 From: Li Zefan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2 MIME-Version: 1.0 To: Frederic Weisbecker CC: Ingo Molnar , Steven Rostedt , LKML Subject: Re: [PATCH 03/13] tracing: Move a printk out of ftrace_raw_reg_event_foo() References: <4B1CB14A.4080402@cn.fujitsu.com> <4B1CB183.7040202@cn.fujitsu.com> <20091207213228.GG5049@nowhere> In-Reply-To: <20091207213228.GG5049@nowhere> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 22 >> case 1: >> if (!call->enabled) { >> + if (ret) { >> + pr_info("event trace: Could not enable event " >> + "%s\n", call->name); >> + break; >> + } >> call->enabled = 1; >> tracing_start_cmdline_record(); >> - call->regfunc(call); >> + ret = call->regfunc(call); > > Heh, I'm pretty sure I will never see this warning ;-) > oops! I don't know how this mistake came. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/