From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH rdma-core 0/6] Sparse code changes
Date: Tue, 21 Mar 2017 13:24:31 -0400 [thread overview]
Message-ID: <1490117071.2404.10.camel@redhat.com> (raw)
In-Reply-To: <1489615927-12117-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
On Wed, 2017-03-15 at 16:12 -0600, Jason Gunthorpe wrote:
> This is the rest of the code change stuff from the core libraries
> that sparse
> did not like.
>
> There is one bug fix in here, the missing swap on INADDR_LOOPBACK.
>
> Otherwise it is just small changes to make sparse happier.
>
> The full series is here:
>
> https://github.com/linux-rdma/rdma-core/pull/100
>
> Which is enough hackery to make sparse run automatically from travis
> without
> triggering any sparse warnings, at least over the core libraries.
>
> I think interested parties should look at the entire series on
> github. It is
> so large it probably won't fit on the list.
>
> Bart and I were having an interesting discussion on github on this
> approach. It isn't clear to me if a different version of the 'sparse-
> include'
> setup could be designed.. But if someone else can figure out how to
> get the
> same result more robustly that would be great.
>
> For now this actually works, and can run inside travis, which is much
> better
> than where we were..
>
> Someone else(s) will have to sparse cleanup the providers and ibacm,
> they
> scare me.
>
> Jason Gunthorpe (6):
> Use NULL instead of 0 to silence sparse
> INADDR_* needs to be byteswapped before being used
> rstream: Use waitpid instead of wait
> rdmacm: Use C11 stdatomic for all atomics
> rsocket: Fix byte swapping when constructing path records
> verbs: Consistently apply __attribute_const
>
> iwpmd/iwarp_pm_common.c | 2 +-
> iwpmd/iwarp_pm_helper.c | 2 +-
> libibverbs/examples/rc_pingpong.c | 2 +-
> libibverbs/examples/srq_pingpong.c | 2 +-
> libibverbs/examples/uc_pingpong.c | 2 +-
> libibverbs/examples/ud_pingpong.c | 2 +-
> libibverbs/examples/xsrq_pingpong.c | 2 +-
> libibverbs/verbs.c | 8 +++---
> libibverbs/verbs.h | 8 +++---
> librdmacm/cma.h | 49 ++++-----------------------
> ----------
> librdmacm/examples/cmatose.c | 4 +--
> librdmacm/examples/mckey.c | 2 +-
> librdmacm/examples/rcopy.c | 2 +-
> librdmacm/examples/riostream.c | 2 +-
> librdmacm/examples/rstream.c | 6 ++---
> librdmacm/examples/udaddy.c | 2 +-
> librdmacm/preload.c | 14 +++++------
> librdmacm/rsocket.c | 17 ++++++-------
> rdma-ndd/rdma-ndd.c | 6 ++---
> 19 files changed, 46 insertions(+), 88 deletions(-)
Thanks Jason, series merged.
--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
--
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:[~2017-03-21 17:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-15 22:12 [PATCH rdma-core 0/6] Sparse code changes Jason Gunthorpe
[not found] ` <1489615927-12117-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-15 22:12 ` [PATCH rdma-core 1/6] Use NULL instead of 0 to silence sparse Jason Gunthorpe
2017-03-15 22:12 ` [PATCH rdma-core 2/6] INADDR_* needs to be byteswapped before being used Jason Gunthorpe
2017-03-15 22:12 ` [PATCH rdma-core 3/6] rstream: Use waitpid instead of wait Jason Gunthorpe
2017-03-15 22:12 ` [PATCH rdma-core 4/6] rdmacm: Use C11 stdatomic for all atomics Jason Gunthorpe
[not found] ` <1489615927-12117-5-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-15 22:55 ` Bart Van Assche
[not found] ` <1489618538.2660.14.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-03-15 23:18 ` Jason Gunthorpe
[not found] ` <20170315231837.GA23082-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-03-16 1:04 ` Bart Van Assche
[not found] ` <1489626275.3542.1.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-03-16 16:16 ` Jason Gunthorpe
2017-03-15 22:12 ` [PATCH rdma-core 5/6] rsocket: Fix byte swapping when constructing path records Jason Gunthorpe
2017-03-15 22:12 ` [PATCH rdma-core 6/6] verbs: Consistently apply __attribute_const Jason Gunthorpe
2017-03-21 17:24 ` Doug Ledford [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=1490117071.2404.10.camel@redhat.com \
--to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@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