public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	"jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org"
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org"
	<majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH rdma-core 0/5] Licensing and cleanup issues
Date: Wed, 28 Sep 2016 12:03:54 -0400	[thread overview]
Message-ID: <57EBE9EA.3090403@redhat.com> (raw)
In-Reply-To: <1475076789-14359-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2986 bytes --]

On 9/28/16 11:33 AM, Yishai Hadas wrote:
> 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 as well[1]
> 
> Jason,
> Look at ccan/config.h I just hard coded few required HAVE_XXX which
> expects to be available in Linux/distros environment.
> In case you think that it should be changed to be set dynamically with cmake please
> make the relevant changes as you are more familiar by that time with cmake.
> 
> [1] https://github.com/linux-rdma/rdma-core/pull/5
> 
> Yishai
> 
> 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/publish_headers.cmake    |  18 +-
>  ccan/CMakeLists.txt               |  10 +
>  ccan/build_assert.h               |  40 ++
>  ccan/check_type.h                 |  64 +++
>  ccan/config.h                     |   2 +
>  ccan/container_of.h               | 146 +++++++
>  ccan/list.h                       | 842 ++++++++++++++++++++++++++++++++++++++
>  ccan/minmax.h                     |  65 +++
>  ccan/str.h                        | 228 +++++++++++
>  ccan/str_debug.h                  |  30 ++
>  ibacm/linux/osd.h                 |   8 +-
>  libibcm/src/cm.c                  |   5 -
>  libibverbs/examples/rc_pingpong.c |   8 +-
>  libmlx5/src/buf.c                 |  11 +-
>  libmlx5/src/list.h                | 331 ---------------
>  libmlx5/src/mlx5.c                |   2 +-
>  libmlx5/src/mlx5.h                |  19 +-
>  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/src/cma.h               |  11 +-
>  23 files changed, 1489 insertions(+), 525 deletions(-)
>  create mode 100644 ccan/CMakeLists.txt
>  create mode 100644 ccan/build_assert.h
>  create mode 100644 ccan/check_type.h
>  create mode 100644 ccan/config.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.h
>  create mode 100644 ccan/str_debug.h
>  delete mode 100644 libmlx5/src/list.h
>  delete mode 100644 libocrdma/src/ocrdma_list.h
> 

Series looks good to me.

-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>    GPG Key ID: 0E572FDD
  Red Hat, Inc.
  100 E. Davie St
  Raleigh, NC 27601 USA


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 907 bytes --]

  parent reply	other threads:[~2016-09-28 16:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-28 15:33 [PATCH rdma-core 0/5] Licensing and cleanup issues Yishai Hadas
     [not found] ` <1475076789-14359-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-28 15:33   ` [PATCH rdma-core 1/5] Remove container_of and offset local declarations Yishai Hadas
2016-09-28 15:33   ` [PATCH rdma-core 2/5] ccan: Add CCAN min and max functionality Yishai Hadas
     [not found]     ` <1475076789-14359-3-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-28 16:18       ` Jason Gunthorpe
2016-09-28 15:33   ` [PATCH rdma-core 3/5] ccan: Add list functionality Yishai Hadas
     [not found]     ` <1475076789-14359-4-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-28 16:53       ` Jason Gunthorpe
2016-09-28 15:33   ` [PATCH rdma-core 4/5] libmlx5: Move to use CCAN " Yishai Hadas
2016-09-28 15:33   ` [PATCH rdma-core 5/5] libocrdma: " Yishai Hadas
     [not found]     ` <1475076789-14359-6-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-29  3:02       ` Devesh Sharma
2016-09-28 16:03   ` Doug Ledford [this message]
2016-09-28 17:26   ` [PATCH rdma-core 0/5] Licensing and cleanup issues Jason Gunthorpe

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=57EBE9EA.3090403@redhat.com \
    --to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=yishaih-VPRAkNaXOzVWk0Htik3J/w@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