linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rdma-core and endianness checking with sparse
@ 2017-03-21 17:56 Bart Van Assche
       [not found] ` <1490118969.2605.1.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Van Assche @ 2017-03-21 17:56 UTC (permalink / raw)
  To: jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org

Hello Jason,

Since commit https://github.com/linux-rdma/rdma-core/commit/dceee9494bfbadf0cf16b8fef81f3c2cb5355243
checking endianness locally with sparse is broken on my development setup.
The following error messages appear:

-- Performing Test HAVE_NO_SPARSE
-- Performing Test HAVE_NO_SPARSE - Failed
Patch from '/home/bart/software/infiniband/rdma-core/buildlib/sparse-include/19/netinet-in.h.diff' failed
Patch from '/home/bart/software/infiniband/rdma-core/buildlib/sparse-include/23/netinet-in.h.diff' failed
Traceback (most recent call last):
  File "/home/bart/software/infiniband/rdma-core/buildlib/gen-sparse.py", line 129, in <module>
    replace_header(I);
  File "/home/bart/software/infiniband/rdma-core/buildlib/gen-sparse.py", line 82, in replace_header
    raise ValueError("Unable to apply any patch to %r, tries %u"%(fn,tries));
ValueError: Unable to apply any patch to 'netinet/in.h', tries 2

I was surprised to see that merge request in the rdma-core repository although
I had warned from beforehand that this could happen?

Bart.--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-21 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-21 17:56 rdma-core and endianness checking with sparse Bart Van Assche
     [not found] ` <1490118969.2605.1.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-03-21 18:20   ` Jason Gunthorpe

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).