All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@kernel.org>
To: Cai Huoqing <caihuoqing@baidu.com>
Cc: <tfiga@chromium.org>, <m.szyprowski@samsung.com>,
	<linux-media@vger.kernel.org>,
	Hans Verkuil <hverkuil-cisco@xs4all.nl>
Subject: Re: [PATCH] media: videobuf2: Convert to SPDX identifier
Date: Fri, 3 Sep 2021 15:47:25 +0200	[thread overview]
Message-ID: <20210903154707.48e26478@coco.lan> (raw)
In-Reply-To: <20210822042730.1360-1-caihuoqing@baidu.com>

Em Sun, 22 Aug 2021 12:27:30 +0800
Cai Huoqing <caihuoqing@baidu.com> escreveu:

> +// SPDX-License-Identifier: GPL-1.0+
>  /*
>   * videobuf2-vmalloc.c - vmalloc memory allocator for videobuf2
>   *
>   * Copyright (C) 2010 Samsung Electronics
>   *
>   * Author: Pawel Osciak <pawel@osciak.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation.
>   */

That doesn't sound right.

See, all code at the Kernel is under GPLv2, as stated at the global
Kernel licensing files. Btw, a driver with just:

	MODULE_LICENSE("GPL")

is actually under GPLv2 (eventually: or later and/or dual-licensed).

There's nothing in the text implying GPLv2 or later. So, using a
GPL-x.x+ doesn't fit here.

Ok, one might argue that the code is GPL 1.0 to 2.0, but VB2 is
a derivative work from VB1, which was originally written with
GPL v2 or later:

	https://linuxtv.org/cgi-bin/viewvc.cgi/video4linux/video-buf.h?view=markup&revision=1.9&root=v4l

So, the only license that fits here is GPLv2.

On other words, except if all VB2 authors explicitly send their
SoB to change the licensing terms (with should likely include
also VB1 authors) to allow dual-licensing it or to extend it
to other GPL versions, the right license here is, instead, just
GPLv2, e. g.:

	SPDX-License-Identifier: GPL-2.0

Thanks,
Mauro

      reply	other threads:[~2021-09-03 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22  4:27 [PATCH] media: videobuf2: Convert to SPDX identifier Cai Huoqing
2021-09-03 13:47 ` Mauro Carvalho Chehab [this message]

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=20210903154707.48e26478@coco.lan \
    --to=mchehab@kernel.org \
    --cc=caihuoqing@baidu.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=tfiga@chromium.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.