tty: add SPDX identifiers to Kconfig and Makefiles
Subsystems (5)
Greg Kroah-Hartman
maintainerPATCH 1/2 tty: add SPDX identifiers to Kconfig and Makefiles
There were a few Kconfig and Makefiles under drivers/tty/ that were missing a SPDX identifier. Fix that up so that automated tools can properly classify all kernel source files.
--- drivers/tty/Kconfig | 1 + drivers/tty/hvc/Kconfig | 1 + drivers/tty/ipwireless/Makefile | 1 + drivers/tty/serdev/Kconfig | 1 + drivers/tty/serdev/Makefile | 1 + drivers/tty/serial/8250/Kconfig | 1 + drivers/tty/serial/Kconfig | 1 + drivers/tty/serial/cpm_uart/Makefile | 1 + drivers/tty/serial/jsm/Makefile | 1 + 9 files changed, 9 insertions(+)
drivers/tty/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config TTY bool "Enable TTY" if EXPERT default y
drivers/tty/hvc/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 if TTY config HVC_DRIVER
drivers/tty/ipwireless/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the IPWireless driver #
drivers/tty/serdev/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Serial bus device driver configuration #
drivers/tty/serdev/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 serdev-objs := core.o obj-$(CONFIG_SERIAL_DEV_BUS) += serdev.o
drivers/tty/serial/8250/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # The 8250/16550 serial drivers. You shouldn't be in this list unless # you somehow have an implicit or explicit dependency on SERIAL_8250.
drivers/tty/serial/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Serial device configuration #
drivers/tty/serial/cpm_uart/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the Motorola 8xx FEC ethernet controller #
drivers/tty/serial/jsm/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Jasmine adapter #
Signature · 1 line
2.21.0
Greg Kroah-Hartman
maintainerPATCH 2/2 tty: fix up a few remaining files without SPDX identifiers
There were a few straggling files under drivers/tty/ that did not have any SPDX identifier either because they entered the tree recently, or they somehow missed the mass-tagging of commit b24413180f56 ("License
cleanup: add SPDX GPL-2.0 license identifier to files with no license")
This commit follows the same rule as b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") where files without any specified license in them fall under GPL-2.0 as the correct license for the individual file. Add that identifier to these remaining files so that we don't have to guess at the license of them in the future.
--- drivers/tty/serial/8250/8250_men_mcb.c | 1 + drivers/tty/serial/sn_console.c | 1 + drivers/tty/vcc.c | 1 + drivers/tty/vt/.gitignore | 1 + drivers/tty/vt/cp437.uni | 1 + drivers/tty/vt/defkeymap.c_shipped | 1 + drivers/tty/vt/defkeymap.map | 1 + 7 files changed, 7 insertions(+)
drivers/tty/serial/8250/8250_men_mcb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/device.h> #include <linux/kernel.h> #include <linux/module.h>
drivers/tty/serial/sn_console.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * C-Brick Serial Port (and console) driver for SGI Altix machines. *
drivers/tty/vcc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* vcc.c: sun4v virtual channel concentrator * * Copyright (C) 2017 Oracle. All rights reserved.
drivers/tty/vt/.gitignore +1 -0
@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 consolemap_deftbl.c defkeymap.c
drivers/tty/vt/cp437.uni +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Unicode table for IBM Codepage 437. Note that there are many more # substitutions that could be conceived (for example, thick-line
drivers/tty/vt/defkeymap.c_shipped +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* Do not edit this file! It was automatically generated by */ /* loadkeys --mktable defkeymap.map > defkeymap.c */
drivers/tty/vt/defkeymap.map +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # Default kernel keymap. This uses 7 modifier combinations. keymaps 0-2,4-5,8,12 # Change the above line into
Signature · 1 line
2.21.0
Re: [PATCH 2/2] tty: fix up a few remaining files without SPDX identifiers
drivers/tty/vt/.gitignore
Quoted 56 lines · Greg Kroah-Hartman
There were a few straggling files under
drivers/tty/that did not have any SPDX identifier either because they entered the tree recently, or they somehow missed the mass-tagging of commitb24413180f56("License
cleanup: add SPDX GPL-2.0 license identifier to files with no license")This commit follows the same rule as
b24413180f56("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") where files without any specified license in them fall under GPL-2.0 as the correct license for the individual file. Add that identifier to these remaining files so that we don't have to guess at the license of them in the future.Cc Jiri Slaby <[email protected]>Cc "David S. Miller" <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- drivers/tty/serial/8250/8250_men_mcb.c | 1 + drivers/tty/serial/sn_console.c | 1 + drivers/tty/vcc.c | 1 + drivers/tty/vt/.gitignore | 1 + drivers/tty/vt/cp437.uni | 1 + drivers/tty/vt/defkeymap.c_shipped | 1 + drivers/tty/vt/defkeymap.map | 1 + 7 files changed, 7 insertions(+)drivers/tty/serial/8250/8250_men_mcb.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/device.h> #include <linux/kernel.h> #include <linux/module.h> drivers/tty/serial/sn_console.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * C-Brick Serial Port (and console) driver for SGI Altix machines. * drivers/tty/vcc.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* vcc.c: sun4v virtual channel concentrator * * Copyright (C) 2017 Oracle. All rights reserved. drivers/tty/vt/.gitignore +0
-0
.gitignore ?
Cheers,
-Mukesh
Quoted 31 lines
drivers/tty/vt/.gitignore +1
-0@@ -1,2 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 consolemap_deftbl.c defkeymap.cdrivers/tty/vt/cp437.uni +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Unicode table for IBM Codepage 437. Note that there are many more # substitutions that could be conceived (for example, thick-linedrivers/tty/vt/defkeymap.c_shipped +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* Do not edit this file! It was automatically generated by */ /* loadkeys --mktable defkeymap.map > defkeymap.c */drivers/tty/vt/defkeymap.map +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # Default kernel keymap. This uses 7 modifier combinations. keymaps 0-2,4-5,8,12 # Change the above line into
Greg Kroah-Hartman
maintainerRe: [PATCH 2/2] tty: fix up a few remaining files without SPDX identifiers
Quoted 52 lines · Mukesh Ojha
Quoted 50 lines · Greg Kroah-Hartman
There were a few straggling files under
drivers/tty/that did not have any SPDX identifier either because they entered the tree recently, or they somehow missed the mass-tagging of commitb24413180f56("License
cleanup: add SPDX GPL-2.0 license identifier to files with no license")This commit follows the same rule as
b24413180f56("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") where files without any specified license in them fall under GPL-2.0 as the correct license for the individual file. Add that identifier to these remaining files so that we don't have to guess at the license of them in the future.Cc Jiri Slaby <[email protected]>Cc "David S. Miller" <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- drivers/tty/serial/8250/8250_men_mcb.c | 1 + drivers/tty/serial/sn_console.c | 1 + drivers/tty/vcc.c | 1 + drivers/tty/vt/.gitignore | 1 + drivers/tty/vt/cp437.uni | 1 + drivers/tty/vt/defkeymap.c_shipped | 1 + drivers/tty/vt/defkeymap.map | 1 + 7 files changed, 7 insertions(+)drivers/tty/serial/8250/8250_men_mcb.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/device.h> #include <linux/kernel.h> #include <linux/module.h> drivers/tty/serial/sn_console.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * C-Brick Serial Port (and console) driver for SGI Altix machines. * drivers/tty/vcc.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* vcc.c: sun4v virtual channel concentrator
Quoted 8 lines
drivers/tty/vt/.gitignore
Quoted 6 lines
drivers/tty/vcc.c +0
-0* * Copyright (C) 2017 Oracle. All rights reserved. drivers/tty/vt/.gitignore +0
-0.gitignore ?
Yes, all files need them :)
Quoted 1 line
Reviewed-by Mukesh Ojha <[email protected]>
Thanks for the review.
greg k-h
Quoted 10 lines · Greg Kroah-Hartman
There were a few
Kconfigand Makefiles underdrivers/tty/that were missing a SPDX identifier. Fix that up so that automated tools can properly classify all kernel source files.Cc Jiri Slaby <[email protected]>Cc Jiri Kosina <[email protected]>Cc David Sterba <[email protected]>Cc Rob Herring <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
For
Quoted 1 line
drivers/tty/ipwireless/Makefile | 1 +
Quoted 9 lines · Greg Kroah-Hartman
There were a few
Kconfigand Makefiles underdrivers/tty/that were missing a SPDX identifier. Fix that up so that automated tools can properly classify all kernel source files.Cc Jiri Slaby <[email protected]>Cc Jiri Kosina <[email protected]>Cc David Sterba <[email protected]>Cc Rob Herring <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Cheers,
-Mukesh
Quoted 93 lines
--- drivers/tty/Kconfig | 1 + drivers/tty/hvc/Kconfig | 1 + drivers/tty/ipwireless/Makefile | 1 + drivers/tty/serdev/Kconfig | 1 + drivers/tty/serdev/Makefile | 1 + drivers/tty/serial/8250/Kconfig | 1 + drivers/tty/serial/Kconfig | 1 + drivers/tty/serial/cpm_uart/Makefile | 1 + drivers/tty/serial/jsm/Makefile | 1 + 9 files changed, 9 insertions(+)drivers/tty/Kconfig +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config TTY bool "Enable TTY" if EXPERT default ydrivers/tty/hvc/Kconfig +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 if TTY config HVC_DRIVERdrivers/tty/ipwireless/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the IPWireless driver #drivers/tty/serdev/Kconfig +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Serial bus device driver configuration #drivers/tty/serdev/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 serdev-objs := core.o obj-$(CONFIG_SERIAL_DEV_BUS) += serdev.odrivers/tty/serial/8250/Kconfig +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # The 8250/16550 serial drivers. You shouldn't be in this list unless # you somehow have an implicit or explicit dependency on SERIAL_8250.drivers/tty/serial/Kconfig +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Serial device configuration #drivers/tty/serial/cpm_uart/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for the Motorola 8xx FEC ethernet controller #drivers/tty/serial/jsm/Makefile +1
-0@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Makefile for Jasmine adapter #