Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758903AbbBHTDM (ORCPT ); Sun, 8 Feb 2015 14:03:12 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:51703 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755106AbbBHTDJ (ORCPT ); Sun, 8 Feb 2015 14:03:09 -0500 Message-ID: <54D7B2E8.8060000@dev.mellanox.co.il> Date: Sun, 08 Feb 2015 21:03:04 +0200 From: Sagi Grimberg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "Nicholas A. Bellinger" , Rasmus Villemoes CC: Sagi Grimberg , Roland Dreier , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] iser-target: Remove duplicate function names References: <1423181345-18449-1-git-send-email-linux@rasmusvillemoes.dk> <1423181345-18449-2-git-send-email-linux@rasmusvillemoes.dk> <1423248545.9544.1.camel@haakon3.risingtidesystems.com> In-Reply-To: <1423248545.9544.1.camel@haakon3.risingtidesystems.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2318 Lines: 58 On 2/6/2015 8:49 PM, Nicholas A. Bellinger wrote: > On Fri, 2015-02-06 at 01:09 +0100, Rasmus Villemoes wrote: >> The macro isert_dbg already ensures that __func__ is part of the >> output, so there's no reason to duplicate the function name in the >> format string itself. >> >> Signed-off-by: Rasmus Villemoes >> --- >> drivers/infiniband/ulp/isert/ib_isert.c | 7 +++---- >> 1 file changed, 3 insertions(+), 4 deletions(-) >> >> diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c >> index dafb3c531f96..20097de9ac45 100644 >> --- a/drivers/infiniband/ulp/isert/ib_isert.c >> +++ b/drivers/infiniband/ulp/isert/ib_isert.c >> @@ -949,7 +949,7 @@ isert_post_recv(struct isert_conn *isert_conn, u32 count) >> isert_err("ib_post_recv() failed with ret: %d\n", ret); >> isert_conn->post_recv_buf_count -= count; >> } else { >> - isert_dbg("isert_post_recv(): Posted %d RX buffers\n", count); >> + isert_dbg("Posted %d RX buffers\n", count); >> isert_conn->conn_rx_desc_head = rx_head; >> } >> return ret; >> @@ -1709,8 +1709,7 @@ isert_put_cmd(struct isert_cmd *isert_cmd, bool comp_err) >> * associated cmd->se_cmd needs to be released. >> */ >> if (cmd->se_cmd.se_tfo != NULL) { >> - isert_dbg("Calling transport_generic_free_cmd from" >> - " isert_put_cmd for 0x%02x\n", >> + isert_dbg("Calling transport_generic_free_cmd for 0x%02x\n", >> cmd->iscsi_opcode); >> transport_generic_free_cmd(&cmd->se_cmd, 0); >> break; >> @@ -3136,7 +3135,7 @@ accept_wait: >> spin_lock_bh(&np->np_thread_lock); >> if (np->np_thread_state >= ISCSI_NP_THREAD_RESET) { >> spin_unlock_bh(&np->np_thread_lock); >> - isert_dbg("np_thread_state %d for isert_accept_np\n", >> + isert_dbg("np_thread_state %d\n", >> np->np_thread_state); >> /** >> * No point in stalling here when np_thread > > Applied to target-pending/for-next. > > Thanks Rasmus! You can add my ack if you want: Acked-by: Sagi Grimberg Sagi. -- 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/