From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932170AbcDGRiz (ORCPT ); Thu, 7 Apr 2016 13:38:55 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:54331 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757064AbcDGRix convert rfc822-to-8bit (ORCPT ); Thu, 7 Apr 2016 13:38:53 -0400 Date: Thu, 07 Apr 2016 13:38:43 -0400 (EDT) Message-Id: <20160407.133843.156901424652264502.davem@davemloft.net> To: joe@perches.com Cc: dhowells@redhat.com, linux-afs@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/9] rxrpc: Disable a debugging statement that has been left enabled. From: David Miller In-Reply-To: <1460046677.6715.95.camel@perches.com> References: <20160407162256.21283.47849.stgit@warthog.procyon.org.uk> <20160407162309.21283.11482.stgit@warthog.procyon.org.uk> <1460046677.6715.95.camel@perches.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 07 Apr 2016 10:38:46 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joe Perches Date: Thu, 07 Apr 2016 09:31:17 -0700 > On Thu, 2016-04-07 at 17:23 +0100, David Howells wrote: >> Disable a debugging statement that has been left enabled >> >> Signed-off-by: David Howells >> --- >> >>  net/rxrpc/ar-ack.c |    2 +- >>  1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/net/rxrpc/ar-ack.c b/net/rxrpc/ar-ack.c >> index 16d967075eaf..01a017a05f14 100644 >> --- a/net/rxrpc/ar-ack.c >> +++ b/net/rxrpc/ar-ack.c >> @@ -426,7 +426,7 @@ static void rxrpc_rotate_tx_window(struct rxrpc_call *call, u32 hard) >>   int tail = call->acks_tail, old_tail; >>   int win = CIRC_CNT(call->acks_head, tail, call->acks_winsz); >>   >> - kenter("{%u,%u},%u", call->acks_hard, win, hard); >> + _enter("{%u,%u},%u", call->acks_hard, win, hard); >>   >>   ASSERTCMP(hard - call->acks_hard, <=, win); > > It might be better to remove kenter and _enter > altogether and use function tracing instead. Yeah this custom stuff is really inappropriate given the excellent infrastructure we have these days...