From: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
To: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Sagi Grimberg <sagig@mellanox.com>,
Roland Dreier <roland@kernel.org>,
Sean Hefty <sean.hefty@intel.com>,
Hal Rosenstock <hal.rosenstock@gmail.com>,
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
Date: Fri, 06 Feb 2015 10:49:05 -0800 [thread overview]
Message-ID: <1423248545.9544.1.camel@haakon3.risingtidesystems.com> (raw)
In-Reply-To: <1423181345-18449-2-git-send-email-linux@rasmusvillemoes.dk>
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 <linux@rasmusvillemoes.dk>
> ---
> 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!
--nab
next prev parent reply other threads:[~2015-02-06 18:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-06 0:09 [PATCH 1/2] infiniband: nes: " Rasmus Villemoes
2015-02-06 0:09 ` [PATCH 2/2] iser-target: " Rasmus Villemoes
2015-02-06 18:49 ` Nicholas A. Bellinger [this message]
2015-02-08 19:03 ` Sagi Grimberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1423248545.9544.1.camel@haakon3.risingtidesystems.com \
--to=nab@linux-iscsi.org \
--cc=hal.rosenstock@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=roland@kernel.org \
--cc=sagig@mellanox.com \
--cc=sean.hefty@intel.com \
--cc=target-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®