Received: by 10.223.164.200 with SMTP id h8csp263823wrb; Sun, 5 Nov 2017 07:43:04 -0800 (PST) X-Google-Smtp-Source: ABhQp+TMiYZn+dj4gkkR1gbtJMi1O5q0O0tfIqUm+hMELClLKFHYgXfpraVzH/ljO4Ur2qDIylBz X-Received: by 10.84.240.6 with SMTP id y6mr11882727plk.78.1509896583915; Sun, 05 Nov 2017 07:43:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509896583; cv=none; d=google.com; s=arc-20160816; b=jjmHNoSZF25WKFHmAZRiVkvQNF2K4h2tTCJb7igiYKQH+F9a1VIGFatUzeqTXf5INw 6LHQwPKawduOwe8Atqqr/xfQOTlqF8bk0mJWUrrKR6jYV+Rd4wtqdMtyE2YfFLoC1yG4 XYpK0FNKGuGD5ZmOkoLD8yVHm4ssPvMN8zAnRx6OdcbQ6GMLadyOUhOkwzoyq4Oo33lc 4vsgZtaN0CCwyyC52lbbsJ+PRjFLCr6eslOG5NNYoASRl9+V83Y7uUdxSieSiMzKLSSD FiogIRHrfgGjXmi9JakObup8mA3KfDzP8ii1ZPb6JcV4gEUW3W6MbNLRTOAuNewhncxN ifUA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=ThRIUXa0nepvYY23jEwdQ9W0YzpSA+ZBcGaNTaKEL2g=; b=JnBqGqJQtmEhkFxr57bkzLnYJfS60x0yPagEJI+kx0kpnlpj7ud89t4zs6SEvAbuCX whWRLNbh6cKPT02h2lcOrqkesaIputMkHMxKF4HBm6MMscnXcP1HASYmIkVXfLw2kn53 hTTG0n81i6eZLK8RoJUOfFWi7n9VC6T9wd/EOEqOr+RNxSJ64bvC2fkFMdUwuUa4osAd ptiDc+iuVwr6777VKi/4HydMjkeudElX2HARqJBhj4bnAKbu5TY+ptFNk2sFFUzmCJ1L 8qWSxcG501NKeul0tZCK5UQeYC9uYXfc2aXfg4tabFVXSdKCUCfIyBCOOTMGSWFUWvE/ VKmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=BhLKOlDb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y74si10808698pfi.88.2017.11.05.07.42.49; Sun, 05 Nov 2017 07:43:03 -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=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=BhLKOlDb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751337AbdKEPkG (ORCPT + 97 others); Sun, 5 Nov 2017 10:40:06 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:51445 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbdKEPkE (ORCPT ); Sun, 5 Nov 2017 10:40:04 -0500 Received: by mail-wm0-f65.google.com with SMTP id b9so9730353wmh.0 for ; Sun, 05 Nov 2017 07:40:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ThRIUXa0nepvYY23jEwdQ9W0YzpSA+ZBcGaNTaKEL2g=; b=BhLKOlDbeauqpoLBQY1RdhaXAmw+CP8foeIUavwEtnW2ZvCbrYaFHvvdgkXjY3HswL 3gBbeWvGFnt/Qa/3TLbnKkJKU0m5PeXnijNiLjQa2L4bHL7EznsgkZdyc3e88wno9dSk Mt3/Jhz+AOkMP30fTTgssPibitBqKxPPKZZtgaHGw215TUk+nSP4M4x7IbVeXoCMbTOa sFYg3dBKNOyH+N4+MssE0wtSrwdu5m55iGeFodvMyWX/rV4EsB1xBO75cpkj4pfDOWOA ZO3ZE/iN30RXr7QJ7EVRcucbRcowUa/n6aYYKNHSxvylDNtmNbfl/Za2hxFpXosaSLeH 7Osg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ThRIUXa0nepvYY23jEwdQ9W0YzpSA+ZBcGaNTaKEL2g=; b=mmU1F+LeVrnAHRaKlbyPKvdY8tk7AsDcdeaSANma4XCIqVj5GXNXmKoSjEVzP40Hvm scraBtWElBDHfee7HesklvZORqkVjBcRViDAZgPyRHWS/2mGzu0BJBuvpZBseBGPmGpy bvD9VEIPTYWXNMPVFl5qYl8ubxPtIcW50Ia4ynx64k1Cahcuoo8OpKkZXSkJos2rhw1M qYPl039gHJQroRyMtqE+rWsY7hcxMG8Iv2e9BhDsqVoExb50+mUsbwSRVOJSs/ASZ7iJ NvuffVyKUMMkBcJCpOPY3FWbJaDoK1951uzE5kodRP3Bx4coGLpadiB7abA+zj08gcV7 xGZg== X-Gm-Message-State: AJaThX4YtyM9I+IPscj//XGX+KQntjqvK7oCvfcG94WHz/xhxW3m3q1t vr/h6XTez4ZaFKRv8Yb5KMGXLZzJOfZLrZ/YngAjoA== X-Received: by 10.28.206.142 with SMTP id e136mr3675110wmg.27.1509896403408; Sun, 05 Nov 2017 07:40:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.139.129 with HTTP; Sun, 5 Nov 2017 07:39:22 -0800 (PST) In-Reply-To: <20171105135135.GA6062@kroah.com> References: <20171019083832.GA21820@kroah.com> <20171103102830.GA18343@kroah.com> <20171103165301.GR7223@localhost> <20171104104010.GA27490@kroah.com> <20171105135135.GA6062@kroah.com> From: Philippe Ombredanne Date: Sun, 5 Nov 2017 16:39:22 +0100 Message-ID: Subject: Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/ To: Greg Kroah-Hartman Cc: Johan Hovold , linux-usb@vger.kernel.org, LKML , Thomas Gleixner , Kate Stewart 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 Sun, Nov 5, 2017 at 2:51 PM, Greg Kroah-Hartman wrote: > On Sun, Nov 05, 2017 at 01:53:54PM +0100, Philippe Ombredanne wrote: >> On Sat, Nov 4, 2017 at 11:40 AM, Greg Kroah-Hartman >> wrote: >> > On Fri, Nov 03, 2017 at 05:53:01PM +0100, Johan Hovold wrote: >> >> On Fri, Nov 03, 2017 at 11:28:30AM +0100, Greg Kroah-Hartman wrote: >> >> > It's good to have SPDX identifiers in all files to make it easier to >> >> > audit the kernel tree for correct licenses. >> >> > >> >> > Update the drivers/usb/ and include/linux/usb* files with the correct >> >> > SPDX license identifier based on the license text in the file itself. >> >> > The SPDX identifier is a legally binding shorthand, which can be used >> >> > instead of the full boiler plate text. >> >> > >> >> > This work is based on a script and data from Thomas Gleixner, Philippe >> >> > Ombredanne, and Kate Stewart. >> >> > >> >> > Cc: Thomas Gleixner >> >> > Cc: Kate Stewart >> >> > Cc: Philippe Ombredanne >> >> > Signed-off-by: Greg Kroah-Hartman >> >> >> >> I noticed several MODULE_LICENSE macros which did not match the headers >> >> (e.g. "GPL" being used for version 2 only modules) for which I'll send a >> >> follow-up patch. >> >> >> >> Someone should probably write a script for that once the SPDX >> >> identifiers are in. >> > >> > Yes, I think that someone might have a script for that, it will be much >> > easier to detect these things now. The issue is that the "v2" marking >> > came after the original "GPL" marking for MODULE_LICENSE() from what I >> > remember, so many of those will be wrong. >> >> If this can help my [1] tool can detect both header-level licenses-in-comments >> as well as MODULE_LICENSE macros. Based on that we could reasonably >> easily craft a script that scans a file and report discrepancies >> between the two. > > That would be great, as there are going to be a lot of these showing up > soon, as we start adding the SPDX identifiers to the files based on the > license text and the mis-matches become obvious. I can run a scancode scan to list modules with a license that does not match their MODULE_LICENSE (irrespective of whether they have an SPDX id already or not) I can then either provide a CSV (or provide an eventually big patch). Which do you prefer? What should be the tree to run this on: Yours? usb? Linus's? tip of the tree or a tag? If you prefer a patch, what should be the rationale when licenses do not match? I guess update the MODULE_LICENSE to match the license comment? -- Cordially Philippe Ombredanne From 1583234351511681740@xxx Sun Nov 05 13:52:17 +0000 2017 X-GM-THRID: 1583040392971287449 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread