Skip to content

Commit 77564a4

Browse files
committed
genksyms: convert to SPDX License Identifier for lex.l and parse.y
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 <yamada.masahiro@socionext.com>
1 parent a3d0cb0 commit 77564a4

2 files changed

Lines changed: 20 additions & 44 deletions

File tree

‎scripts/genksyms/lex.l‎

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
1-
/* Lexical analysis for genksyms.
2-
Copyright 1996, 1997 Linux International.
3-
4-
New implementation contributed by Richard Henderson <rth@tamu.edu>
5-
Based on original work by Bjorn Ekwall <bj0rn@blox.se>
6-
7-
Taken from Linux modutils 2.4.22.
8-
9-
This program is free software; you can redistribute it and/or modify it
10-
under the terms of the GNU General Public License as published by the
11-
Free Software Foundation; either version 2 of the License, or (at your
12-
option) any later version.
13-
14-
This program is distributed in the hope that it will be useful, but
15-
WITHOUT ANY WARRANTY; without even the implied warranty of
16-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17-
General Public License for more details.
18-
19-
You should have received a copy of the GNU General Public License
20-
along with this program; if not, write to the Free Software Foundation,
21-
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22-
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
2+
/*
3+
* Lexical analysis for genksyms.
4+
* Copyright 1996, 1997 Linux International.
5+
*
6+
* New implementation contributed by Richard Henderson <rth@tamu.edu>
7+
* Based on original work by Bjorn Ekwall <bj0rn@blox.se>
8+
*
9+
* Taken from Linux modutils 2.4.22.
10+
*/
2311

2412
%{
2513

‎scripts/genksyms/parse.y‎

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
1-
/* C global declaration parser for genksyms.
2-
Copyright 1996, 1997 Linux International.
3-
4-
New implementation contributed by Richard Henderson <rth@tamu.edu>
5-
Based on original work by Bjorn Ekwall <bj0rn@blox.se>
6-
7-
This file is part of the Linux modutils.
8-
9-
This program is free software; you can redistribute it and/or modify it
10-
under the terms of the GNU General Public License as published by the
11-
Free Software Foundation; either version 2 of the License, or (at your
12-
option) any later version.
13-
14-
This program is distributed in the hope that it will be useful, but
15-
WITHOUT ANY WARRANTY; without even the implied warranty of
16-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17-
General Public License for more details.
18-
19-
You should have received a copy of the GNU General Public License
20-
along with this program; if not, write to the Free Software Foundation,
21-
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22-
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
2+
/*
3+
* C global declaration parser for genksyms.
4+
* Copyright 1996, 1997 Linux International.
5+
*
6+
* New implementation contributed by Richard Henderson <rth@tamu.edu>
7+
* Based on original work by Bjorn Ekwall <bj0rn@blox.se>
8+
*
9+
* This file is part of the Linux modutils.
10+
*/
2311

2412
%{
2513

0 commit comments

Comments
 (0)