Hello Tatyana Nikolova,

The patch 615eb715ae10: "RDMA/nes: Add support for MPAv2 Enhanced 
RDMA Negotiation" from Sep 25, 2011, leads to a number of endian
warnings.

For example, struct ietf_rtr_msg is declared as holding big endian
values, but it's used to hold cpu endian values.

+struct ietf_rtr_msg {
+       __be16 ctrl_ird;
+       __be16 ctrl_ord;
+};

Sparse can find many of these problems automatically.  Lwn had an
article on how that works.  http://lwn.net/Articles/205624/

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to