From patchwork Thu Sep 12 11:45:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 173698 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp2009411ilq; Thu, 12 Sep 2019 04:45:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxz85uWVdPqKi0B9DZ2GiDfKQ22ErDWj4R0ZJiCvxv/uAjBtVtFG0q9TUoLHBTRzvw1pXqM X-Received: by 2002:a05:6402:144f:: with SMTP id d15mr14417658edx.189.1568288721004; Thu, 12 Sep 2019 04:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568288720; cv=none; d=google.com; s=arc-20160816; b=Lywf/uI0uhpBdx0vQVnV3a6XgjJ+UJ7fVGO/Hk6m/6edlFZC8nXyfvDKjHPW6CUkvj e2HHeOvIkMQ8fGLzZu/9kSf7VOHWaVzP/AuP9EgNdD0+G1RLOa4zVSlp9UwcHkyo1Xp1 2VM2o0sHC8P2SPz5UOrDRXGMp/0Kzu2HBjg8L/F1Ve/Hz9zCwwCbt5b0pp/Ep5EsxyV5 tGUbH2dA8/3jW8dnkmDn94RI7uAOGapvq4TyoXEZPaKHZqcQfHEgZl7M+3nBa4YrH4Sh HzcyHRzkZgIMe4Z8PHEjCpngGS4bmtHN+wFuQ91BdZZ76ZNAq3jGjgOxXycZfIJ7z4j5 vYcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=2M0up4LIeskg9YqU1k+TvAhbbcDxiQlSbhzZNes/4oA=; b=vSbj/n7PI3phU6Pe6P+FSHbi3A1zGdcb2LAKbceSIFgG9sKox7jkmbt4j6QF2yYCpc 9DGAzLHD3jRlFg3Fb9rRi30LIq8BQi8Fk/BEOW8KS131IdKTn3WTQ9uodfNWpBMgC7rx gnSDFeZ2d3mF37NiuYQXKE78xeuUZe89Q5eKCBjmsUF+d+oycUbVsCIEWrp2+PsbxeFV wDXkymvOniN9guxBAlkk+IVY2rh2u7DiZu7TRan37dBqAPY7lNg7CXHn0pVm3k4kSpjA RlHKb9PtR5LCXc/V9Zgf1/rF2zAA3qWyltfyTMduPwto/Z7C1Nk2jnSN8NJMmSFJ2eHc SZbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=G+6MmYEk; 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 fj16si13458166ejb.385.2019.09.12.04.45.20; Thu, 12 Sep 2019 04:45:20 -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=pass header.i=@nifty.com header.s=dec2015msa header.b=G+6MmYEk; 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 S1731447AbfILLpR (ORCPT + 27 others); Thu, 12 Sep 2019 07:45:17 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:18674 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730454AbfILLpQ (ORCPT ); Thu, 12 Sep 2019 07:45:16 -0400 Received: from grover.flets-west.jp (softbank126125143222.bbtec.net [126.125.143.222]) (authenticated) by conuserg-09.nifty.com with ESMTP id x8CBjAt4004032; Thu, 12 Sep 2019 20:45:10 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x8CBjAt4004032 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1568288711; bh=2M0up4LIeskg9YqU1k+TvAhbbcDxiQlSbhzZNes/4oA=; h=From:To:Cc:Subject:Date:From; b=G+6MmYEkGnAIxvxzMl5N3hOvusWHTCef8jFSmQSmT5nPjHMq7t8OTfLdnl3KNRTi+ MS5iPWLogF8BepwTGo59Ol8rRpFchlTGMZz5oJm0VyQ2Yyv/In2wW5NY3auk15MJ3h J8KdqzdQGQGWDUAWQ7LPPSPzGe1m5zz/RDAWwSLMs6495DZRh8ftHHINvvV0Tzp4Yx 3N69zDr9L0fIhkcb190LrO8CYGaWGr2RdE/sktKXda7ecqNtahLsx8Z0IKugP6cXJ6 Qm+1JMwDHOW7o5hidnOkCRj+I2qa4hFo05ibzA5tthjZVh4X8qAdtL4tdyFyk3KMX0 vSww5DHwspy5A== X-Nifty-SrcIP: [126.125.143.222] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] genksyms: convert to SPDX License Identifier for lex.l and parse.y Date: Thu, 12 Sep 2019 20:45:07 +0900 Message-Id: <20190912114507.6699-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I used the C comment style (/* ... */) for the flex and bison files as in Kconfig (scripts/kconfig/{lexer.l,parser.y}) Signed-off-by: Masahiro Yamada --- scripts/genksyms/lex.l | 32 ++++++++++---------------------- scripts/genksyms/parse.y | 32 ++++++++++---------------------- 2 files changed, 20 insertions(+), 44 deletions(-) -- 2.17.1 diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l index d29c774f51b6..e265c5d96861 100644 --- a/scripts/genksyms/lex.l +++ b/scripts/genksyms/lex.l @@ -1,25 +1,13 @@ -/* Lexical analysis for genksyms. - Copyright 1996, 1997 Linux International. - - New implementation contributed by Richard Henderson - Based on original work by Bjorn Ekwall - - Taken from Linux modutils 2.4.22. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Lexical analysis for genksyms. + * Copyright 1996, 1997 Linux International. + * + * New implementation contributed by Richard Henderson + * Based on original work by Bjorn Ekwall + * + * Taken from Linux modutils 2.4.22. + */ %{ diff --git a/scripts/genksyms/parse.y b/scripts/genksyms/parse.y index 1ebcf52cd0f9..e22b42245bcc 100644 --- a/scripts/genksyms/parse.y +++ b/scripts/genksyms/parse.y @@ -1,25 +1,13 @@ -/* C global declaration parser for genksyms. - Copyright 1996, 1997 Linux International. - - New implementation contributed by Richard Henderson - Based on original work by Bjorn Ekwall - - This file is part of the Linux modutils. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * C global declaration parser for genksyms. + * Copyright 1996, 1997 Linux International. + * + * New implementation contributed by Richard Henderson + * Based on original work by Bjorn Ekwall + * + * This file is part of the Linux modutils. + */ %{