From: "ira.weiny" <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH infiniband-diags] saquery.c: Remove use of to be deprecated ib_gid_t
Date: Wed, 26 Apr 2017 21:52:50 -0400 [thread overview]
Message-ID: <20170427015249.GA1352@phlsvsds.ph.intel.com> (raw)
In-Reply-To: <b50e7300-4043-abed-9757-7d2cc1fa60f4-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
On Thu, Mar 09, 2017 at 10:38:50AM -0500, Hal Rosenstock wrote:
>
> which will be going away in a future version of libibmad
>
> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Thanks applied,
Ira
> ---
> diff --git a/src/saquery.c b/src/saquery.c
> index ea946a1..6b7eb5d 100644
> --- a/src/saquery.c
> +++ b/src/saquery.c
> @@ -69,7 +69,7 @@
>
> struct query_params {
> uint64_t service_id;
> - ib_gid_t sgid, dgid, gid, mgid;
> + ibmad_gid_t sgid, dgid, gid, mgid;
> uint16_t slid, dlid, mlid;
> uint32_t flow_label;
> int hop_limit;
> @@ -118,9 +118,9 @@ int requested_lid_flag = 0;
> uint64_t requested_guid = 0;
> int requested_guid_flag = 0;
>
> -static unsigned valid_gid(ib_gid_t * gid)
> +static unsigned valid_gid(ibmad_gid_t * gid)
> {
> - ib_gid_t zero_gid;
> + ibmad_gid_t zero_gid;
> memset(&zero_gid, 0, sizeof zero_gid);
> return memcmp(&zero_gid, gid, sizeof(*gid));
> }
--
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 prev parent reply other threads:[~2017-04-27 1:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 15:38 [PATCH infiniband-diags] saquery.c: Remove use of to be deprecated ib_gid_t Hal Rosenstock
[not found] ` <b50e7300-4043-abed-9757-7d2cc1fa60f4-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-04-27 1:52 ` ira.weiny [this message]
2017-04-30 0:05 ` ira.weiny
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=20170427015249.GA1352@phlsvsds.ph.intel.com \
--to=ira.weiny-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@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;
as well as URLs for NNTP newsgroup(s).