Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934454AbeAKPqH (ORCPT + 1 other); Thu, 11 Jan 2018 10:46:07 -0500 Received: from osg.samsung.com ([64.30.133.232]:43080 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932867AbeAKPpZ (ORCPT ); Thu, 11 Jan 2018 10:45:25 -0500 Subject: Re: [PATCH] media: v4l2-core: v4l2-mc: Add SPDX license identifier To: Laurent Pinchart Cc: mchehab@kernel.org, shuah@kernel.org, sakari.ailus@linux.intel.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20180110163540.8396-1-shuahkh@osg.samsung.com> <20180110163540.8396-2-shuahkh@osg.samsung.com> <2473844.IFKS5XRpDA@avalon> From: Shuah Khan Message-ID: <9e7fdf1e-64f5-093a-e1ad-a64653791429@osg.samsung.com> Date: Thu, 11 Jan 2018 08:45:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <2473844.IFKS5XRpDA@avalon> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 01/11/2018 05:55 AM, Laurent Pinchart wrote: > Hi Shuah, > > Thank you for the patch. > > On Wednesday, 10 January 2018 18:35:36 EET Shuah Khan wrote: >> Replace GPL license statement with SPDX GPL-2.0 license identifier. >> >> Signed-off-by: Shuah Khan >> --- >> drivers/media/v4l2-core/v4l2-mc.c | 11 +---------- >> 1 file changed, 1 insertion(+), 10 deletions(-) >> >> diff --git a/drivers/media/v4l2-core/v4l2-mc.c >> b/drivers/media/v4l2-core/v4l2-mc.c index 303980b71aae..1297132acd4e 100644 >> --- a/drivers/media/v4l2-core/v4l2-mc.c >> +++ b/drivers/media/v4l2-core/v4l2-mc.c >> @@ -1,3 +1,4 @@ >> +/* SPDX-License-Identifier: GPL-2.0 */ > > The header doesn't match the existing license. When I added the file, I must have cut and pasted the license statement from another file. More on this below the deleted license lines. > > Furthermore, unless I'm mistaken, the standard comment style for SPDX headers > in the kernel is //, not /* ... */ Looks like we have 3 conventions for SPDX comment style. /* ... */ for headers and # ... for shell scripts and // for .c files. I can update it it and send v2 provided we think the change is inline with the original license. > >> /* >> * Media Controller ancillary functions >> * >> @@ -5,16 +6,6 @@ >> * Copyright (C) 2016 Shuah Khan >> * Copyright (C) 2006-2010 Nokia Corporation >> * Copyright (c) 2016 Intel Corporation. >> - * >> - * 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; either version 2 of the License, or >> - * (at your option) any later version. Are you concerned about the "or (at your option) any later version." part that it doesn't match? >> - * >> - * This program 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. >> */ >> >> #include > thanks, -- Shuah