Received: by 10.223.164.200 with SMTP id h8csp136705wrb; Sun, 5 Nov 2017 04:55:35 -0800 (PST) X-Google-Smtp-Source: ABhQp+SP/LjnBPa5algWRdRo2DLw4p5ALlFlWdZ0oTz1rWm/N6C2gnBsiIh3wPsw8oIfRBDPDhrf X-Received: by 10.98.65.156 with SMTP id g28mr13645634pfd.11.1509886534928; Sun, 05 Nov 2017 04:55:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509886534; cv=none; d=google.com; s=arc-20160816; b=fqHFnGuJOwmIaFpph8Y+JYJsfpPwXK5PqRQjFYsVJnIP4JE44S+SP41111Q4JTquPa uCiABewr4sJTS4rxF8deC5b5NSI4K9JunLt4MojMLMrAGuNh+Uq+W1at6FlX2xtIndT7 p86oU3D8r0Jr7YZSjiE6Xaoztqos1jvo8lwocdu16mUbs4NgnhGYB1cGULv4ulqHt8Iq veUlbYAcDmfP0n6zHw2bKj9B8t6C5IbyszTjum2jun7R1+d4AE7H66OryVxbUx9asvEA mSxeO5zy8ZutESpmdXdo9cjtO9TMNfKRAvRJPnsBS1JG9m8U3LcF1Fd5lH/RoMHDChpS VePA== 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=e6OfWPQNbno6lDt1VPnmTHdt1UNNA0UandVHQZ0Bn28=; b=ZwE09aeEUtpJcZbuK65IW5G3pt3fFTAcEfdFtOvd9VpqjaXWx6lAkLS+ow1GMRbAZX vK4xZRSgmowAFumb4nf7wMcguVCsLmFNv+G8LyAgO6IOfQiNqlXLZjbih3CcfnADysfJ H1hxsJzD87t6CJn5E7ISpcAytzye7wqU0WyXgRVLvUsXTNAvCyzp35JimojeqEdjvuy7 RbH54TL63/zKBqkDuhnJ3hfR/UDgUuaPYELTUrzw9UdcMO/ZExvEnAnZIPqtmKiv3+ct w0ei4ljeqyaUExSzqq0jqQIloF04MezVzeOiGs4I3G2ABSfkwhTmuFAfCRL1bR4yNC1W HOqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=H9CXaoLi; 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 y22si9935205pgc.508.2017.11.05.04.55.21; Sun, 05 Nov 2017 04:55:34 -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=H9CXaoLi; 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 S1752595AbdKEMyj (ORCPT + 97 others); Sun, 5 Nov 2017 07:54:39 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:43930 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752433AbdKEMyg (ORCPT ); Sun, 5 Nov 2017 07:54:36 -0500 Received: by mail-wr0-f194.google.com with SMTP id 4so1937939wrt.0 for ; Sun, 05 Nov 2017 04:54:35 -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=e6OfWPQNbno6lDt1VPnmTHdt1UNNA0UandVHQZ0Bn28=; b=H9CXaoLiax33NKLZoS9RImcxuc08c87036w0fodTf5P2HgPaauz8uxOzjevGO82Eyd n2ghsXVlxinYZjmqSb1hxdvWtHEpkKAAIuyoY8BMjeVw6gj/X0XCwLSXidttzlsGG0bq ncPPPALKfhrS9wadeEonjARsd8bePtAXI03QP/52skimVKxsrHncKfprp5zrplV8Gfac rgh3e4rxQwEhwNzykFVGM/bHg7mx3XhB5D0K5OrvhvbR6K58G9Ai8uDbYJ5kE/dATum7 7osMAioYPJMUihoeZOz5s3APC7TQb7FPY423YxvE3ld0vf90vPc0Vml1GZUb9UcJ67Kp jBWQ== 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=e6OfWPQNbno6lDt1VPnmTHdt1UNNA0UandVHQZ0Bn28=; b=YjhVN8IyIt7QUBDaSbAPMasWzDGKuIdt3h6FpkizbrN4in6W3V1Tv4tg9CIok+ZW1H TLxji3TMfd5YhyJ5zljcSl3iXCXiWZ1bvSpBvqS5FOb8dJaSOkcm8wcI8CAjpOef2DT7 dOGwWwf6q652rIFqB7bUFme68Juqnk7ujQ2SqiV1QFmtFdJwmsKwI1kOTaYpjL2aUMVo dKcEedKhrXEm3XZDiBJ9IM2nYW1VpZLgw/iHE/uBBBzF7tGtbX9R+kRfycctTsZbVhwZ 6rX2tBJqDjRidYcHZ9nvn1UM1BRUoJkbgtMfIYmDL4s/eGdu6KTe1hW4cx6xOjVYw5bn dpzw== X-Gm-Message-State: AMCzsaXgqiKrFdjlym5JK8gas7Gq5aoE65a4NfoHl3ZrM/QZc/Zwaegj P9PDhgYNJIzk49AdZzEXqVS6U8LgrokdkeOwUYQZsQ== X-Received: by 10.223.182.79 with SMTP id i15mr9412440wre.88.1509886475206; Sun, 05 Nov 2017 04:54:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.139.129 with HTTP; Sun, 5 Nov 2017 04:53:54 -0800 (PST) In-Reply-To: <20171104104010.GA27490@kroah.com> References: <20171019083832.GA21820@kroah.com> <20171103102830.GA18343@kroah.com> <20171103165301.GR7223@localhost> <20171104104010.GA27490@kroah.com> From: Philippe Ombredanne Date: Sun, 5 Nov 2017 13:53:54 +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 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. FWIW this is the same tool that has been used to provide some input to Greg to clean things up here. [1] https://github.com/nexB/scancode-toolkit -- Cordially Philippe Ombredanne From 1583131705794482816@xxx Sat Nov 04 10:40:47 +0000 2017 X-GM-THRID: 1583040392971287449 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread