On 09/29/2016 01:47 PM, Jason Gunthorpe wrote:
For a long time now endian.h has defined sane fixed with conversion macros, so lets just use them instead of rolling our own. Also, htonll is defined in this source tree under infiniband/arch.h, so all users of that macro can just use the header. Someday we should also get rid of all the endless wrappers.. Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> --- ibacm/linux/osd.h | 8 +------- libcxgb3/src/cxio_wr.h | 10 +++------- libcxgb4/src/t4.h | 11 ++++------- libi40iw/src/i40iw_umain.h | 18 ++---------------- libibumad/src/sysfs.c | 8 +------- libibverbs/include/infiniband/arch.h | 15 ++++++--------- libnes/src/nes_umain.h | 17 ++--------------- libocrdma/src/ocrdma_verbs.c | 32 ++++---------------------------- librdmacm/examples/common.h | 11 +++-------- librdmacm/src/cma.h | 9 +-------- srp_daemon/srp_daemon/srp_daemon.h | 17 +---------------- 11 files changed, 28 insertions(+), 128 deletions(-)
For the srp_daemon changes: Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html