Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2058587ybb; Sat, 21 Mar 2020 11:48:24 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtU+craFz+EkauA7exW2W7rNZaQaYkdgMEVQ6iZ2rMMPUG31QXaUR1UWSVNDa5ut6P0p1CH X-Received: by 2002:aca:dc8b:: with SMTP id t133mr11607445oig.98.1584816504087; Sat, 21 Mar 2020 11:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584816504; cv=none; d=google.com; s=arc-20160816; b=wa6boWAqVURfYPTpuQ+a3+kzs+GltDBDbOpSb+ChLc8ZqIGRoTpF0BrU/PowoWWq7j DAZjFN8ncT438Qa6fdBbNAsiJgcv2KQUgL+2jjv6etwgOra7cr9RAngq0Sc6axblYGZE 1sEUPTc9POswYfn+rr9EStt8fqb03xIQM2LLrxRw2ldDMoNO267P5OV52T1zzy5jgxTX 5tuSK6XYeTsfCW6OOZG/dsYzimZGMaBjUIk6vj12O6/U0txMi9xBuKmC1ez4b4/sQ14+ 453jmBEUplLaefKP0GhLSbanet0oGXkQGbSe15P7ASrzffZaCZSxOYPn5OMqpXI0cD4m 8s6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=AnR6hfXloIQv8auYA+GHfwp/m7H+vf5QROD5gpqvvmg=; b=aTvON/Sl7tr6Kb0pUnTxqfHjfoYVt6illMphgvDy6QMvk6NfR4erQAlYB5fO4F+292 xGs/vCz8YeI21zG6udHjfunVNmtUIb9ormA+C6l6rtpixlX32J8Fu9UFWDLv9Z1lZewf O2vd80fhvtBVqeGZZ5y8WsWKZDgVbdKKk7P1LSF+K3tJRBEZ4EITtV9XSVkPNEQ8z7if kIxMY7uKdX5e9PoHehNQ1QtHFc/x4CpdUzwD/w+4P/toUjtXgGT+u1whcK+CCvWUaFYM UhjpOPJbJmnCjEPMHJ7E3P/M7DbEin2x3+QZz1m8WXsaXgjev2xkBaK0hUlT90wQqaY/ n6oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@pensando.io header.s=google header.b=10EtXnXi; 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 c6si4993605otm.298.2020.03.21.11.48.10; Sat, 21 Mar 2020 11:48:24 -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=@pensando.io header.s=google header.b=10EtXnXi; 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 S1727653AbgCUSrg (ORCPT + 99 others); Sat, 21 Mar 2020 14:47:36 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:38131 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727262AbgCUSrf (ORCPT ); Sat, 21 Mar 2020 14:47:35 -0400 Received: by mail-pl1-f194.google.com with SMTP id w3so3977345plz.5 for ; Sat, 21 Mar 2020 11:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pensando.io; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=AnR6hfXloIQv8auYA+GHfwp/m7H+vf5QROD5gpqvvmg=; b=10EtXnXim5Hg4Cpui4GMpkO0QIfiWEDtP+YwkxpeF+mQBy8yZZ8KHf60FeUTd3kP4q 8FIVPRoaEf+I/FCmeBRJvcgxNMsttS1OXFLHq2D9SsOdmuZAHpzZPS4/RwiYRU6EudO/ NW9UrDy5GfDQo24rXziWK4S9VwzL+VmFFwAnxFxn/mStyBMamUc5hWvIQYXJMXCLoCzW 7rto2tts0ZQPJSO8fzCXrsCJOuBBeSL8eU9AMr9FJkbNXhzHvjQwXrvihdGmOoTjZoSy qxHKPmo7PhXOjQTt1O3NX5bRN2FrAZkQFlX0W/HEh+YwAsnNejyYchQKKlhPEPiO8iN5 I4AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=AnR6hfXloIQv8auYA+GHfwp/m7H+vf5QROD5gpqvvmg=; b=P3GPb6T9zpLu34WMVV738gU/9IW7eCNSNd5bCL/woUscmmCW7+2F4t12teeh+IRBRV 2wIBtKzeNkcNryk0tMsx74fK51plh0RpowuhjtBF189UGjPnqco5CxfnPEQWsCyXyMtr S8sxi2hlhkGo2v88BKxzYzvdrEjGP3tdW6+JjJhaYXt+/JVtfDoemWA/jbYvw9zUdVgH UtPQaADZYIWTiKYIjijG1xt1pkf9+WRfJoJ228JZEyp3JZebFlxlXmoWCnORYSIq++ME eCDm3QnYdOHRW0mYgVJVxRO+zhOya8MwEgXHvb/dF3JxxuH2QoZKmFruD8Q7yfrvC9Hf WhBA== X-Gm-Message-State: ANhLgQ1sBx5aMXki4z3NZBS248YHtoUwmYhNoY4UllfveIRU5nySTgEi WnpNjBcoljfmSzpr0p5Z6Tu6FaZ92/w= X-Received: by 2002:a17:902:34f:: with SMTP id 73mr13708424pld.50.1584816453585; Sat, 21 Mar 2020 11:47:33 -0700 (PDT) Received: from Shannons-MacBook-Pro.local (static-50-53-47-17.bvtn.or.frontiernet.net. [50.53.47.17]) by smtp.gmail.com with ESMTPSA id f15sm6924004pfq.100.2020.03.21.11.47.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Mar 2020 11:47:33 -0700 (PDT) Subject: Re: [PATCH] ionic: make spdxcheck.py happy To: Lukas Bulwahn , netdev@vger.kernel.org Cc: linux-spdx@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200321120514.10464-1-lukas.bulwahn@gmail.com> From: Shannon Nelson Message-ID: <0c80a012-738e-dddc-4287-35a6a90fda86@pensando.io> Date: Sat, 21 Mar 2020 11:47:31 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200321120514.10464-1-lukas.bulwahn@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/21/20 5:05 AM, Lukas Bulwahn wrote: > Headers ionic_if.h and ionic_regs.h are licensed under three alternative > licenses and the used SPDX-License-Identifier expression makes > ./scripts/spdxcheck.py complain: > > 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 > > As OR is associative, it is irrelevant if the parentheses are put around > the first or the second OR-expression. > > Simply add parentheses to make spdxcheck.py happy. > > Signed-off-by: Lukas Bulwahn Acked-by: Shannon Nelson > --- > drivers/net/ethernet/pensando/ionic/ionic_if.h | 2 +- > drivers/net/ethernet/pensando/ionic/ionic_regs.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ethernet/pensando/ionic/ionic_if.h b/drivers/net/ethernet/pensando/ionic/ionic_if.h > index 54547d53b0f2..51adf5059834 100644 > --- a/drivers/net/ethernet/pensando/ionic/ionic_if.h > +++ b/drivers/net/ethernet/pensando/ionic/ionic_if.h > @@ -1,4 +1,4 @@ > -/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB OR BSD-2-Clause */ > +/* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) OR BSD-2-Clause */ > /* Copyright (c) 2017-2019 Pensando Systems, Inc. All rights reserved. */ > > #ifndef _IONIC_IF_H_ > diff --git a/drivers/net/ethernet/pensando/ionic/ionic_regs.h b/drivers/net/ethernet/pensando/ionic/ionic_regs.h > index 03ee5a36472b..2e174f45c030 100644 > --- a/drivers/net/ethernet/pensando/ionic/ionic_regs.h > +++ b/drivers/net/ethernet/pensando/ionic/ionic_regs.h > @@ -1,4 +1,4 @@ > -/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB OR BSD-2-Clause */ > +/* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) OR BSD-2-Clause */ > /* Copyright (c) 2018-2019 Pensando Systems, Inc. All rights reserved. */ > > #ifndef IONIC_REGS_H