public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V1 rdma-core 0/5] Licensing and cleanup issues
@ 2016-09-29 11:10 Yishai Hadas
       [not found] ` <1475147462-803-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Yishai Hadas @ 2016-09-29 11:10 UTC (permalink / raw)
  To: jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/,
	dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, yishaih-VPRAkNaXOzVWk0Htik3J/w,
	majd-VPRAkNaXOzVWk0Htik3J/w

Sending V1 to introduce few notes got from Jason, details below.

This series comes to solve some potential licensing issue around list.h
and ocrdma_list.h by using the CCAN functionality which has BSD license.

The CCAN required functionality was taken as is with minor touches as of
flattening the directory structure, its original header
with the licensing note was preserved.

In addition, the series drops some local definitions and use shared code instead.
Pull request was sent [1]

[1] https://github.com/linux-rdma/rdma-core/pull/5

Changes from V0:
Patch #2: Move to use min_t/max_t and fix typing issues among the project.
          Add involved license files to ccan.
	  Sort list of files in ccan/CMakeLists.txt.
	  Use buildlib/config.h.in for ccan HAVE_XXX.
 
Patch #3: Add ccan/str.c and update relevant cmake files.
          Sort list of files in ccan/CMakeLists.txt. 

Yishai Hadas (5):
  Remove container_of and offset local declarations
  ccan: Add CCAN min and max functionality
  ccan: Add list functionality
  libmlx5: Move to use CCAN list functionality
  libocrdma: Move to use CCAN list functionality

 CMakeLists.txt                       |   1 +
 buildlib/config.h.in                 |  10 +
 buildlib/publish_headers.cmake       |  18 +-
 buildlib/rdma_functions.cmake        |   8 +
 ccan/BSD-MIT                         |  17 +
 ccan/CC0                             |  97 ++++
 ccan/CMakeLists.txt                  |  16 +
 ccan/build_assert.h                  |  40 ++
 ccan/check_type.h                    |  64 +++
 ccan/container_of.h                  | 146 ++++++
 ccan/list.h                          | 842 +++++++++++++++++++++++++++++++++++
 ccan/minmax.h                        |  65 +++
 ccan/str.c                           |  13 +
 ccan/str.h                           | 228 ++++++++++
 ccan/str_debug.h                     |  30 ++
 ibacm/CMakeLists.txt                 |   6 +-
 ibacm/linux/osd.h                    |   8 +-
 ibacm/prov/acmp/src/acmp.c           |   2 +-
 iwpmd/src/CMakeLists.txt             |   2 +-
 libibcm/examples/CMakeLists.txt      |   2 +-
 libibcm/src/cm.c                     |   5 -
 libibumad/tests/CMakeLists.txt       |   4 +-
 libibverbs/examples/CMakeLists.txt   |  16 +-
 libibverbs/examples/rc_pingpong.c    |  12 +-
 libmlx5/src/buf.c                    |  11 +-
 libmlx5/src/list.h                   | 331 --------------
 libmlx5/src/mlx5.c                   |   2 +-
 libmlx5/src/mlx5.h                   |  19 +-
 libmlx5/src/qp.c                     |   4 +-
 libmlx5/src/srq.c                    |   2 +-
 libmlx5/src/verbs.c                  |  21 +-
 libocrdma/src/ocrdma_list.h          | 104 -----
 libocrdma/src/ocrdma_main.c          |  24 +-
 libocrdma/src/ocrdma_main.h          |  12 +-
 libocrdma/src/ocrdma_verbs.c         |  33 +-
 librdmacm/examples/CMakeLists.txt    |  26 +-
 librdmacm/src/cma.h                  |  11 +-
 librdmacm/src/rsocket.c              |  13 +-
 srp_daemon/srp_daemon/CMakeLists.txt |   2 +-
 39 files changed, 1692 insertions(+), 575 deletions(-)
 create mode 100644 ccan/BSD-MIT
 create mode 100644 ccan/CC0
 create mode 100644 ccan/CMakeLists.txt
 create mode 100644 ccan/build_assert.h
 create mode 100644 ccan/check_type.h
 create mode 100644 ccan/container_of.h
 create mode 100644 ccan/list.h
 create mode 100644 ccan/minmax.h
 create mode 100644 ccan/str.c
 create mode 100644 ccan/str.h
 create mode 100644 ccan/str_debug.h
 delete mode 100644 libmlx5/src/list.h
 delete mode 100644 libocrdma/src/ocrdma_list.h

-- 
1.8.3.1

--
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] 7+ messages in thread

end of thread, other threads:[~2016-09-29 15:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 11:10 [PATCH V1 rdma-core 0/5] Licensing and cleanup issues Yishai Hadas
     [not found] ` <1475147462-803-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-29 11:10   ` [PATCH V1 rdma-core 1/5] Remove container_of and offset local declarations Yishai Hadas
2016-09-29 11:10   ` [PATCH V1 rdma-core 2/5] ccan: Add CCAN min and max functionality Yishai Hadas
2016-09-29 11:11   ` [PATCH V1 rdma-core 3/5] ccan: Add list functionality Yishai Hadas
2016-09-29 11:11   ` [PATCH V1 rdma-core 4/5] libmlx5: Move to use CCAN " Yishai Hadas
2016-09-29 11:11   ` [PATCH V1 rdma-core 5/5] libocrdma: " Yishai Hadas
2016-09-29 15:19   ` [PATCH V1 rdma-core 0/5] Licensing and cleanup issues Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox