From: ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
To: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: [PATCH 0/4][RESEND] IB/mad: refactor functions based on the needs of those functions.
Date: Fri, 8 May 2015 14:27:20 -0400 [thread overview]
Message-ID: <1431109644-27226-1-git-send-email-ira.weiny@intel.com> (raw)
From: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Resent due to patchworks being reset.
validate_mad, ib_response_mad, and rcv_has_same_class only need the IB header.
Refactor these functions as appropriate.
In addition set const for functions which take read only structures.
Added Jason and Sean's Review by.
Ira Weiny (4):
IB/mad: Change validate_mad signature to take const ib_mad_hdr rather
than ib_mad
IB/mad: Change ib_response_mad signature to take const ib_mad_hdr
rather than ib_mad
IB/mad: Clean up rcv_has_same_class
IB/mad: Add const qualifiers to query only functions
drivers/infiniband/core/mad.c | 54 +++++++++++++++++++-------------------
drivers/infiniband/core/mad_priv.h | 4 +--
drivers/infiniband/core/user_mad.c | 6 ++---
include/rdma/ib_mad.h | 4 +--
4 files changed, 34 insertions(+), 34 deletions(-)
--
1.8.2
--
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
next reply other threads:[~2015-05-08 18:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-08 18:27 ira.weiny-ral2JQCrhuEAvxtiuMwx3w [this message]
[not found] ` <1431109644-27226-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-08 18:27 ` [PATCH 1/4] IB/mad: Change validate_mad signature to take const ib_mad_hdr rather than ib_mad ira.weiny-ral2JQCrhuEAvxtiuMwx3w
2015-05-08 18:27 ` [PATCH 2/4] IB/mad: Change ib_response_mad " ira.weiny-ral2JQCrhuEAvxtiuMwx3w
2015-05-08 18:27 ` [PATCH 3/4] IB/mad: Clean up rcv_has_same_class ira.weiny-ral2JQCrhuEAvxtiuMwx3w
2015-05-08 18:27 ` [PATCH 4/4] IB/mad: Add const qualifiers to query only functions ira.weiny-ral2JQCrhuEAvxtiuMwx3w
2015-05-12 20:07 ` [PATCH 0/4][RESEND] IB/mad: refactor functions based on the needs of those functions Doug Ledford
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=1431109644-27226-1-git-send-email-ira.weiny@intel.com \
--to=ira.weiny-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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