Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4485632ybx; Mon, 4 Nov 2019 14:12:53 -0800 (PST) X-Google-Smtp-Source: APXvYqy6cUFMd1tG4856GUDHFwX+nGP/awPSNcoCgwH4Z/KETKLVomjjnLqcBQIw+KSMGNROLW7z X-Received: by 2002:a17:906:505:: with SMTP id j5mr91168eja.167.1572905572901; Mon, 04 Nov 2019 14:12:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905572; cv=none; d=google.com; s=arc-20160816; b=VCjNMMDn6UiIS9LmnG9LdfOQqPeQ5Abg7ueo8Of1Eiva1Jo+z6A5a/ztLmNP2UqcxZ mrC+wVe95ZRreOK63X6Am7YADBe/m/8qd3IJQX/+pN6ceLlYFNhYWcUHjVzsbARu7tC3 5bIeeZv76SSU5qPBiGu4sIRJUy8ORaEyCHDGJsBD1NGoRPhu1vq2FL5RZAXIe4P6lQqa sCMqHrtw1Z/u/WawVRAI/7l0y6EBUM86u2QwL5gj57LUf0MlCX6A8csoyTB2tMEWkVso ut3yfooXdRt+8QT/i1MsrUAUPBk+ZCg4+cO6juVramBg8jnd1qu570MRqXXwUPlhXbPb NdUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=and5vEp50mqME4u7kO9CxjYkgX6lsp5lHPvyZTb+lyo=; b=CPRaRh49MkSBihNkKVlj2GPzYudbv6+OVfOmgCtNLMUi+DBoduWd2Q5pEOB+kf0E0V zralNrS8/hmDtZQQXEjMyE3rB8aJP1kjgRqOMe8zVjWZJj6HAB7lkoNb+SUfcFxE3EDV THiY4N44O7b7wS0pPfJ3yepMTYul7mv14SNaskNcXjmSpIpIYD6jGUZsOKc3/6v9Q6WW 27/4ko5635xOaeK2EVze9NPqjApFfIRikjxQTRKJCbieuOt7qo0bgM8YRUGVUwbufi+P QB5gwsj5ErBRUNpHSmlbhgdyfiBxzyS75ECAAgtc17ft3On2bzOAobV+80IKFN6ODTAX dZww== ARC-Authentication-Results: i=1; mx.google.com; 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 pw7si12326977ejb.157.2019.11.04.14.12.30; Mon, 04 Nov 2019 14:12:52 -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; 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 S2390727AbfKDWL7 (ORCPT + 99 others); Mon, 4 Nov 2019 17:11:59 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:39022 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390371AbfKDWL6 (ORCPT ); Mon, 4 Nov 2019 17:11:58 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iRkZm-0007xK-RG; Mon, 04 Nov 2019 23:11:55 +0100 Date: Mon, 4 Nov 2019 23:11:53 +0100 (CET) From: Thomas Gleixner To: Masahiro Yamada cc: Greg Kroah-Hartman , linux-spdx@vger.kernel.org, Linux Kernel Mailing List Subject: Re: spdxcheck.py complains about the second OR? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Nov 2019, Masahiro Yamada wrote: > scripts/spdxcheck.py warns the following two files. > > $ ./scripts/spdxcheck.py > drivers/net/ethernet/pensando/ionic/ionic_if.h: 1:52 Syntax error: OR > drivers/net/ethernet/pensando/ionic/ionic_regs.h: 1:52 Syntax error: OR > > I do not understand what is wrong with them. > > I think "A OR B OR C" is sane. Yes it is, but obviously we did not expect files with 3 possible alternative licenses. Thanks, tglx