Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5227968imu; Sun, 25 Nov 2018 19:28:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/XwFrYAUEl9aRd5MXAChST0XESvowawTwuTWeUHUT4UJJfr4jq+powHydu41uzykIoHuPyt X-Received: by 2002:a17:902:6b03:: with SMTP id o3-v6mr25782813plk.208.1543202906474; Sun, 25 Nov 2018 19:28:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543202906; cv=none; d=google.com; s=arc-20160816; b=pR2N86v8lu8IhqRmcONh9/GpaSTjoRC+P7T6qFEdyjZ+2dGbiixVHRAdEYXs3ajb49 OxU7sgZCcPSu6CpfH0AUtmYMLNNwRg3XfJlNZd2rUGFgARgLifyKmhMCY5Xs+LsxABuJ Rja1ueOWocO35dMZ+K/j+GnFZW9AqLFMyPkYuG86e1K8X3mM32o2dip3DiCZqE+3oWBx uV+pkRCPiA84jSJuEQib9YKXLfS41awDgykfkhhoewYm5yOXFHCY4pZ//wJ3aUVzQ6Jl 8cw5YyAMxKY/0OFqH9+wV9zI9gklKP+G/ok0gr+UmWRsjUgM87EcwC8e6fdZ9sTCV0li W9LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/EOYOURaXeEU+OllLhu0l/g5RtR4OB8dAjKVcJwjLTE=; b=bKLp5UqV85rSLO6zAZZl3wN7JGMnKb8IkFw73fdxF6trMAjS1PmFXl7Y/1pukn0I1B g2YFUHHd9AoAlPJEIt4wocAb8gpYSuFGDfQIAjZpJ8kmkpxymVcpecViisAVoQWTtOE/ 88RNV7FdfyafJcp13UHO6rss5U9C/3Qv81tR04RoQmhx2lvMS8e4pRAU3Qbx1CJMY2Vl WQQ5Z9xckj3rwqAB1w8yFdYG75hPNl6hBqHaBIb0hg2CkWCm7NYo5vcGcyKW2s00uWDY VdHGEnS5XOFpqBRzP6uXlOMWXOa2UQhUYGJCRRp/BqTw7j3HFRUMldo34W8WRODESJyp khhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jIZqLvuR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6-v6si64211083pfy.29.2018.11.25.19.28.11; Sun, 25 Nov 2018 19:28:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jIZqLvuR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726174AbeKZOUU (ORCPT + 99 others); Mon, 26 Nov 2018 09:20:20 -0500 Received: from mail-yw1-f68.google.com ([209.85.161.68]:33558 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbeKZOUU (ORCPT ); Mon, 26 Nov 2018 09:20:20 -0500 Received: by mail-yw1-f68.google.com with SMTP id q11so6997028ywa.0 for ; Sun, 25 Nov 2018 19:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/EOYOURaXeEU+OllLhu0l/g5RtR4OB8dAjKVcJwjLTE=; b=jIZqLvuRcGH3DJ/6dJ4Ie2NLZgS+EyeV8my+2XIsYH/abxA7ttDvv2mLtVNhxRf1kG GwWblN0LcI3AYtITyaCHCTw1gh10Zr3w6EH+dx9HcHuNFCJcIODRfXcv9HRUWXZRrted amSE6F50aYJeLBgTYk7eKcVOWtTyWQH+WZhd4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/EOYOURaXeEU+OllLhu0l/g5RtR4OB8dAjKVcJwjLTE=; b=SNim7qNldybKhS40AwQ6adpw3xH1geS7QznpX161/b5a+bJEvnPbVUw2gEJNlhR9J7 Zb6gSB9zBRRUcQECcPrN4QsANzP6bj2srXPckamv8/OwKXGuvM9JGii65T7r17988Bvo CcyZXW9d8nXL56ScEvem4/nksuI45quSEyBCCUtLSeoMxDIvoe6dsLBQMQKtoTjikEVk oa8CLrDzTkbAG4S/fX1iHQ/EsmZFr9DVI4DQJBz9P2hXd+LSRsRjPERLp/nbqwqcEn6D HdZfaAMXEOVgff1FJgud+9Z29DffWzchuzsn+jGVht6JMUl66wqsKhT1TDspgLMYH/2n M2OQ== X-Gm-Message-State: AGRZ1gLLGXJjVa+oXFUJzrhZLdx4wvqAHsuDzFAFl7d6yDCFqNR1B9qv uRdFWRC5xN52mXnGM8SGDCYvTUTad8E= X-Received: by 2002:a0d:c887:: with SMTP id k129-v6mr27097739ywd.485.1543202855491; Sun, 25 Nov 2018 19:27:35 -0800 (PST) Received: from mail-yw1-f47.google.com (mail-yw1-f47.google.com. [209.85.161.47]) by smtp.gmail.com with ESMTPSA id j65sm2526652ywf.21.2018.11.25.19.27.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Nov 2018 19:27:34 -0800 (PST) Received: by mail-yw1-f47.google.com with SMTP id r130so3808484ywg.7 for ; Sun, 25 Nov 2018 19:27:33 -0800 (PST) X-Received: by 2002:a81:3dc4:: with SMTP id k187-v6mr27346827ywa.415.1543202853272; Sun, 25 Nov 2018 19:27:33 -0800 (PST) MIME-Version: 1.0 References: <20180814142047.93856-1-hverkuil@xs4all.nl> <20180814142047.93856-2-hverkuil@xs4all.nl> <20181118115215.5ebc681c@coco.lan> <20181123075157.077758c0@coco.lan> <20181123102908.2ec61ce4@coco.lan> In-Reply-To: <20181123102908.2ec61ce4@coco.lan> From: Tomasz Figa Date: Mon, 26 Nov 2018 12:27:22 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv18 01/35] Documentation: v4l: document request API To: Mauro Carvalho Chehab Cc: Thomas Gleixner , Linux Media Mailing List , Linux Kernel Mailing List , Alexandre Courbot , Hans Verkuil , Hans Verkuil , Greg KH , kstewart@linuxfoundation.org, torvalds@linux-foundation.org, ben@decadent.org.uk Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 23, 2018 at 9:29 PM Mauro Carvalho Chehab wrote: > > Em Fri, 23 Nov 2018 11:38:37 +0100 (CET) > Thomas Gleixner escreveu: > > > Mauro, > > > > On Fri, 23 Nov 2018, Mauro Carvalho Chehab wrote: > > > > While we don't have it, we can't really use SPDX identifiers on media. > > > > So, replace them by a license text. > > > > > > > > Signed-off-by: Mauro Carvalho Chehab > > > > > > > > diff --git a/Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst b/Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst > > > > index 0f8b31874002..60874a1f3d89 100644 > > > > --- a/Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst > > > > +++ b/Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst > > > > @@ -1,4 +1,15 @@ > > > > -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > > > > +.. SPDX License for this file: GPL-2.0 OR GFDL-1.1-or-later > > > > +.. > > > > +.. For GPL-2.0, see LICENSES/preferred/GPL-2.0 > > > > +.. > > > > +.. For GFDL-1.1-or-later, see: > > > > +.. > > > > +.. Permission is granted to copy, distribute and/or modify this document > > > > +.. under the terms of the GNU Free Documentation License, Version 1.1 or > > > > +.. any later version published by the Free Software Foundation, with no > > > > +.. Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. > > > > +.. A copy of the license is included at > > > > +.. Documentation/media/uapi/fdl-appendix.rst. > > > > There is still an issue here. > > > > The SPDX id for GFDL requires the license text to be in LICENSES/.... > > > > But the plain GFDL-1.1-or-later lacks the invariant/front/back parts which > > are an exception to the license and require an exception ID along with the > > corresponding file in LICENSES/..... again. > > > > So no, this won't cut it. Please stay with free form license information > > until this is resolved. > > Ok, I'll use then the enclosed patch, replacing them by a free > form license info, adding a TODO at the end, as a reminder. > > > Kate, can you have a look into that please on the SPDX side? > > Thanks, > Mauro > > [PATCH] media: mediactl docs: Fix licensing message > > Right now, it mentions two SPDX headers that don't exist inside the Kernel: > GFDL-1.1-or-later > And an exception: > no-invariant-sections > > While it would be trivial to add the first one, there's no way, > currently, to distinguish, with SPDX, between a free and a non-free > document under GFDL. > > Free documents with GFDL should not have invariant sections. > > There's an open issue at SPDX tree waiting for it to be solved. > While we don't have this issue closed, let's just replace by a > free-text license, and add a TODO note to remind us to revisit it > later. > > Signed-off-by: Mauro Carvalho Chehab > > diff --git a/Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst b/Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst > index 0f8b31874002..de131f00c249 100644 > --- a/Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst > +++ b/Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst > @@ -1,4 +1,28 @@ > -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > +.. This file is dual-licensed: you can use it either under the terms > +.. of the GPL or the GFDL 1.1+ license, at your option. Note that this > +.. dual licensing only applies to this file, and not this project as a > +.. whole. > +.. > +.. a) This file 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; either version 2 of > +.. the License, or (at your option) any later version. > +.. > +.. This file is distributed in the hope that it will be useful, > +.. but WITHOUT ANY WARRANTY; without even the implied warranty of > +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +.. GNU General Public License for more details. > +.. > +.. Or, alternatively, > +.. > +.. b) Permission is granted to copy, distribute and/or modify this > +.. document under the terms of the GNU Free Documentation License, > +.. Version 1.1 or any later version published by the Free Software > +.. Foundation, with no Invariant Sections, no Front-Cover Texts > +.. and no Back-Cover Texts. A copy of the license is included at > +.. Documentation/media/uapi/fdl-appendix.rst. > +.. > +.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > > .. _media_ioc_request_alloc: > > diff --git a/Documentation/media/uapi/mediactl/media-request-ioc-queue.rst b/Documentation/media/uapi/mediactl/media-request-ioc-queue.rst > index 6dd2d7fea714..5d2604345e19 100644 > --- a/Documentation/media/uapi/mediactl/media-request-ioc-queue.rst > +++ b/Documentation/media/uapi/mediactl/media-request-ioc-queue.rst > @@ -1,4 +1,28 @@ > -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > +.. This file is dual-licensed: you can use it either under the terms > +.. of the GPL or the GFDL 1.1+ license, at your option. Note that this > +.. dual licensing only applies to this file, and not this project as a > +.. whole. > +.. > +.. a) This file 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; either version 2 of > +.. the License, or (at your option) any later version. > +.. > +.. This file is distributed in the hope that it will be useful, > +.. but WITHOUT ANY WARRANTY; without even the implied warranty of > +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +.. GNU General Public License for more details. > +.. > +.. Or, alternatively, > +.. > +.. b) Permission is granted to copy, distribute and/or modify this > +.. document under the terms of the GNU Free Documentation License, > +.. Version 1.1 or any later version published by the Free Software > +.. Foundation, with no Invariant Sections, no Front-Cover Texts > +.. and no Back-Cover Texts. A copy of the license is included at > +.. Documentation/media/uapi/fdl-appendix.rst. > +.. > +.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > > .. _media_request_ioc_queue: > > diff --git a/Documentation/media/uapi/mediactl/media-request-ioc-reinit.rst b/Documentation/media/uapi/mediactl/media-request-ioc-reinit.rst > index febe888494c8..ec61960c81ce 100644 > --- a/Documentation/media/uapi/mediactl/media-request-ioc-reinit.rst > +++ b/Documentation/media/uapi/mediactl/media-request-ioc-reinit.rst > @@ -1,4 +1,28 @@ > -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > +.. This file is dual-licensed: you can use it either under the terms > +.. of the GPL or the GFDL 1.1+ license, at your option. Note that this > +.. dual licensing only applies to this file, and not this project as a > +.. whole. > +.. > +.. a) This file 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; either version 2 of > +.. the License, or (at your option) any later version. > +.. > +.. This file is distributed in the hope that it will be useful, > +.. but WITHOUT ANY WARRANTY; without even the implied warranty of > +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +.. GNU General Public License for more details. > +.. > +.. Or, alternatively, > +.. > +.. b) Permission is granted to copy, distribute and/or modify this > +.. document under the terms of the GNU Free Documentation License, > +.. Version 1.1 or any later version published by the Free Software > +.. Foundation, with no Invariant Sections, no Front-Cover Texts > +.. and no Back-Cover Texts. A copy of the license is included at > +.. Documentation/media/uapi/fdl-appendix.rst. > +.. > +.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > > .. _media_request_ioc_reinit: > > diff --git a/Documentation/media/uapi/mediactl/request-api.rst b/Documentation/media/uapi/mediactl/request-api.rst > index 5f4a23029c48..945113dcb218 100644 > --- a/Documentation/media/uapi/mediactl/request-api.rst > +++ b/Documentation/media/uapi/mediactl/request-api.rst > @@ -1,4 +1,28 @@ > -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > +.. This file is dual-licensed: you can use it either under the terms > +.. of the GPL or the GFDL 1.1+ license, at your option. Note that this > +.. dual licensing only applies to this file, and not this project as a > +.. whole. > +.. > +.. a) This file 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; either version 2 of > +.. the License, or (at your option) any later version. > +.. > +.. This file is distributed in the hope that it will be useful, > +.. but WITHOUT ANY WARRANTY; without even the implied warranty of > +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +.. GNU General Public License for more details. > +.. > +.. Or, alternatively, > +.. > +.. b) Permission is granted to copy, distribute and/or modify this > +.. document under the terms of the GNU Free Documentation License, > +.. Version 1.1 or any later version published by the Free Software > +.. Foundation, with no Invariant Sections, no Front-Cover Texts > +.. and no Back-Cover Texts. A copy of the license is included at > +.. Documentation/media/uapi/fdl-appendix.rst. > +.. > +.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > > .. _media-request-api: > > diff --git a/Documentation/media/uapi/mediactl/request-func-close.rst b/Documentation/media/uapi/mediactl/request-func-close.rst > index 098d7f2b9548..dcf3f35bcf17 100644 > --- a/Documentation/media/uapi/mediactl/request-func-close.rst > +++ b/Documentation/media/uapi/mediactl/request-func-close.rst > @@ -1,4 +1,28 @@ > -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > +.. This file is dual-licensed: you can use it either under the terms > +.. of the GPL or the GFDL 1.1+ license, at your option. Note that this > +.. dual licensing only applies to this file, and not this project as a > +.. whole. > +.. > +.. a) This file 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; either version 2 of > +.. the License, or (at your option) any later version. > +.. > +.. This file is distributed in the hope that it will be useful, > +.. but WITHOUT ANY WARRANTY; without even the implied warranty of > +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +.. GNU General Public License for more details. > +.. > +.. Or, alternatively, > +.. > +.. b) Permission is granted to copy, distribute and/or modify this > +.. document under the terms of the GNU Free Documentation License, > +.. Version 1.1 or any later version published by the Free Software > +.. Foundation, with no Invariant Sections, no Front-Cover Texts > +.. and no Back-Cover Texts. A copy of the license is included at > +.. Documentation/media/uapi/fdl-appendix.rst. > +.. > +.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > > .. _request-func-close: > > diff --git a/Documentation/media/uapi/mediactl/request-func-ioctl.rst b/Documentation/media/uapi/mediactl/request-func-ioctl.rst > index ff7b072a6999..11a22f887843 100644 > --- a/Documentation/media/uapi/mediactl/request-func-ioctl.rst > +++ b/Documentation/media/uapi/mediactl/request-func-ioctl.rst > @@ -1,4 +1,28 @@ > -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > +.. This file is dual-licensed: you can use it either under the terms > +.. of the GPL or the GFDL 1.1+ license, at your option. Note that this > +.. dual licensing only applies to this file, and not this project as a > +.. whole. > +.. > +.. a) This file 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; either version 2 of > +.. the License, or (at your option) any later version. > +.. > +.. This file is distributed in the hope that it will be useful, > +.. but WITHOUT ANY WARRANTY; without even the implied warranty of > +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +.. GNU General Public License for more details. > +.. > +.. Or, alternatively, > +.. > +.. b) Permission is granted to copy, distribute and/or modify this > +.. document under the terms of the GNU Free Documentation License, > +.. Version 1.1 or any later version published by the Free Software > +.. Foundation, with no Invariant Sections, no Front-Cover Texts > +.. and no Back-Cover Texts. A copy of the license is included at > +.. Documentation/media/uapi/fdl-appendix.rst. > +.. > +.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > > .. _request-func-ioctl: > > diff --git a/Documentation/media/uapi/mediactl/request-func-poll.rst b/Documentation/media/uapi/mediactl/request-func-poll.rst > index 85191254f381..2609fd54d519 100644 > --- a/Documentation/media/uapi/mediactl/request-func-poll.rst > +++ b/Documentation/media/uapi/mediactl/request-func-poll.rst > @@ -1,4 +1,28 @@ > -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > +.. This file is dual-licensed: you can use it either under the terms > +.. of the GPL or the GFDL 1.1+ license, at your option. Note that this > +.. dual licensing only applies to this file, and not this project as a > +.. whole. > +.. > +.. a) This file 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; either version 2 of > +.. the License, or (at your option) any later version. > +.. > +.. This file is distributed in the hope that it will be useful, > +.. but WITHOUT ANY WARRANTY; without even the implied warranty of > +.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +.. GNU General Public License for more details. > +.. > +.. Or, alternatively, > +.. > +.. b) Permission is granted to copy, distribute and/or modify this > +.. document under the terms of the GNU Free Documentation License, > +.. Version 1.1 or any later version published by the Free Software > +.. Foundation, with no Invariant Sections, no Front-Cover Texts > +.. and no Back-Cover Texts. A copy of the license is included at > +.. Documentation/media/uapi/fdl-appendix.rst. > +.. > +.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections > > .. _request-func-poll: > > > Verified with a grep over Documentation/media that this patch replaces all the instances of "GFDL-1.1-or-later WITH" and so: Reviewed-by: Tomasz Figa Best regards, Tomasz