Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3579120imj; Tue, 12 Feb 2019 00:48:47 -0800 (PST) X-Google-Smtp-Source: AHgI3IYxhMk0piSce7QFWUqWcth9ZuQMywVexS5DOdtYYldHcn9LWRXQco8CLwuHafBShGU5U0It X-Received: by 2002:a65:46c9:: with SMTP id n9mr2674339pgr.254.1549961327735; Tue, 12 Feb 2019 00:48:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549961327; cv=none; d=google.com; s=arc-20160816; b=Uhk2owomPnXovkmktt/XzofrYkf5qwQcEd6KmG4ClkuOTJf/hro8iT5fYa77P0Zr4e EPWNPEQ3M+kOmAD+9XJ1qNU8CbtJdenwoOraTGHkIcDMKv0VvNthQDp6pRdic45/Bc9n 1Tls6eTBOBRX2Q3Bygicb4tnHzOtxKnZ80qtpnM4VQ2dSigR/MP9Ld4KV2o+elmwQdpb KfTibLDO/5K68tEFxXk32Oyr0rNdCLDD5lGTtkEB0nKXs6V16a27HNao6VKTMNqHP5EY 7BDq/nG4jZV2Cg6k8m9emGTFn6q7xiWIvyH91/EvttVJxv47Lo6Za4jArD1aQo3qCdr/ wMtQ== 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 :in-reply-to:references:mime-version:dkim-signature; bh=wRjdTHx18o/cxI6eHe40jtMc+ZermkwQqWMgUbSpQcI=; b=RpPuxXb6CxICCaYMf3MB3+nKQO++6Lyfj9KNEw2imXlmdd+vE+YMwJWnfhsa+xHDIe nZ7biWO6TtsCdUlW2bw4D6jtTJknqwupxpXg/u7b65faeI8ZzkN3Z5U+N2bUZISoMaJr MEl1urCf3FZ/Yf/6BwqP0H/zPvcR/fRf1KzeM5U2IeSQ/b5b+LZRchUSRCRvt5WHX25r Bep4/9sV6rwht5UhQI+MbwrG+OJEkrgE5aAbLbeT2C9UPMGoKTrLtcjOk0bSquLj7un2 WOHcauWd9AijRVckLBVeSfS6WDkZyGP3fF6oImMY/hm3tR89nZIu2Ze50s8q8mP689It dCmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZGboSaB9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si13132507pla.334.2019.02.12.00.48.31; Tue, 12 Feb 2019 00:48:47 -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=@chromium.org header.s=google header.b=ZGboSaB9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728572AbfBLIrQ (ORCPT + 99 others); Tue, 12 Feb 2019 03:47:16 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39674 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728413AbfBLIrQ (ORCPT ); Tue, 12 Feb 2019 03:47:16 -0500 Received: by mail-ed1-f67.google.com with SMTP id b14so1458968edt.6 for ; Tue, 12 Feb 2019 00:47:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wRjdTHx18o/cxI6eHe40jtMc+ZermkwQqWMgUbSpQcI=; b=ZGboSaB9fI/g0V91CAgVyvyV5t6RxcvRtANBCD2erZ3asBaZ///kvwu4WIDyjPEyih ryMB1vHivvYBFSh9TSg58yk63VzY2fM4NLgeoVbJI2RuE7f3F2EUqbKO7juFdlQigv7q HdTqrLvP8vVql97ibM+mTnUGqe+jbCjdvaQAs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wRjdTHx18o/cxI6eHe40jtMc+ZermkwQqWMgUbSpQcI=; b=ZdCmCJyjS61NTXcZANFflMUCX/eCRYYxNEIGj1buCdrdjPOd95vEVoi+PmF07Tbm4d co0HIhmlYRSs70c9YHHD8Mb3R7dGpWdOdV2QCBOTinm7lOEfNz+rOVEX6E3d5ue4Y/iI 2ubncD4KRHNBP780aEVJYfwaAqmqXI7vqpEwKLtVbKyicxjoyCLJ9G6rShFdY306m0Sa 98+9gNBGUBkv+tUmfawJzIxDD3Y/OypMQiPIE/ppRHXXX5r4ygdxBwJrRUJXF7DSU249 Lu9qWZjRJaHEY47HgttAQDNpa8YuYojjHgKgQgXwbDPzSmroynmhisnUxaEz4rqnKcWL PA6Q== X-Gm-Message-State: AHQUAub2s8/z9i5iJvo01j7VHCzaQagYAhOiI5TQExJRwKFFRTUnbZmy KLrO8kJrAs1Ryz7Low6CrGV7B4RHnD+mNoLOEm5yIg== X-Received: by 2002:a17:906:f87:: with SMTP id q7mr1891715ejj.158.1549961234633; Tue, 12 Feb 2019 00:47:14 -0800 (PST) MIME-Version: 1.0 References: <20190131095625.261755-1-pihsun@chromium.org> <511a36863af02aec12fd77657b0ca199e023f319.camel@perches.com> In-Reply-To: <511a36863af02aec12fd77657b0ca199e023f319.camel@perches.com> From: Pi-Hsun Shih Date: Tue, 12 Feb 2019 16:47:03 +0800 Message-ID: Subject: Re: [PATCH] checkpatch: Properly detect /* */ style SPDX header. To: Joe Perches Cc: Andy Whitcroft , open list 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 Fri, Feb 1, 2019 at 12:54 AM Joe Perches wrote: > > On Thu, 2019-01-31 at 17:56 +0800, Pi-Hsun Shih wrote: > > Currently for a header line "/* SPDX-License-Identifier: GPL-2.0 */", > > only the part starting from "SPDX-" is passed to spdxcheck.py, and cause > > false warning. Fix this by passing the whole line to spdxcheck.py > > instead. > > Thanks but I submitted a different patch: > > https://lore.kernel.org/lkml/8b02899853247a2c67669561761f354dd3bd110e.camel@perches.com/ > I tried your patch, but when running checkpatch.pl on https://patchwork.kernel.org/patch/10790203/, I still get: WARNING: 'SPDX-License-Identifier: GPL-2.0 */' is not supported in LICENSES/... #75: FILE: drivers/remoteproc/mtk_common.h:1: +/* SPDX-License-Identifier: GPL-2.0 */ Feels that these two patches fix different issues.