From: "Nicholas A. Bellinger" <nab-IzHhD5pYlfBP7FQvKIMDCQ@public.gmane.org>
To: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org>,
Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Subject: Re: [PATCH] ib_srpt: Source code cleanup
Date: Tue, 08 Nov 2011 23:01:12 -0800 [thread overview]
Message-ID: <1320822072.30780.338.camel@haakon2.linux-iscsi.org> (raw)
In-Reply-To: <201111082048.29209.bvanassche-HInyCGIudOg@public.gmane.org>
On Tue, 2011-11-08 at 20:48 +0100, Bart Van Assche wrote:
> Address the review comments posted by Christoph Hellwig on May 18,
> 2011 and that haven't been addressed yet (see also
> http://lkml.org/lkml/2011/5/18/63):
> - Eliminate the srpt_sdev_name(), srpt_get_ch_state() and
> srpt_get_cmd_state() helper functions.
> - Convert the printk() call in srpt_srq_event() into pr_debug().
>
> Also, remove the test from srpt_handle_new_iu() that ignores a new
> incoming request if the channel state equals CH_DISCONNECTING or
> CH_DRAINING. That test is not necessary since during session
> shutdown arrival of new requests is prevented by transitioning the
> QP into the error state.
>
> Change one occurrence of if (e) ... else WARN_ON(!e) into
> if (e) ... else __WARN().
>
> Signed-off-by: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
> ---
> drivers/infiniband/ulp/srpt/ib_srpt.c | 80 ++++++++-------------------------
> 1 files changed, 19 insertions(+), 61 deletions(-)
>
Applied. Thanks for taking care of this Bart!
--nab
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2011-11-09 7:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 19:48 [PATCH] ib_srpt: Source code cleanup Bart Van Assche
[not found] ` <201111082048.29209.bvanassche-HInyCGIudOg@public.gmane.org>
2011-11-09 7:01 ` Nicholas A. Bellinger [this message]
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=1320822072.30780.338.camel@haakon2.linux-iscsi.org \
--to=nab-izhhd5pylfbp7fqvkimdcq@public.gmane.org \
--cc=bvanassche-HInyCGIudOg@public.gmane.org \
--cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=roland-BHEL68pLQRGGvPXPguhicg@public.gmane.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