Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3550579yba; Sat, 11 May 2019 13:29:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjj3OMfP8pB2wcvNmzNkBVBbAksPYGWTB7nKoGAgyqo5+z9vRfl9Gmvg7vSvpyele7oq/5 X-Received: by 2002:a63:de53:: with SMTP id y19mr18875096pgi.166.1557606574249; Sat, 11 May 2019 13:29:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si12498284pfc.55.2019.05.11.13.29.16; Sat, 11 May 2019 13:29:34 -0700 (PDT) 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=fail header.i=@narfation.org header.s=20121 header.b=osvXv0Im; arc=fail (signature failed); 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=fail (p=NONE sp=NONE dis=NONE) header.from=narfation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726422AbfEKU20 (ORCPT + 99 others); Sat, 11 May 2019 16:28:26 -0400 Received: from narfation.org ([79.140.41.39]:34156 "EHLO v3-1039.vlinux.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbfEKU20 (ORCPT ); Sat, 11 May 2019 16:28:26 -0400 Received: from sven-desktop.home.narfation.org (unknown [IPv6:2a00:1ca0:1480:f1fc::4065]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id C6A3C11012A; Sat, 11 May 2019 22:19:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1557605972; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:openpgp:autocrypt; bh=d8Jl+aESyorlbKSD9+hm1B07d7adsmKXPXVlOeQAHlY=; b=osvXv0Imcz74BTqOBSQl7mfqJYJ3w8l1hnVLAacXo6XN0O9LXshy/nysO+Ft50BJHjhhvy 0SS92rRPvNr8eXxJ1XOMVtCwmsOelc5zyRw7hzBt5og/rtiz2yz8mBg1SaCnhVocZq4ncN tsLEzzKqmeseO2m91nhrL5iMJZDVHYQ= From: Sven Eckelmann To: linux-kernel@vger.kernel.org Cc: Sven Eckelmann , Jonathan Corbet , Christoph Hellwig Subject: [PATCH 2/2] scripts/spdxcheck.py: Add dual license subdirectory Date: Sat, 11 May 2019 22:19:17 +0200 Message-Id: <20190511201917.20828-2-sven@narfation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190511201917.20828-1-sven@narfation.org> References: <20190511201917.20828-1-sven@narfation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1557605972; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:openpgp:autocrypt; bh=d8Jl+aESyorlbKSD9+hm1B07d7adsmKXPXVlOeQAHlY=; b=lDugwnakkrXMNpsOpm+UuTkBRTN+Fnf2hk6UVazoCwwFrjvZRa9PBrVqYcAl1aEE7Svmfc 2jR3VVnvmj48eIHjIe9QgRWBI43nZAYmhkLOHYP9LxBl2v83RlRnNcA0oo2uVNaGIQi95z kT7CKO8qPagtdQ1LwvKJbIVh5uNIY9Q= ARC-Seal: i=1; s=20121; d=narfation.org; t=1557605972; a=rsa-sha256; cv=none; b=iT19LE3/sKcpgocZeRtPf/fCNwofhwreIMeEuHgAmxSvmxQZzFfiZthumVs9Fh4+lN596H juwQX6J8R49iHztnhOVbAsQT9Xjh7rpTrxYb0P10d0LYaigSo4L8oZ3yTGseL6XMm66SzU lbO4Qr8M33kOWp6NDlOZaJGmK2tRuQo= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sven smtp.mailfrom=sven@narfation.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The licenses from the other directory were partially moved to the dual directory in commit 99871f2f9a4d ("scripts/spdxcheck.py: Fix path to deprecated licenses"). checkpatch therefore rejected files like drivers/staging/android/ashmem.h with WARNING: 'SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */' is not supported in LICENSES/... #1: FILE: drivers/staging/android/ashmem.h:1: +/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */ Cc: Jonathan Corbet Cc: Christoph Hellwig Fixes: 99871f2f9a4d ("scripts/spdxcheck.py: Fix path to deprecated licenses") Signed-off-by: Sven Eckelmann --- scripts/spdxcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py index 1a39b34588b7..33df646618e2 100755 --- a/scripts/spdxcheck.py +++ b/scripts/spdxcheck.py @@ -32,7 +32,7 @@ class SPDXdata(object): def read_spdxdata(repo): # The subdirectories of LICENSES in the kernel source - license_dirs = [ "preferred", "deprecated", "exceptions" ] + license_dirs = [ "preferred", "deprecated", "exceptions", "dual" ] lictree = repo.head.commit.tree['LICENSES'] spdx = SPDXdata() -- 2.20.1