summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-06-01 04:08:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-05 11:37:17 -0400
commitb886d83c5b621abc84ff9616f14c529be3f6b147 (patch)
treed72d842c2e2cac3946edb67f8fec54d943368bfd
parent3287e96af0d8b964639f15a6bd1724179db5c2c2 (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441
Based on 1 normalized pattern(s): 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 version 2 of the license extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 315 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190115.503150771@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/arm/mach-w90x900/clksel.c5
-rw-r--r--arch/arm/mach-w90x900/cpu.c6
-rw-r--r--arch/arm/mach-w90x900/dev.c6
-rw-r--r--arch/arm/mach-w90x900/include/mach/irqs.h6
-rw-r--r--arch/arm/mach-w90x900/include/mach/map.h6
-rw-r--r--arch/arm/mach-w90x900/include/mach/mfp.h6
-rw-r--r--arch/arm/mach-w90x900/include/mach/regs-clock.h6
-rw-r--r--arch/arm/mach-w90x900/irq.c6
-rw-r--r--arch/arm/mach-w90x900/mach-nuc910evb.c6
-rw-r--r--arch/arm/mach-w90x900/mach-nuc950evb.c5
-rw-r--r--arch/arm/mach-w90x900/mach-nuc960evb.c6
-rw-r--r--arch/arm/mach-w90x900/mfp.c5
-rw-r--r--arch/arm/mach-w90x900/nuc910.c6
-rw-r--r--arch/arm/mach-w90x900/nuc950.c6
-rw-r--r--arch/arm/mach-w90x900/nuc960.c6
-rw-r--r--arch/arm/mach-w90x900/regs-ebi.h6
-rw-r--r--arch/arm/mach-w90x900/regs-usb.h6
-rw-r--r--arch/arm/mm/dump.c6
-rw-r--r--arch/arm/net/bpf_jit_32.c5
-rw-r--r--arch/arm/net/bpf_jit_32.h5
-rw-r--r--arch/arm64/mm/dump.c6
-rw-r--r--arch/mips/net/bpf_jit.h5
-rw-r--r--arch/mips/net/ebpf_jit.c5
-rw-r--r--arch/powerpc/boot/bamboo.c5
-rw-r--r--arch/powerpc/boot/cuboot-rainier.c5
-rw-r--r--arch/powerpc/boot/cuboot-sequoia.c5
-rw-r--r--arch/powerpc/boot/treeboot-bamboo.c5
-rw-r--r--arch/powerpc/include/asm/mpic_msgr.h7
-rw-r--r--arch/powerpc/include/asm/msi_bitmap.h7
-rw-r--r--arch/powerpc/mm/ptdump/hashpagetable.c6
-rw-r--r--arch/powerpc/mm/ptdump/ptdump.c6
-rw-r--r--arch/powerpc/net/bpf_jit.h6
-rw-r--r--arch/powerpc/net/bpf_jit32.h6
-rw-r--r--arch/powerpc/net/bpf_jit64.h6
-rw-r--r--arch/powerpc/net/bpf_jit_asm.S6
-rw-r--r--arch/powerpc/net/bpf_jit_comp.c6
-rw-r--r--arch/powerpc/net/bpf_jit_comp64.c6
-rw-r--r--arch/powerpc/platforms/40x/ppc40x_simple.c5
-rw-r--r--arch/powerpc/platforms/44x/ppc44x_simple.c5
-rw-r--r--arch/powerpc/platforms/pasemi/msi.c7
-rw-r--r--arch/powerpc/platforms/pseries/msi.c7
-rw-r--r--arch/powerpc/purgatory/trampoline.S5
-rw-r--r--arch/powerpc/sysdev/fsl_mpic_err.c7
-rw-r--r--arch/powerpc/sysdev/fsl_msi.c7
-rw-r--r--arch/powerpc/sysdev/fsl_msi.h7
-rw-r--r--arch/powerpc/sysdev/mpic.h7
-rw-r--r--arch/powerpc/sysdev/mpic_msgr.c7
-rw-r--r--arch/powerpc/sysdev/mpic_msi.c7
-rw-r--r--arch/powerpc/sysdev/mpic_u3msi.c7
-rw-r--r--arch/powerpc/sysdev/msi_bitmap.c7
-rw-r--r--arch/x86/include/asm/apb_timer.h6
-rw-r--r--arch/x86/include/asm/imr.h6
-rw-r--r--arch/x86/include/asm/intel-mid.h6
-rw-r--r--arch/x86/include/asm/platform_sst_audio.h6
-rw-r--r--arch/x86/include/asm/smap.h6
-rw-r--r--arch/x86/include/asm/xor_avx.h6
-rw-r--r--arch/x86/kernel/apb_timer.c6
-rw-r--r--arch/x86/kernel/cpu/mce/severity.c6
-rw-r--r--arch/x86/kernel/cpu/mshyperv.c6
-rw-r--r--arch/x86/kernel/itmt.c6
-rw-r--r--arch/x86/lib/cmpxchg16b_emu.S8
-rw-r--r--arch/x86/lib/cmpxchg8b_emu.S8
-rw-r--r--arch/x86/mm/dump_pagetables.c6
-rw-r--r--arch/x86/net/bpf_jit_comp.c6
-rw-r--r--arch/x86/platform/ce4100/ce4100.c6
-rw-r--r--arch/x86/platform/ce4100/falconfalls.dts5
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_bcm43xx.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_bma023.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_bt.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_emc1403.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_lis331.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_max7315.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_mpu3050.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_mrfld_pinctrl.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_mrfld_power_btn.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_mrfld_rtc.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_mrfld_sd.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_mrfld_spidev.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_msic.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_msic.h6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_msic_audio.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_msic_battery.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_msic_gpio.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_msic_ocd.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_msic_power_btn.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_msic_thermal.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_pcal9555a.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_tc35876x.c6
-rw-r--r--arch/x86/platform/intel-mid/device_libs/platform_tca6416.c6
-rw-r--r--arch/x86/platform/intel-mid/intel-mid.c6
-rw-r--r--arch/x86/platform/intel-mid/intel_mid_vrtc.c6
-rw-r--r--arch/x86/platform/intel-mid/sfi.c6
-rw-r--r--drivers/acpi/cppc_acpi.c6
-rw-r--r--drivers/char/tpm/tpm-chip.c7
-rw-r--r--drivers/char/tpm/tpm-dev-common.c7
-rw-r--r--drivers/char/tpm/tpm-dev.c7
-rw-r--r--drivers/char/tpm/tpm-interface.c7
-rw-r--r--drivers/char/tpm/tpm-sysfs.c7
-rw-r--r--drivers/char/tpm/tpm.h7
-rw-r--r--drivers/char/tpm/tpm2-cmd.c6
-rw-r--r--drivers/char/tpm/tpm2-space.c6
-rw-r--r--drivers/char/tpm/tpm_atmel.c7
-rw-r--r--drivers/char/tpm/tpm_atmel.h7
-rw-r--r--drivers/char/tpm/tpm_crb.c6
-rw-r--r--drivers/char/tpm/tpm_i2c_infineon.c8
-rw-r--r--drivers/char/tpm/tpm_ibmvtpm.c7
-rw-r--r--drivers/char/tpm/tpm_ibmvtpm.h7
-rw-r--r--drivers/char/tpm/tpm_infineon.c6
-rw-r--r--drivers/char/tpm/tpm_nsc.c7
-rw-r--r--drivers/char/tpm/tpm_ppi.c6
-rw-r--r--drivers/char/tpm/tpm_tis.c6
-rw-r--r--drivers/char/tpm/tpm_tis_core.c6
-rw-r--r--drivers/char/tpm/tpm_tis_core.h6
-rw-r--r--drivers/char/tpm/tpm_tis_spi.c6
-rw-r--r--drivers/char/tpm/tpm_vtpm_proxy.c7
-rw-r--r--drivers/clk/pxa/clk-pxa.c6
-rw-r--r--drivers/clk/pxa/clk-pxa.h6
-rw-r--r--drivers/clk/pxa/clk-pxa25x.c5
-rw-r--r--drivers/clk/pxa/clk-pxa27x.c6
-rw-r--r--drivers/clk/pxa/clk-pxa3xx.c5
-rw-r--r--drivers/cpufreq/cppc_cpufreq.c6
-rw-r--r--drivers/cpufreq/intel_pstate.c6
-rw-r--r--drivers/crypto/amcc/crypto4xx_trng.c5
-rw-r--r--drivers/edac/ppc4xx_edac.c7
-rw-r--r--drivers/edac/ppc4xx_edac.h7
-rw-r--r--drivers/fpga/ice40-spi.c5
-rw-r--r--drivers/gpio/gpio-max732x.c5
-rw-r--r--drivers/gpio/gpio-menz127.c5
-rw-r--r--drivers/gpio/gpio-pca953x.c5
-rw-r--r--drivers/hid/hid-logitech-hidpp.c6
-rw-r--r--drivers/hwmon/hwmon.c5
-rw-r--r--drivers/hwmon/ina209.c5
-rw-r--r--drivers/hwmon/ina2xx.c5
-rw-r--r--drivers/hwmon/ltc4215.c5
-rw-r--r--drivers/hwmon/ltc4245.c5
-rw-r--r--drivers/hwmon/max16065.c5
-rw-r--r--drivers/hwmon/smm665.c5
-rw-r--r--drivers/i2c/i2c-slave-eeprom.c5
-rw-r--r--drivers/i2c/muxes/i2c-demux-pinctrl.c5
-rw-r--r--drivers/iio/adc/men_z188_adc.c5
-rw-r--r--drivers/input/keyboard/w90p910_keypad.c6
-rw-r--r--drivers/input/misc/soc_button_array.c6
-rw-r--r--drivers/input/touchscreen/goodix.c6
-rw-r--r--drivers/input/touchscreen/surface3_spi.c6
-rw-r--r--drivers/input/touchscreen/w90p910_ts.c6
-rw-r--r--drivers/ipack/carriers/tpci200.c5
-rw-r--r--drivers/ipack/carriers/tpci200.h5
-rw-r--r--drivers/ipack/devices/ipoctal.c5
-rw-r--r--drivers/ipack/devices/ipoctal.h5
-rw-r--r--drivers/ipack/devices/scc2698.h5
-rw-r--r--drivers/ipack/ipack.c5
-rw-r--r--drivers/leds/leds-pca9532.c6
-rw-r--r--drivers/leds/leds-tlc591xx.c5
-rw-r--r--drivers/mcb/mcb-core.c5
-rw-r--r--drivers/mcb/mcb-lpc.c5
-rw-r--r--drivers/mcb/mcb-pci.c5
-rw-r--r--drivers/mfd/htc-pasic3.c5
-rw-r--r--drivers/misc/eeprom/max6875.c5
-rw-r--r--drivers/mmc/host/sdhci_f_sdh30.c5
-rw-r--r--drivers/mtd/nand/raw/nuc900_nand.c6
-rw-r--r--drivers/net/ethernet/nuvoton/w90p910_ether.c6
-rw-r--r--drivers/pinctrl/pxa/pinctrl-pxa25x.c6
-rw-r--r--drivers/pinctrl/pxa/pinctrl-pxa27x.c6
-rw-r--r--drivers/pinctrl/pxa/pinctrl-pxa2xx.c6
-rw-r--r--drivers/pinctrl/pxa/pinctrl-pxa2xx.h6
-rw-r--r--drivers/platform/x86/surface3-wmi.c6
-rw-r--r--drivers/platform/x86/surface3_button.c6
-rw-r--r--drivers/platform/x86/surfacepro3_button.c6
-rw-r--r--drivers/rtc/rtc-mrst.c6
-rw-r--r--drivers/rtc/rtc-nuc900.c6
-rw-r--r--drivers/w1/masters/ds2482.c5
-rw-r--r--drivers/watchdog/nuc900_wdt.c6
-rw-r--r--include/acpi/cppc_acpi.h6
-rw-r--r--include/acpi/pcc.h6
-rw-r--r--include/clocksource/pxa.h6
-rw-r--r--include/dt-bindings/power/r8a7779-sysc.h5
-rw-r--r--include/dt-bindings/power/r8a7790-sysc.h5
-rw-r--r--include/dt-bindings/power/r8a7791-sysc.h5
-rw-r--r--include/dt-bindings/power/r8a7792-sysc.h5
-rw-r--r--include/dt-bindings/power/r8a7793-sysc.h5
-rw-r--r--include/dt-bindings/power/r8a7794-sysc.h5
-rw-r--r--include/dt-bindings/power/r8a7795-sysc.h5
-rw-r--r--include/dt-bindings/power/r8a7796-sysc.h5
-rw-r--r--include/dt-bindings/power/r8a77995-sysc.h5
-rw-r--r--include/keys/encrypted-type.h5
-rw-r--r--include/keys/trusted-type.h5
-rw-r--r--include/linux/async.h6
-rw-r--r--include/linux/digsig.h6
-rw-r--r--include/linux/hwmon.h4
-rw-r--r--include/linux/ima.h5
-rw-r--r--include/linux/integrity.h5
-rw-r--r--include/linux/ipack.h5
-rw-r--r--include/linux/leds-pca9532.h6
-rw-r--r--include/linux/mcb.h5
-rw-r--r--include/linux/platform_data/mmc-esdhc-imx.h6
-rw-r--r--include/linux/platform_data/spi-nuc900.h6
-rw-r--r--include/linux/rodata_test.h6
-rw-r--r--include/linux/tpm.h7
-rw-r--r--ipc/ipc_sysctl.c6
-rw-r--r--ipc/mq_sysctl.c6
-rw-r--r--kernel/async.c6
-rw-r--r--kernel/backtracetest.c6
-rw-r--r--kernel/latencytop.c6
-rw-r--r--kernel/nsproxy.c6
-rw-r--r--kernel/sched/cpudeadline.c6
-rw-r--r--kernel/sched/cpupri.c6
-rw-r--r--kernel/ucount.c7
-rw-r--r--kernel/user_namespace.c7
-rw-r--r--kernel/utsname.c6
-rw-r--r--kernel/utsname_sysctl.c6
-rw-r--r--lib/digsig.c5
-rw-r--r--lib/raid6/recov_avx2.c6
-rw-r--r--lib/raid6/recov_avx512.c7
-rw-r--r--lib/raid6/recov_neon.c6
-rw-r--r--lib/raid6/recov_neon_inner.c6
-rw-r--r--lib/raid6/recov_ssse3.c6
-rw-r--r--mm/rodata_test.c6
-rw-r--r--net/dccp/ackvec.c5
-rwxr-xr-xscripts/dtc/dtx_diff4
-rw-r--r--security/apparmor/apparmorfs.c6
-rw-r--r--security/apparmor/audit.c6
-rw-r--r--security/apparmor/capability.c6
-rw-r--r--security/apparmor/crypto.c6
-rw-r--r--security/apparmor/domain.c6
-rw-r--r--security/apparmor/file.c6
-rw-r--r--security/apparmor/include/apparmor.h6
-rw-r--r--security/apparmor/include/apparmorfs.h6
-rw-r--r--security/apparmor/include/audit.h6
-rw-r--r--security/apparmor/include/capability.h6
-rw-r--r--security/apparmor/include/cred.h6
-rw-r--r--security/apparmor/include/crypto.h6
-rw-r--r--security/apparmor/include/domain.h6
-rw-r--r--security/apparmor/include/file.h6
-rw-r--r--security/apparmor/include/ipc.h6
-rw-r--r--security/apparmor/include/label.h6
-rw-r--r--security/apparmor/include/lib.h6
-rw-r--r--security/apparmor/include/match.h6
-rw-r--r--security/apparmor/include/mount.h6
-rw-r--r--security/apparmor/include/net.h6
-rw-r--r--security/apparmor/include/path.h6
-rw-r--r--security/apparmor/include/perms.h6
-rw-r--r--security/apparmor/include/policy.h6
-rw-r--r--security/apparmor/include/policy_ns.h6
-rw-r--r--security/apparmor/include/policy_unpack.h6
-rw-r--r--security/apparmor/include/procattr.h6
-rw-r--r--security/apparmor/include/resource.h6
-rw-r--r--security/apparmor/include/secid.h6
-rw-r--r--security/apparmor/include/task.h6
-rw-r--r--security/apparmor/ipc.c6
-rw-r--r--security/apparmor/label.c6
-rw-r--r--security/apparmor/lib.c6
-rw-r--r--security/apparmor/lsm.c6
-rw-r--r--security/apparmor/match.c6
-rw-r--r--security/apparmor/mount.c6
-rw-r--r--security/apparmor/net.c6
-rw-r--r--security/apparmor/path.c6
-rw-r--r--security/apparmor/policy.c7
-rw-r--r--security/apparmor/policy_ns.c6
-rw-r--r--security/apparmor/policy_unpack.c6
-rw-r--r--security/apparmor/procattr.c6
-rw-r--r--security/apparmor/resource.c6
-rw-r--r--security/apparmor/secid.c7
-rw-r--r--security/apparmor/task.c6
-rw-r--r--security/integrity/digsig.c6
-rw-r--r--security/integrity/digsig_asymmetric.c6
-rw-r--r--security/integrity/evm/evm.h6
-rw-r--r--security/integrity/evm/evm_crypto.c5
-rw-r--r--security/integrity/evm/evm_main.c5
-rw-r--r--security/integrity/evm/evm_posix_acl.c5
-rw-r--r--security/integrity/evm/evm_secfs.c5
-rw-r--r--security/integrity/iint.c6
-rw-r--r--security/integrity/ima/ima.h6
-rw-r--r--security/integrity/ima/ima_api.c6
-rw-r--r--security/integrity/ima/ima_appraise.c5
-rw-r--r--security/integrity/ima/ima_crypto.c5
-rw-r--r--security/integrity/ima/ima_fs.c6
-rw-r--r--security/integrity/ima/ima_init.c6
-rw-r--r--security/integrity/ima/ima_main.c6
-rw-r--r--security/integrity/ima/ima_mok.c7
-rw-r--r--security/integrity/ima/ima_policy.c6
-rw-r--r--security/integrity/ima/ima_queue.c6
-rw-r--r--security/integrity/ima/ima_template.c6
-rw-r--r--security/integrity/ima/ima_template_lib.c6
-rw-r--r--security/integrity/ima/ima_template_lib.h6
-rw-r--r--security/integrity/integrity.h7
-rw-r--r--security/integrity/integrity_audit.c5
-rw-r--r--security/keys/encrypted-keys/ecryptfs_format.c5
-rw-r--r--security/keys/encrypted-keys/ecryptfs_format.h5
-rw-r--r--security/keys/encrypted-keys/encrypted.c5
-rw-r--r--security/keys/encrypted-keys/masterkey_trusted.c5
-rw-r--r--security/keys/trusted.c5
-rw-r--r--sound/soc/codecs/isabelle.c7
-rw-r--r--sound/soc/codecs/isabelle.h6
-rw-r--r--sound/soc/codecs/lm49453.c5
-rw-r--r--sound/soc/codecs/lm49453.h6
-rw-r--r--sound/soc/codecs/max9768.c5
-rw-r--r--sound/soc/codecs/wm9705.c6
-rw-r--r--sound/soc/nuc900/nuc900-ac97.c6
-rw-r--r--sound/soc/nuc900/nuc900-audio.c6
-rw-r--r--sound/soc/nuc900/nuc900-audio.h6
-rw-r--r--sound/soc/nuc900/nuc900-pcm.c6
-rw-r--r--tools/perf/builtin-timechart.c6
-rw-r--r--tools/perf/util/svghelper.c6
-rw-r--r--tools/power/acpi/Makefile5
-rw-r--r--tools/power/acpi/Makefile.config5
-rw-r--r--tools/power/acpi/Makefile.rules5
-rw-r--r--tools/power/acpi/tools/acpidbg/Makefile5
-rw-r--r--tools/power/acpi/tools/acpidump/Makefile5
-rw-r--r--tools/power/acpi/tools/ec/Makefile5
-rw-r--r--tools/testing/vsock/control.c6
-rw-r--r--tools/testing/vsock/timeout.c6
-rw-r--r--tools/testing/vsock/vsock_diag_test.c6
314 files changed, 314 insertions, 1524 deletions
diff --git a/arch/arm/mach-w90x900/clksel.c b/arch/arm/mach-w90x900/clksel.c
index 06d867dce551..b50577a5a840 100644
--- a/arch/arm/mach-w90x900/clksel.c
+++ b/arch/arm/mach-w90x900/clksel.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/clksel.c 3 * linux/arch/arm/mach-w90x900/clksel.c
3 * 4 *
4 * Copyright (c) 2008 Nuvoton technology corporation 5 * Copyright (c) 2008 Nuvoton technology corporation
5 * 6 *
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation;version 2 of the License.
11 */ 8 */
12 9
13#include <linux/module.h> 10#include <linux/module.h>
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
index ca763251ffe0..aeaafc2ebb01 100644
--- a/arch/arm/mach-w90x900/cpu.c
+++ b/arch/arm/mach-w90x900/cpu.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/cpu.c 3 * linux/arch/arm/mach-w90x900/cpu.c
3 * 4 *
@@ -6,11 +7,6 @@
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 * 8 *
8 * NUC900 series cpu common support 9 * NUC900 series cpu common support
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation;version 2 of the License.
13 *
14 */ 10 */
15 11
16#include <linux/kernel.h> 12#include <linux/kernel.h>
diff --git a/arch/arm/mach-w90x900/dev.c b/arch/arm/mach-w90x900/dev.c
index e65a80a1ac75..ce5fe400cb99 100644
--- a/arch/arm/mach-w90x900/dev.c
+++ b/arch/arm/mach-w90x900/dev.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/dev.c 3 * linux/arch/arm/mach-w90x900/dev.c
3 * 4 *
4 * Copyright (C) 2009 Nuvoton corporation. 5 * Copyright (C) 2009 Nuvoton corporation.
5 * 6 *
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation;version 2 of the License.
11 *
12 */ 8 */
13 9
14#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/arch/arm/mach-w90x900/include/mach/irqs.h b/arch/arm/mach-w90x900/include/mach/irqs.h
index 9d5cba3a509f..23ea01d97a02 100644
--- a/arch/arm/mach-w90x900/include/mach/irqs.h
+++ b/arch/arm/mach-w90x900/include/mach/irqs.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * arch/arm/mach-w90x900/include/mach/irqs.h 3 * arch/arm/mach-w90x900/include/mach/irqs.h
3 * 4 *
@@ -6,11 +7,6 @@
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 * 8 *
8 * Based on arch/arm/mach-s3c2410/include/mach/irqs.h 9 * Based on arch/arm/mach-s3c2410/include/mach/irqs.h
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation;version 2 of the License.
13 *
14 */ 10 */
15 11
16#ifndef __ASM_ARCH_IRQS_H 12#ifndef __ASM_ARCH_IRQS_H
diff --git a/arch/arm/mach-w90x900/include/mach/map.h b/arch/arm/mach-w90x900/include/mach/map.h
index 1a2095304117..570a74e04b1c 100644
--- a/arch/arm/mach-w90x900/include/mach/map.h
+++ b/arch/arm/mach-w90x900/include/mach/map.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * arch/arm/mach-w90x900/include/mach/map.h 3 * arch/arm/mach-w90x900/include/mach/map.h
3 * 4 *
@@ -6,11 +7,6 @@
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 * 8 *
8 * Based on arch/arm/mach-s3c2410/include/mach/map.h 9 * Based on arch/arm/mach-s3c2410/include/mach/map.h
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation;version 2 of the License.
13 *
14 */ 10 */
15 11
16#ifndef __ASM_ARCH_MAP_H 12#ifndef __ASM_ARCH_MAP_H
diff --git a/arch/arm/mach-w90x900/include/mach/mfp.h b/arch/arm/mach-w90x900/include/mach/mfp.h
index 23ef1f573abd..be5485efab0a 100644
--- a/arch/arm/mach-w90x900/include/mach/mfp.h
+++ b/arch/arm/mach-w90x900/include/mach/mfp.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * arch/arm/mach-w90x900/include/mach/mfp.h 3 * arch/arm/mach-w90x900/include/mach/mfp.h
3 * 4 *
@@ -6,11 +7,6 @@
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 * 8 *
8 * Based on arch/arm/mach-s3c2410/include/mach/map.h 9 * Based on arch/arm/mach-s3c2410/include/mach/map.h
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation;version 2 of the License.
13 *
14 */ 10 */
15 11
16#ifndef __ASM_ARCH_MFP_H 12#ifndef __ASM_ARCH_MFP_H
diff --git a/arch/arm/mach-w90x900/include/mach/regs-clock.h b/arch/arm/mach-w90x900/include/mach/regs-clock.h
index 516d6b477b61..f06245d26bd7 100644
--- a/arch/arm/mach-w90x900/include/mach/regs-clock.h
+++ b/arch/arm/mach-w90x900/include/mach/regs-clock.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * arch/arm/mach-w90x900/include/mach/regs-clock.h 3 * arch/arm/mach-w90x900/include/mach/regs-clock.h
3 * 4 *
4 * Copyright (c) 2008 Nuvoton technology corporation. 5 * Copyright (c) 2008 Nuvoton technology corporation.
5 * 6 *
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation;version 2 of the License.
11 *
12 */ 8 */
13 9
14#ifndef __ASM_ARCH_REGS_CLOCK_H 10#ifndef __ASM_ARCH_REGS_CLOCK_H
diff --git a/arch/arm/mach-w90x900/irq.c b/arch/arm/mach-w90x900/irq.c
index 491b317daffa..081b0f65477a 100644
--- a/arch/arm/mach-w90x900/irq.c
+++ b/arch/arm/mach-w90x900/irq.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/irq.c 3 * linux/arch/arm/mach-w90x900/irq.c
3 * 4 *
@@ -7,11 +8,6 @@
7 * All rights reserved. 8 * All rights reserved.
8 * 9 *
9 * Wan ZongShun <mcuos.com@gmail.com> 10 * Wan ZongShun <mcuos.com@gmail.com>
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation;version 2 of the License.
14 *
15 */ 11 */
16 12
17#include <linux/init.h> 13#include <linux/init.h>
diff --git a/arch/arm/mach-w90x900/mach-nuc910evb.c b/arch/arm/mach-w90x900/mach-nuc910evb.c
index 92f1c978f35e..e6d30af3e35a 100644
--- a/arch/arm/mach-w90x900/mach-nuc910evb.c
+++ b/arch/arm/mach-w90x900/mach-nuc910evb.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/mach-nuc910evb.c 3 * linux/arch/arm/mach-w90x900/mach-nuc910evb.c
3 * 4 *
@@ -6,11 +7,6 @@
6 * Copyright (C) 2008 Nuvoton technology corporation. 7 * Copyright (C) 2008 Nuvoton technology corporation.
7 * 8 *
8 * Wan ZongShun <mcuos.com@gmail.com> 9 * Wan ZongShun <mcuos.com@gmail.com>
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation;version 2 of the License.
13 *
14 */ 10 */
15 11
16#include <linux/platform_device.h> 12#include <linux/platform_device.h>
diff --git a/arch/arm/mach-w90x900/mach-nuc950evb.c b/arch/arm/mach-w90x900/mach-nuc950evb.c
index 26f7189056e3..62547308c344 100644
--- a/arch/arm/mach-w90x900/mach-nuc950evb.c
+++ b/arch/arm/mach-w90x900/mach-nuc950evb.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/mach-nuc950evb.c 3 * linux/arch/arm/mach-w90x900/mach-nuc950evb.c
3 * 4 *
@@ -7,12 +8,8 @@
7 * 8 *
8 * Wan ZongShun <mcuos.com@gmail.com> 9 * Wan ZongShun <mcuos.com@gmail.com>
9 * 10 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation;version 2 of the License.
13 * history: 11 * history:
14 * Wang Qiang (rurality.linux@gmail.com) add LCD support 12 * Wang Qiang (rurality.linux@gmail.com) add LCD support
15 *
16 */ 13 */
17 14
18#include <linux/platform_device.h> 15#include <linux/platform_device.h>
diff --git a/arch/arm/mach-w90x900/mach-nuc960evb.c b/arch/arm/mach-w90x900/mach-nuc960evb.c
index 9b4e73fe10e5..35a53459d0d2 100644
--- a/arch/arm/mach-w90x900/mach-nuc960evb.c
+++ b/arch/arm/mach-w90x900/mach-nuc960evb.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/mach-nuc960evb.c 3 * linux/arch/arm/mach-w90x900/mach-nuc960evb.c
3 * 4 *
@@ -6,11 +7,6 @@
6 * Copyright (C) 2008 Nuvoton technology corporation. 7 * Copyright (C) 2008 Nuvoton technology corporation.
7 * 8 *
8 * Wan ZongShun <mcuos.com@gmail.com> 9 * Wan ZongShun <mcuos.com@gmail.com>
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation;version 2 of the License.
13 *
14 */ 10 */
15 11
16#include <linux/platform_device.h> 12#include <linux/platform_device.h>
diff --git a/arch/arm/mach-w90x900/mfp.c b/arch/arm/mach-w90x900/mfp.c
index c58d142b8a46..05f3779a3618 100644
--- a/arch/arm/mach-w90x900/mfp.c
+++ b/arch/arm/mach-w90x900/mfp.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/mfp.c 3 * linux/arch/arm/mach-w90x900/mfp.c
3 * 4 *
4 * Copyright (c) 2008 Nuvoton technology corporation 5 * Copyright (c) 2008 Nuvoton technology corporation
5 * 6 *
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation;version 2 of the License.
11 */ 8 */
12 9
13#include <linux/module.h> 10#include <linux/module.h>
diff --git a/arch/arm/mach-w90x900/nuc910.c b/arch/arm/mach-w90x900/nuc910.c
index 1523f4136985..45ae8285bfc9 100644
--- a/arch/arm/mach-w90x900/nuc910.c
+++ b/arch/arm/mach-w90x900/nuc910.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/nuc910.c 3 * linux/arch/arm/mach-w90x900/nuc910.c
3 * 4 *
@@ -8,11 +9,6 @@
8 * Wan ZongShun <mcuos.com@gmail.com> 9 * Wan ZongShun <mcuos.com@gmail.com>
9 * 10 *
10 * NUC910 cpu support 11 * NUC910 cpu support
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation;version 2 of the License.
15 *
16 */ 12 */
17 13
18#include <linux/platform_device.h> 14#include <linux/platform_device.h>
diff --git a/arch/arm/mach-w90x900/nuc950.c b/arch/arm/mach-w90x900/nuc950.c
index 5704f74a50ee..3be114249cd8 100644
--- a/arch/arm/mach-w90x900/nuc950.c
+++ b/arch/arm/mach-w90x900/nuc950.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/nuc950.c 3 * linux/arch/arm/mach-w90x900/nuc950.c
3 * 4 *
@@ -8,11 +9,6 @@
8 * Wan ZongShun <mcuos.com@gmail.com> 9 * Wan ZongShun <mcuos.com@gmail.com>
9 * 10 *
10 * NUC950 cpu support 11 * NUC950 cpu support
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation;version 2 of the License.
15 *
16 */ 12 */
17 13
18#include <linux/platform_device.h> 14#include <linux/platform_device.h>
diff --git a/arch/arm/mach-w90x900/nuc960.c b/arch/arm/mach-w90x900/nuc960.c
index 8851a3a27ce2..8a27d74b975e 100644
--- a/arch/arm/mach-w90x900/nuc960.c
+++ b/arch/arm/mach-w90x900/nuc960.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/arch/arm/mach-w90x900/nuc960.c 3 * linux/arch/arm/mach-w90x900/nuc960.c
3 * 4 *
@@ -8,11 +9,6 @@
8 * Wan ZongShun <mcuos.com@gmail.com> 9 * Wan ZongShun <mcuos.com@gmail.com>
9 * 10 *
10 * NUC960 cpu support 11 * NUC960 cpu support
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation;version 2 of the License.
15 *
16 */ 12 */
17 13
18#include <linux/platform_device.h> 14#include <linux/platform_device.h>
diff --git a/arch/arm/mach-w90x900/regs-ebi.h b/arch/arm/mach-w90x900/regs-ebi.h
index b68455e7f88b..3fb22702cfc0 100644
--- a/arch/arm/mach-w90x900/regs-ebi.h
+++ b/arch/arm/mach-w90x900/regs-ebi.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * arch/arm/mach-w90x900/include/mach/regs-ebi.h 3 * arch/arm/mach-w90x900/include/mach/regs-ebi.h
3 * 4 *
4 * Copyright (c) 2009 Nuvoton technology corporation. 5 * Copyright (c) 2009 Nuvoton technology corporation.
5 * 6 *
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation;version 2 of the License.
11 *
12 */ 8 */
13 9
14#ifndef __ASM_ARCH_REGS_EBI_H 10#ifndef __ASM_ARCH_REGS_EBI_H
diff --git a/arch/arm/mach-w90x900/regs-usb.h b/arch/arm/mach-w90x900/regs-usb.h
index ab74b0c2480b..98046c811bf7 100644
--- a/arch/arm/mach-w90x900/regs-usb.h
+++ b/arch/arm/mach-w90x900/regs-usb.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * arch/arm/mach-w90x900/include/mach/regs-usb.h 3 * arch/arm/mach-w90x900/include/mach/regs-usb.h
3 * 4 *
4 * Copyright (c) 2008 Nuvoton technology corporation. 5 * Copyright (c) 2008 Nuvoton technology corporation.
5 * 6 *
6 * Wan ZongShun <mcuos.com@gmail.com> 7 * Wan ZongShun <mcuos.com@gmail.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation;version 2 of the License.
11 *
12 */ 8 */
13 9
14#ifndef __ASM_ARCH_REGS_USB_H 10#ifndef __ASM_ARCH_REGS_USB_H
diff --git a/arch/arm/mm/dump.c b/arch/arm/mm/dump.c
index 084779c5c893..006d27ee4fc6 100644
--- a/arch/arm/mm/dump.c
+++ b/arch/arm/mm/dump.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Debug helper to dump the current kernel pagetables of the system 3 * Debug helper to dump the current kernel pagetables of the system
3 * so that we can see what the various memory ranges are set to. 4 * so that we can see what the various memory ranges are set to.
@@ -6,11 +7,6 @@
6 * (C) Copyright 2008 Intel Corporation 7 * (C) Copyright 2008 Intel Corporation
7 * 8 *
8 * Author: Arjan van de Ven <arjan@linux.intel.com> 9 * Author: Arjan van de Ven <arjan@linux.intel.com>
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; version 2
13 * of the License.
14 */ 10 */
15#include <linux/debugfs.h> 11#include <linux/debugfs.h>
16#include <linux/fs.h> 12#include <linux/fs.h>
diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c
index c8bfbbfdfcc3..adff54c312bf 100644
--- a/arch/arm/net/bpf_jit_32.c
+++ b/arch/arm/net/bpf_jit_32.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Just-In-Time compiler for eBPF filters on 32bit ARM 3 * Just-In-Time compiler for eBPF filters on 32bit ARM
3 * 4 *
4 * Copyright (c) 2017 Shubham Bansal <illusionist.neo@gmail.com> 5 * Copyright (c) 2017 Shubham Bansal <illusionist.neo@gmail.com>
5 * Copyright (c) 2011 Mircea Gherzan <mgherzan@gmail.com> 6 * Copyright (c) 2011 Mircea Gherzan <mgherzan@gmail.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; version 2 of the License.
10 */ 7 */
11 8
12#include <linux/bpf.h> 9#include <linux/bpf.h>
diff --git a/arch/arm/net/bpf_jit_32.h b/arch/arm/net/bpf_jit_32.h
index 13a05f759552..fb67cbc589e0 100644
--- a/arch/arm/net/bpf_jit_32.h
+++ b/arch/arm/net/bpf_jit_32.h
@@ -1,11 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Just-In-Time compiler for BPF filters on 32bit ARM 3 * Just-In-Time compiler for BPF filters on 32bit ARM
3 * 4 *
4 * Copyright (c) 2011 Mircea Gherzan <mgherzan@gmail.com> 5 * Copyright (c) 2011 Mircea Gherzan <mgherzan@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; version 2 of the License.
9 */ 6 */
10 7
11#ifndef PFILTER_OPCODES_ARM_H 8#ifndef PFILTER_OPCODES_ARM_H
diff --git a/arch/arm64/mm/dump.c b/arch/arm64/mm/dump.c
index 14fe23cd5932..82b3a7fdb4a6 100644
--- a/arch/arm64/mm/dump.c
+++ b/arch/arm64/mm/dump.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2014, The Linux Foundation. All rights reserved. 3 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
3 * Debug helper to dump the current kernel pagetables of the system 4 * Debug helper to dump the current kernel pagetables of the system
@@ -7,11 +8,6 @@
7 * (C) Copyright 2008 Intel Corporation 8 * (C) Copyright 2008 Intel Corporation
8 * 9 *
9 * Author: Arjan van de Ven <arjan@linux.intel.com> 10 * Author: Arjan van de Ven <arjan@linux.intel.com>
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; version 2
14 * of the License.
15 */ 11 */
16#include <linux/debugfs.h> 12#include <linux/debugfs.h>
17#include <linux/errno.h> 13#include <linux/errno.h>
diff --git a/arch/mips/net/bpf_jit.h b/arch/mips/net/bpf_jit.h
index 8f9f54841123..166ca06c9da9 100644
--- a/arch/mips/net/bpf_jit.h
+++ b/arch/mips/net/bpf_jit.h
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Just-In-Time compiler for BPF filters on MIPS 3 * Just-In-Time compiler for BPF filters on MIPS
3 * 4 *
4 * Copyright (c) 2014 Imagination Technologies Ltd. 5 * Copyright (c) 2014 Imagination Technologies Ltd.
5 * Author: Markos Chandras <markos.chandras@imgtec.com> 6 * Author: Markos Chandras <markos.chandras@imgtec.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; version 2 of the License.
10 */ 7 */
11 8
12#ifndef BPF_JIT_MIPS_OP_H 9#ifndef BPF_JIT_MIPS_OP_H
diff --git a/arch/mips/net/ebpf_jit.c b/arch/mips/net/ebpf_jit.c
index dfd5a4b1b779..46b76751f3a5 100644
--- a/arch/mips/net/ebpf_jit.c
+++ b/arch/mips/net/ebpf_jit.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Just-In-Time compiler for eBPF filters on MIPS 3 * Just-In-Time compiler for eBPF filters on MIPS
3 * 4 *
@@ -7,10 +8,6 @@
7 * 8 *
8 * Copyright (c) 2014 Imagination Technologies Ltd. 9 * Copyright (c) 2014 Imagination Technologies Ltd.
9 * Author: Markos Chandras <markos.chandras@imgtec.com> 10 * Author: Markos Chandras <markos.chandras@imgtec.com>
10 *
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; version 2 of the License.
14 */ 11 */
15 12
16#include <linux/bitops.h> 13#include <linux/bitops.h>
diff --git a/arch/powerpc/boot/bamboo.c b/arch/powerpc/boot/bamboo.c
index b82cacbc60db..dcdfa586add9 100644
--- a/arch/powerpc/boot/bamboo.c
+++ b/arch/powerpc/boot/bamboo.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright IBM Corporation, 2007 3 * Copyright IBM Corporation, 2007
3 * Josh Boyer <jwboyer@linux.vnet.ibm.com> 4 * Josh Boyer <jwboyer@linux.vnet.ibm.com>
@@ -7,10 +8,6 @@
7 * 8 *
8 * Clocking code based on code by: 9 * Clocking code based on code by:
9 * Stefan Roese <sr@denx.de> 10 * Stefan Roese <sr@denx.de>
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; version 2 of the License
14 */ 11 */
15#include <stdarg.h> 12#include <stdarg.h>
16#include <stddef.h> 13#include <stddef.h>
diff --git a/arch/powerpc/boot/cuboot-rainier.c b/arch/powerpc/boot/cuboot-rainier.c
index 0a3fddee54df..046478544a5e 100644
--- a/arch/powerpc/boot/cuboot-rainier.c
+++ b/arch/powerpc/boot/cuboot-rainier.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Old U-boot compatibility for Rainier 3 * Old U-boot compatibility for Rainier
3 * 4 *
@@ -9,10 +10,6 @@
9 * 10 *
10 * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com> 11 * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com>
11 * Copyright IBM Corporation, 2007 12 * Copyright IBM Corporation, 2007
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; version 2 of the License
16 */ 13 */
17 14
18#include <stdarg.h> 15#include <stdarg.h>
diff --git a/arch/powerpc/boot/cuboot-sequoia.c b/arch/powerpc/boot/cuboot-sequoia.c
index caf8f2e842ea..e0285c20e3bb 100644
--- a/arch/powerpc/boot/cuboot-sequoia.c
+++ b/arch/powerpc/boot/cuboot-sequoia.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Old U-boot compatibility for Sequoia 3 * Old U-boot compatibility for Sequoia
3 * 4 *
@@ -9,10 +10,6 @@
9 * 10 *
10 * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com> 11 * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com>
11 * Copyright IBM Corporation, 2007 12 * Copyright IBM Corporation, 2007
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; version 2 of the License
16 */ 13 */
17 14
18#include <stdarg.h> 15#include <stdarg.h>
diff --git a/arch/powerpc/boot/treeboot-bamboo.c b/arch/powerpc/boot/treeboot-bamboo.c
index 9eee48fc7114..97b5b161dbbb 100644
--- a/arch/powerpc/boot/treeboot-bamboo.c
+++ b/arch/powerpc/boot/treeboot-bamboo.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright IBM Corporation, 2007 3 * Copyright IBM Corporation, 2007
3 * Josh Boyer <jwboyer@linux.vnet.ibm.com> 4 * Josh Boyer <jwboyer@linux.vnet.ibm.com>
4 * 5 *
5 * Based on ebony wrapper: 6 * Based on ebony wrapper:
6 * Copyright 2007 David Gibson, IBM Corporation. 7 * Copyright 2007 David Gibson, IBM Corporation.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2 of the License
11 */ 8 */
12#include "ops.h" 9#include "ops.h"
13#include "stdio.h" 10#include "stdio.h"
diff --git a/arch/powerpc/include/asm/mpic_msgr.h b/arch/powerpc/include/asm/mpic_msgr.h
index 088420d8aa59..cd25eeced208 100644
--- a/arch/powerpc/include/asm/mpic_msgr.h
+++ b/arch/powerpc/include/asm/mpic_msgr.h
@@ -1,11 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright 2011-2012, Meador Inge, Mentor Graphics Corporation. 3 * Copyright 2011-2012, Meador Inge, Mentor Graphics Corporation.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2 of the
7 * License.
8 *
9 */ 4 */
10 5
11#ifndef _ASM_MPIC_MSGR_H 6#ifndef _ASM_MPIC_MSGR_H
diff --git a/arch/powerpc/include/asm/msi_bitmap.h b/arch/powerpc/include/asm/msi_bitmap.h
index 1ec7125551f1..55c2f7db9cbd 100644
--- a/arch/powerpc/include/asm/msi_bitmap.h
+++ b/arch/powerpc/include/asm/msi_bitmap.h
@@ -1,14 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _POWERPC_SYSDEV_MSI_BITMAP_H 2#ifndef _POWERPC_SYSDEV_MSI_BITMAP_H
2#define _POWERPC_SYSDEV_MSI_BITMAP_H 3#define _POWERPC_SYSDEV_MSI_BITMAP_H
3 4
4/* 5/*
5 * Copyright 2008, Michael Ellerman, IBM Corporation. 6 * Copyright 2008, Michael Ellerman, IBM Corporation.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2 of the
10 * License.
11 *
12 */ 7 */
13 8
14#include <linux/of.h> 9#include <linux/of.h>
diff --git a/arch/powerpc/mm/ptdump/hashpagetable.c b/arch/powerpc/mm/ptdump/hashpagetable.c
index b9bda0105841..72f0e4a3d839 100644
--- a/arch/powerpc/mm/ptdump/hashpagetable.c
+++ b/arch/powerpc/mm/ptdump/hashpagetable.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2016, Rashmica Gupta, IBM Corp. 3 * Copyright 2016, Rashmica Gupta, IBM Corp.
3 * 4 *
@@ -7,11 +8,6 @@
7 * 8 *
8 * If radix is enabled then there is no hash page table and so no debugfs file 9 * If radix is enabled then there is no hash page table and so no debugfs file
9 * is generated. 10 * is generated.
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; version 2
14 * of the License.
15 */ 11 */
16#include <linux/debugfs.h> 12#include <linux/debugfs.h>
17#include <linux/fs.h> 13#include <linux/fs.h>
diff --git a/arch/powerpc/mm/ptdump/ptdump.c b/arch/powerpc/mm/ptdump/ptdump.c
index 646876d9da64..39bf1e2cba13 100644
--- a/arch/powerpc/mm/ptdump/ptdump.c
+++ b/arch/powerpc/mm/ptdump/ptdump.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2016, Rashmica Gupta, IBM Corp. 3 * Copyright 2016, Rashmica Gupta, IBM Corp.
3 * 4 *
@@ -8,11 +9,6 @@
8 * Derived from the arm64 implementation: 9 * Derived from the arm64 implementation:
9 * Copyright (c) 2014, The Linux Foundation, Laura Abbott. 10 * Copyright (c) 2014, The Linux Foundation, Laura Abbott.
10 * (C) Copyright 2008 Intel Corporation, Arjan van de Ven. 11 * (C) Copyright 2008 Intel Corporation, Arjan van de Ven.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; version 2
15 * of the License.
16 */ 12 */
17#include <linux/debugfs.h> 13#include <linux/debugfs.h>
18#include <linux/fs.h> 14#include <linux/fs.h>
diff --git a/arch/powerpc/net/bpf_jit.h b/arch/powerpc/net/bpf_jit.h
index dcac37745b05..6026a7af031d 100644
--- a/arch/powerpc/net/bpf_jit.h
+++ b/arch/powerpc/net/bpf_jit.h
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * bpf_jit.h: BPF JIT compiler for PPC 3 * bpf_jit.h: BPF JIT compiler for PPC
3 * 4 *
4 * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation 5 * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation
5 * 2016 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> 6 * 2016 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12#ifndef _BPF_JIT_H 8#ifndef _BPF_JIT_H
13#define _BPF_JIT_H 9#define _BPF_JIT_H
diff --git a/arch/powerpc/net/bpf_jit32.h b/arch/powerpc/net/bpf_jit32.h
index 21744d8aa053..6e5a2a4faeab 100644
--- a/arch/powerpc/net/bpf_jit32.h
+++ b/arch/powerpc/net/bpf_jit32.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * bpf_jit32.h: BPF JIT compiler for PPC 3 * bpf_jit32.h: BPF JIT compiler for PPC
3 * 4 *
4 * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation 5 * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation
5 * 6 *
6 * Split from bpf_jit.h 7 * Split from bpf_jit.h
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13#ifndef _BPF_JIT32_H 9#ifndef _BPF_JIT32_H
14#define _BPF_JIT32_H 10#define _BPF_JIT32_H
diff --git a/arch/powerpc/net/bpf_jit64.h b/arch/powerpc/net/bpf_jit64.h
index 47f441f351a6..cf3a7e337f02 100644
--- a/arch/powerpc/net/bpf_jit64.h
+++ b/arch/powerpc/net/bpf_jit64.h
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * bpf_jit64.h: BPF JIT compiler for PPC64 3 * bpf_jit64.h: BPF JIT compiler for PPC64
3 * 4 *
4 * Copyright 2016 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> 5 * Copyright 2016 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
5 * IBM Corporation 6 * IBM Corporation
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12#ifndef _BPF_JIT64_H 8#ifndef _BPF_JIT64_H
13#define _BPF_JIT64_H 9#define _BPF_JIT64_H
diff --git a/arch/powerpc/net/bpf_jit_asm.S b/arch/powerpc/net/bpf_jit_asm.S
index c80280dc2e04..2f5030d8383f 100644
--- a/arch/powerpc/net/bpf_jit_asm.S
+++ b/arch/powerpc/net/bpf_jit_asm.S
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* bpf_jit.S: Packet/header access helper functions 2/* bpf_jit.S: Packet/header access helper functions
2 * for PPC64 BPF compiler. 3 * for PPC64 BPF compiler.
3 * 4 *
4 * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation 5 * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; version 2
9 * of the License.
10 */ 6 */
11 7
12#include <asm/ppc_asm.h> 8#include <asm/ppc_asm.h>
diff --git a/arch/powerpc/net/bpf_jit_comp.c b/arch/powerpc/net/bpf_jit_comp.c
index 91d223cf512b..d57b46e0dd60 100644
--- a/arch/powerpc/net/bpf_jit_comp.c
+++ b/arch/powerpc/net/bpf_jit_comp.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* bpf_jit_comp.c: BPF JIT compiler 2/* bpf_jit_comp.c: BPF JIT compiler
2 * 3 *
3 * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation 4 * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation
4 * 5 *
5 * Based on the x86 BPF compiler, by Eric Dumazet (eric.dumazet@gmail.com) 6 * Based on the x86 BPF compiler, by Eric Dumazet (eric.dumazet@gmail.com)
6 * Ported to ppc32 by Denis Kirjanov <kda@linux-powerpc.org> 7 * Ported to ppc32 by Denis Kirjanov <kda@linux-powerpc.org>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13#include <linux/moduleloader.h> 9#include <linux/moduleloader.h>
14#include <asm/cacheflush.h> 10#include <asm/cacheflush.h>
diff --git a/arch/powerpc/net/bpf_jit_comp64.c b/arch/powerpc/net/bpf_jit_comp64.c
index 21a1dcd4b156..63d05c499cac 100644
--- a/arch/powerpc/net/bpf_jit_comp64.c
+++ b/arch/powerpc/net/bpf_jit_comp64.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * bpf_jit_comp64.c: eBPF JIT compiler 3 * bpf_jit_comp64.c: eBPF JIT compiler
3 * 4 *
@@ -5,11 +6,6 @@
5 * IBM Corporation 6 * IBM Corporation
6 * 7 *
7 * Based on the powerpc classic BPF JIT compiler by Matt Evans 8 * Based on the powerpc classic BPF JIT compiler by Matt Evans
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2
12 * of the License.
13 */ 9 */
14#include <linux/moduleloader.h> 10#include <linux/moduleloader.h>
15#include <asm/cacheflush.h> 11#include <asm/cacheflush.h>
diff --git a/arch/powerpc/platforms/40x/ppc40x_simple.c b/arch/powerpc/platforms/40x/ppc40x_simple.c
index 2a050007bbae..e70b42729322 100644
--- a/arch/powerpc/platforms/40x/ppc40x_simple.c
+++ b/arch/powerpc/platforms/40x/ppc40x_simple.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Generic PowerPC 40x platform support 3 * Generic PowerPC 40x platform support
3 * 4 *
4 * Copyright 2008 IBM Corporation 5 * Copyright 2008 IBM Corporation
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; version 2 of the License.
9 *
10 * This implements simple platform support for PowerPC 44x chips. This is 7 * This implements simple platform support for PowerPC 44x chips. This is
11 * mostly used for eval boards or other simple and "generic" 44x boards. If 8 * mostly used for eval boards or other simple and "generic" 44x boards. If
12 * your board has custom functions or hardware, then you will likely want to 9 * your board has custom functions or hardware, then you will likely want to
diff --git a/arch/powerpc/platforms/44x/ppc44x_simple.c b/arch/powerpc/platforms/44x/ppc44x_simple.c
index 8d6e4da9dfbe..3dbd8ddd734a 100644
--- a/arch/powerpc/platforms/44x/ppc44x_simple.c
+++ b/arch/powerpc/platforms/44x/ppc44x_simple.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Generic PowerPC 44x platform support 3 * Generic PowerPC 44x platform support
3 * 4 *
4 * Copyright 2008 IBM Corporation 5 * Copyright 2008 IBM Corporation
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; version 2 of the License.
9 *
10 * This implements simple platform support for PowerPC 44x chips. This is 7 * This implements simple platform support for PowerPC 44x chips. This is
11 * mostly used for eval boards or other simple and "generic" 44x boards. If 8 * mostly used for eval boards or other simple and "generic" 44x boards. If
12 * your board has custom functions or hardware, then you will likely want to 9 * your board has custom functions or hardware, then you will likely want to
diff --git a/arch/powerpc/platforms/pasemi/msi.c b/arch/powerpc/platforms/pasemi/msi.c
index d9cd510c8865..d38944a1e258 100644
--- a/arch/powerpc/platforms/pasemi/msi.c
+++ b/arch/powerpc/platforms/pasemi/msi.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2007, Olof Johansson, PA Semi 3 * Copyright 2007, Olof Johansson, PA Semi
3 * 4 *
@@ -5,12 +6,6 @@
5 * 6 *
6 * Copyright 2006, Segher Boessenkool, IBM Corporation. 7 * Copyright 2006, Segher Boessenkool, IBM Corporation.
7 * Copyright 2006-2007, Michael Ellerman, IBM Corporation. 8 * Copyright 2006-2007, Michael Ellerman, IBM Corporation.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2 of the
12 * License.
13 *
14 */ 9 */
15 10
16#include <linux/irq.h> 11#include <linux/irq.h>
diff --git a/arch/powerpc/platforms/pseries/msi.c b/arch/powerpc/platforms/pseries/msi.c
index 8011b4129e3a..133f6adcb39c 100644
--- a/arch/powerpc/platforms/pseries/msi.c
+++ b/arch/powerpc/platforms/pseries/msi.c
@@ -1,12 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2006 Jake Moilanen <moilanen@austin.ibm.com>, IBM Corp. 3 * Copyright 2006 Jake Moilanen <moilanen@austin.ibm.com>, IBM Corp.
3 * Copyright 2006-2007 Michael Ellerman, IBM Corp. 4 * Copyright 2006-2007 Michael Ellerman, IBM Corp.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; version 2 of the
8 * License.
9 *
10 */ 5 */
11 6
12#include <linux/device.h> 7#include <linux/device.h>
diff --git a/arch/powerpc/purgatory/trampoline.S b/arch/powerpc/purgatory/trampoline.S
index 1e1129553fd7..a5a83c3f53e6 100644
--- a/arch/powerpc/purgatory/trampoline.S
+++ b/arch/powerpc/purgatory/trampoline.S
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * kexec trampoline 3 * kexec trampoline
3 * 4 *
@@ -6,10 +7,6 @@
6 * Copyright (C) 2004 - 2005, Milton D Miller II, IBM Corporation 7 * Copyright (C) 2004 - 2005, Milton D Miller II, IBM Corporation
7 * Copyright (C) 2006, Mohan Kumar M, IBM Corporation 8 * Copyright (C) 2006, Mohan Kumar M, IBM Corporation
8 * Copyright (C) 2013, Anton Blanchard, IBM Corporation 9 * Copyright (C) 2013, Anton Blanchard, IBM Corporation
9 *
10 * This program is free software; you can redistribute it and/or modify it under
11 * the terms of the GNU General Public License as published by the Free
12 * Software Foundation (version 2 of the License).
13 */ 10 */
14 11
15#include <asm/asm-compat.h> 12#include <asm/asm-compat.h>
diff --git a/arch/powerpc/sysdev/fsl_mpic_err.c b/arch/powerpc/sysdev/fsl_mpic_err.c
index 2a98837dc6ba..13583bbc3e8e 100644
--- a/arch/powerpc/sysdev/fsl_mpic_err.c
+++ b/arch/powerpc/sysdev/fsl_mpic_err.c
@@ -1,13 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012 Freescale Semiconductor, Inc. 3 * Copyright (C) 2012 Freescale Semiconductor, Inc.
3 * 4 *
4 * Author: Varun Sethi <varun.sethi@freescale.com> 5 * Author: Varun Sethi <varun.sethi@freescale.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; version 2 of the
9 * License.
10 *
11 */ 6 */
12 7
13#include <linux/irq.h> 8#include <linux/irq.h>
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
index df95102e732c..808e7118abfc 100644
--- a/arch/powerpc/sysdev/fsl_msi.c
+++ b/arch/powerpc/sysdev/fsl_msi.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2007-2011 Freescale Semiconductor, Inc. 3 * Copyright (C) 2007-2011 Freescale Semiconductor, Inc.
3 * 4 *
@@ -5,12 +6,6 @@
5 * Jason Jin <Jason.jin@freescale.com> 6 * Jason Jin <Jason.jin@freescale.com>
6 * 7 *
7 * The hwirq alloc and free code reuse from sysdev/mpic_msi.c 8 * The hwirq alloc and free code reuse from sysdev/mpic_msi.c
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2 of the
12 * License.
13 *
14 */ 9 */
15#include <linux/irq.h> 10#include <linux/irq.h>
16#include <linux/msi.h> 11#include <linux/msi.h>
diff --git a/arch/powerpc/sysdev/fsl_msi.h b/arch/powerpc/sysdev/fsl_msi.h
index a67359d993e5..e2a1bfc7c237 100644
--- a/arch/powerpc/sysdev/fsl_msi.h
+++ b/arch/powerpc/sysdev/fsl_msi.h
@@ -1,14 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2007-2008 Freescale Semiconductor, Inc. All rights reserved. 3 * Copyright (C) 2007-2008 Freescale Semiconductor, Inc. All rights reserved.
3 * 4 *
4 * Author: Tony Li <tony.li@freescale.com> 5 * Author: Tony Li <tony.li@freescale.com>
5 * Jason Jin <Jason.jin@freescale.com> 6 * Jason Jin <Jason.jin@freescale.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2 of the
10 * License.
11 *
12 */ 7 */
13#ifndef _POWERPC_SYSDEV_FSL_MSI_H 8#ifndef _POWERPC_SYSDEV_FSL_MSI_H
14#define _POWERPC_SYSDEV_FSL_MSI_H 9#define _POWERPC_SYSDEV_FSL_MSI_H
diff --git a/arch/powerpc/sysdev/mpic.h b/arch/powerpc/sysdev/mpic.h
index 32971a41853b..73a31a429d46 100644
--- a/arch/powerpc/sysdev/mpic.h
+++ b/arch/powerpc/sysdev/mpic.h
@@ -1,14 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _POWERPC_SYSDEV_MPIC_H 2#ifndef _POWERPC_SYSDEV_MPIC_H
2#define _POWERPC_SYSDEV_MPIC_H 3#define _POWERPC_SYSDEV_MPIC_H
3 4
4/* 5/*
5 * Copyright 2006-2007, Michael Ellerman, IBM Corporation. 6 * Copyright 2006-2007, Michael Ellerman, IBM Corporation.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2 of the
10 * License.
11 *
12 */ 7 */
13 8
14#ifdef CONFIG_PCI_MSI 9#ifdef CONFIG_PCI_MSI
diff --git a/arch/powerpc/sysdev/mpic_msgr.c b/arch/powerpc/sysdev/mpic_msgr.c
index 280e964e1aa8..f6b253e2be40 100644
--- a/arch/powerpc/sysdev/mpic_msgr.c
+++ b/arch/powerpc/sysdev/mpic_msgr.c
@@ -1,14 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2011-2012, Meador Inge, Mentor Graphics Corporation. 3 * Copyright 2011-2012, Meador Inge, Mentor Graphics Corporation.
3 * 4 *
4 * Some ideas based on un-pushed work done by Vivek Mahajan, Jason Jin, and 5 * Some ideas based on un-pushed work done by Vivek Mahajan, Jason Jin, and
5 * Mingkai Hu from Freescale Semiconductor, Inc. 6 * Mingkai Hu from Freescale Semiconductor, Inc.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2 of the
10 * License.
11 *
12 */ 7 */
13 8
14#include <linux/list.h> 9#include <linux/list.h>
diff --git a/arch/powerpc/sysdev/mpic_msi.c b/arch/powerpc/sysdev/mpic_msi.c
index 9ed860aee9c3..4695c04320ae 100644
--- a/arch/powerpc/sysdev/mpic_msi.c
+++ b/arch/powerpc/sysdev/mpic_msi.c
@@ -1,11 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2006-2007, Michael Ellerman, IBM Corporation. 3 * Copyright 2006-2007, Michael Ellerman, IBM Corporation.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2 of the
7 * License.
8 *
9 */ 4 */
10 5
11#include <linux/irq.h> 6#include <linux/irq.h>
diff --git a/arch/powerpc/sysdev/mpic_u3msi.c b/arch/powerpc/sysdev/mpic_u3msi.c
index cfc1c57d760f..3861023d378a 100644
--- a/arch/powerpc/sysdev/mpic_u3msi.c
+++ b/arch/powerpc/sysdev/mpic_u3msi.c
@@ -1,12 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2006, Segher Boessenkool, IBM Corporation. 3 * Copyright 2006, Segher Boessenkool, IBM Corporation.
3 * Copyright 2006-2007, Michael Ellerman, IBM Corporation. 4 * Copyright 2006-2007, Michael Ellerman, IBM Corporation.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; version 2 of the
8 * License.
9 *
10 */ 5 */
11 6
12#include <linux/irq.h> 7#include <linux/irq.h>
diff --git a/arch/powerpc/sysdev/msi_bitmap.c b/arch/powerpc/sysdev/msi_bitmap.c
index 51a679a1c403..fdd3e17150fc 100644
--- a/arch/powerpc/sysdev/msi_bitmap.c
+++ b/arch/powerpc/sysdev/msi_bitmap.c
@@ -1,11 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2006-2008, Michael Ellerman, IBM Corporation. 3 * Copyright 2006-2008, Michael Ellerman, IBM Corporation.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2 of the
7 * License.
8 *
9 */ 4 */
10 5
11#include <linux/slab.h> 6#include <linux/slab.h>
diff --git a/arch/x86/include/asm/apb_timer.h b/arch/x86/include/asm/apb_timer.h
index 0acbac299e49..99bb207fc04c 100644
--- a/arch/x86/include/asm/apb_timer.h
+++ b/arch/x86/include/asm/apb_timer.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * apb_timer.h: Driver for Langwell APB timer based on Synopsis DesignWare 3 * apb_timer.h: Driver for Langwell APB timer based on Synopsis DesignWare
3 * 4 *
4 * (C) Copyright 2009 Intel Corporation 5 * (C) Copyright 2009 Intel Corporation
5 * Author: Jacob Pan (jacob.jun.pan@intel.com) 6 * Author: Jacob Pan (jacob.jun.pan@intel.com)
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 *
12 * Note: 8 * Note:
13 */ 9 */
14 10
diff --git a/arch/x86/include/asm/imr.h b/arch/x86/include/asm/imr.h
index ebea2c9d2cdc..0d1dbf235679 100644
--- a/arch/x86/include/asm/imr.h
+++ b/arch/x86/include/asm/imr.h
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * imr.h: Isolated Memory Region API 3 * imr.h: Isolated Memory Region API
3 * 4 *
4 * Copyright(c) 2013 Intel Corporation. 5 * Copyright(c) 2013 Intel Corporation.
5 * Copyright(c) 2015 Bryan O'Donoghue <pure.logic@nexus-software.ie> 6 * Copyright(c) 2015 Bryan O'Donoghue <pure.logic@nexus-software.ie>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12#ifndef _IMR_H 8#ifndef _IMR_H
13#define _IMR_H 9#define _IMR_H
diff --git a/arch/x86/include/asm/intel-mid.h b/arch/x86/include/asm/intel-mid.h
index 52f815a80539..8e5af119dc2d 100644
--- a/arch/x86/include/asm/intel-mid.h
+++ b/arch/x86/include/asm/intel-mid.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * intel-mid.h: Intel MID specific setup code 3 * intel-mid.h: Intel MID specific setup code
3 * 4 *
4 * (C) Copyright 2009 Intel Corporation 5 * (C) Copyright 2009 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; version 2
9 * of the License.
10 */ 6 */
11#ifndef _ASM_X86_INTEL_MID_H 7#ifndef _ASM_X86_INTEL_MID_H
12#define _ASM_X86_INTEL_MID_H 8#define _ASM_X86_INTEL_MID_H
diff --git a/arch/x86/include/asm/platform_sst_audio.h b/arch/x86/include/asm/platform_sst_audio.h
index 059823bb8af7..16b9f220bdeb 100644
--- a/arch/x86/include/asm/platform_sst_audio.h
+++ b/arch/x86/include/asm/platform_sst_audio.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * platform_sst_audio.h: sst audio platform data header file 3 * platform_sst_audio.h: sst audio platform data header file
3 * 4 *
@@ -5,11 +6,6 @@
5 * Author: Jeeja KP <jeeja.kp@intel.com> 6 * Author: Jeeja KP <jeeja.kp@intel.com>
6 * Omair Mohammed Abdullah <omair.m.abdullah@intel.com> 7 * Omair Mohammed Abdullah <omair.m.abdullah@intel.com>
7 * Vinod Koul ,vinod.koul@intel.com> 8 * Vinod Koul ,vinod.koul@intel.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2
12 * of the License.
13 */ 9 */
14#ifndef _PLATFORM_SST_AUDIO_H_ 10#ifndef _PLATFORM_SST_AUDIO_H_
15#define _PLATFORM_SST_AUDIO_H_ 11#define _PLATFORM_SST_AUDIO_H_
diff --git a/arch/x86/include/asm/smap.h b/arch/x86/include/asm/smap.h
index f94a7d0ddd49..27c47d183f4b 100644
--- a/arch/x86/include/asm/smap.h
+++ b/arch/x86/include/asm/smap.h
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Supervisor Mode Access Prevention support 3 * Supervisor Mode Access Prevention support
3 * 4 *
4 * Copyright (C) 2012 Intel Corporation 5 * Copyright (C) 2012 Intel Corporation
5 * Author: H. Peter Anvin <hpa@linux.intel.com> 6 * Author: H. Peter Anvin <hpa@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#ifndef _ASM_X86_SMAP_H 9#ifndef _ASM_X86_SMAP_H
diff --git a/arch/x86/include/asm/xor_avx.h b/arch/x86/include/asm/xor_avx.h
index 22a7b1870a31..d61ddf3d052b 100644
--- a/arch/x86/include/asm/xor_avx.h
+++ b/arch/x86/include/asm/xor_avx.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1#ifndef _ASM_X86_XOR_AVX_H 2#ifndef _ASM_X86_XOR_AVX_H
2#define _ASM_X86_XOR_AVX_H 3#define _ASM_X86_XOR_AVX_H
3 4
@@ -8,11 +9,6 @@
8 * Author: Jim Kukunas <james.t.kukunas@linux.intel.com> 9 * Author: Jim Kukunas <james.t.kukunas@linux.intel.com>
9 * 10 *
10 * Based on Ingo Molnar and Zach Brown's respective MMX and SSE routines 11 * Based on Ingo Molnar and Zach Brown's respective MMX and SSE routines
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; version 2
15 * of the License.
16 */ 12 */
17 13
18#ifdef CONFIG_AS_AVX 14#ifdef CONFIG_AS_AVX
diff --git a/arch/x86/kernel/apb_timer.c b/arch/x86/kernel/apb_timer.c
index 65721dc73bd8..5da106f84e84 100644
--- a/arch/x86/kernel/apb_timer.c
+++ b/arch/x86/kernel/apb_timer.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * apb_timer.c: Driver for Langwell APB timers 3 * apb_timer.c: Driver for Langwell APB timers
3 * 4 *
4 * (C) Copyright 2009 Intel Corporation 5 * (C) Copyright 2009 Intel Corporation
5 * Author: Jacob Pan (jacob.jun.pan@intel.com) 6 * Author: Jacob Pan (jacob.jun.pan@intel.com)
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 *
12 * Note: 8 * Note:
13 * Langwell is the south complex of Intel Moorestown MID platform. There are 9 * Langwell is the south complex of Intel Moorestown MID platform. There are
14 * eight external timers in total that can be used by the operating system. 10 * eight external timers in total that can be used by the operating system.
diff --git a/arch/x86/kernel/cpu/mce/severity.c b/arch/x86/kernel/cpu/mce/severity.c
index 65201e180fe0..2d33a26d257e 100644
--- a/arch/x86/kernel/cpu/mce/severity.c
+++ b/arch/x86/kernel/cpu/mce/severity.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MCE grading rules. 3 * MCE grading rules.
3 * Copyright 2008, 2009 Intel Corporation. 4 * Copyright 2008, 2009 Intel Corporation.
4 * 5 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; version 2
8 * of the License.
9 *
10 * Author: Andi Kleen 6 * Author: Andi Kleen
11 */ 7 */
12#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c
index 3fa238a137d2..7df29f08871b 100644
--- a/arch/x86/kernel/cpu/mshyperv.c
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * HyperV Detection code. 3 * HyperV Detection code.
3 * 4 *
4 * Copyright (C) 2010, Novell, Inc. 5 * Copyright (C) 2010, Novell, Inc.
5 * Author : K. Y. Srinivasan <ksrinivasan@novell.com> 6 * Author : K. Y. Srinivasan <ksrinivasan@novell.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 */ 7 */
12 8
13#include <linux/types.h> 9#include <linux/types.h>
diff --git a/arch/x86/kernel/itmt.c b/arch/x86/kernel/itmt.c
index d177940aa090..838cf8a32c49 100644
--- a/arch/x86/kernel/itmt.c
+++ b/arch/x86/kernel/itmt.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * itmt.c: Support Intel Turbo Boost Max Technology 3.0 3 * itmt.c: Support Intel Turbo Boost Max Technology 3.0
3 * 4 *
4 * (C) Copyright 2016 Intel Corporation 5 * (C) Copyright 2016 Intel Corporation
5 * Author: Tim Chen <tim.c.chen@linux.intel.com> 6 * Author: Tim Chen <tim.c.chen@linux.intel.com>
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 *
12 * On platforms supporting Intel Turbo Boost Max Technology 3.0, (ITMT), 8 * On platforms supporting Intel Turbo Boost Max Technology 3.0, (ITMT),
13 * the maximum turbo frequencies of some cores in a CPU package may be 9 * the maximum turbo frequencies of some cores in a CPU package may be
14 * higher than for the other cores in the same package. In that case, 10 * higher than for the other cores in the same package. In that case,
diff --git a/arch/x86/lib/cmpxchg16b_emu.S b/arch/x86/lib/cmpxchg16b_emu.S
index 9b330242e740..d63185698a23 100644
--- a/arch/x86/lib/cmpxchg16b_emu.S
+++ b/arch/x86/lib/cmpxchg16b_emu.S
@@ -1,10 +1,4 @@
1/* 1/* SPDX-License-Identifier: GPL-2.0-only */
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License
4 * as published by the Free Software Foundation; version 2
5 * of the License.
6 *
7 */
8#include <linux/linkage.h> 2#include <linux/linkage.h>
9#include <asm/percpu.h> 3#include <asm/percpu.h>
10 4
diff --git a/arch/x86/lib/cmpxchg8b_emu.S b/arch/x86/lib/cmpxchg8b_emu.S
index 03a186fc06ea..691d80e97488 100644
--- a/arch/x86/lib/cmpxchg8b_emu.S
+++ b/arch/x86/lib/cmpxchg8b_emu.S
@@ -1,10 +1,4 @@
1/* 1/* SPDX-License-Identifier: GPL-2.0-only */
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License
4 * as published by the Free Software Foundation; version 2
5 * of the License.
6 *
7 */
8 2
9#include <linux/linkage.h> 3#include <linux/linkage.h>
10#include <asm/export.h> 4#include <asm/export.h>
diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c
index 6a7302d1161f..ab67822fd2f4 100644
--- a/arch/x86/mm/dump_pagetables.c
+++ b/arch/x86/mm/dump_pagetables.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Debug helper to dump the current kernel pagetables of the system 3 * Debug helper to dump the current kernel pagetables of the system
3 * so that we can see what the various memory ranges are set to. 4 * so that we can see what the various memory ranges are set to.
@@ -5,11 +6,6 @@
5 * (C) Copyright 2008 Intel Corporation 6 * (C) Copyright 2008 Intel Corporation
6 * 7 *
7 * Author: Arjan van de Ven <arjan@linux.intel.com> 8 * Author: Arjan van de Ven <arjan@linux.intel.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2
12 * of the License.
13 */ 9 */
14 10
15#include <linux/debugfs.h> 11#include <linux/debugfs.h>
diff --git a/arch/x86/net/bpf_jit_comp.c b/arch/x86/net/bpf_jit_comp.c
index afabf597c855..32bfab4e21eb 100644
--- a/arch/x86/net/bpf_jit_comp.c
+++ b/arch/x86/net/bpf_jit_comp.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * bpf_jit_comp.c: BPF JIT compiler 3 * bpf_jit_comp.c: BPF JIT compiler
3 * 4 *
4 * Copyright (C) 2011-2013 Eric Dumazet (eric.dumazet@gmail.com) 5 * Copyright (C) 2011-2013 Eric Dumazet (eric.dumazet@gmail.com)
5 * Internal BPF Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 6 * Internal BPF Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12#include <linux/netdevice.h> 8#include <linux/netdevice.h>
13#include <linux/filter.h> 9#include <linux/filter.h>
diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c
index b3233b1835ea..40745664d92f 100644
--- a/arch/x86/platform/ce4100/ce4100.c
+++ b/arch/x86/platform/ce4100/ce4100.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Intel CE4100 platform specific setup code 3 * Intel CE4100 platform specific setup code
3 * 4 *
4 * (C) Copyright 2010 Intel Corporation 5 * (C) Copyright 2010 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; version 2
9 * of the License.
10 */ 6 */
11#include <linux/init.h> 7#include <linux/init.h>
12#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/arch/x86/platform/ce4100/falconfalls.dts b/arch/x86/platform/ce4100/falconfalls.dts
index ce874f872cc6..0ac3d4357136 100644
--- a/arch/x86/platform/ce4100/falconfalls.dts
+++ b/arch/x86/platform/ce4100/falconfalls.dts
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * CE4100 on Falcon Falls 3 * CE4100 on Falcon Falls
3 * 4 *
4 * (c) Copyright 2010 Intel Corporation 5 * (c) Copyright 2010 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; version 2 of the License.
9 */ 6 */
10/dts-v1/; 7/dts-v1/;
11/ { 8/ {
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_bcm43xx.c b/arch/x86/platform/intel-mid/device_libs/platform_bcm43xx.c
index 1421d5330b2c..564c47c53f3a 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_bcm43xx.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_bcm43xx.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_bcm43xx.c: bcm43xx platform data initialization file 3 * platform_bcm43xx.c: bcm43xx platform data initialization file
3 * 4 *
4 * (C) Copyright 2016 Intel Corporation 5 * (C) Copyright 2016 Intel Corporation
5 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 6 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/gpio/machine.h> 9#include <linux/gpio/machine.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_bma023.c b/arch/x86/platform/intel-mid/device_libs/platform_bma023.c
index c26cf393d35a..32912a17f68e 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_bma023.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_bma023.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_bma023.c: bma023 platform data initialization file 3 * platform_bma023.c: bma023 platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; version 2
9 * of the License.
10 */ 6 */
11 7
12#include <asm/intel-mid.h> 8#include <asm/intel-mid.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_bt.c b/arch/x86/platform/intel-mid/device_libs/platform_bt.c
index 31dce781364c..e3f4bfc08f78 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_bt.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_bt.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Bluetooth platform data initialization file 3 * Bluetooth platform data initialization file
3 * 4 *
4 * (C) Copyright 2017 Intel Corporation 5 * (C) Copyright 2017 Intel Corporation
5 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 6 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/gpio/machine.h> 9#include <linux/gpio/machine.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_emc1403.c b/arch/x86/platform/intel-mid/device_libs/platform_emc1403.c
index c259fb6c8f4f..a2508582a0b1 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_emc1403.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_emc1403.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_emc1403.c: emc1403 platform data initialization file 3 * platform_emc1403.c: emc1403 platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/init.h> 9#include <linux/init.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c b/arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c
index e639e3116acf..d9435d2196a4 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_gpio_keys.c: gpio_keys platform data initialization file 3 * platform_gpio_keys.c: gpio_keys platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/input.h> 9#include <linux/input.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_lis331.c b/arch/x86/platform/intel-mid/device_libs/platform_lis331.c
index a35cf912de43..a4485cd638c6 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_lis331.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_lis331.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_lis331.c: lis331 platform data initialization file 3 * platform_lis331.c: lis331 platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/i2c.h> 9#include <linux/i2c.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_max7315.c b/arch/x86/platform/intel-mid/device_libs/platform_max7315.c
index 58337b2bc682..e9287c3184da 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_max7315.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_max7315.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_max7315.c: max7315 platform data initialization file 3 * platform_max7315.c: max7315 platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/init.h> 9#include <linux/init.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mpu3050.c b/arch/x86/platform/intel-mid/device_libs/platform_mpu3050.c
index ee22864bbc2f..28a182713934 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_mpu3050.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_mpu3050.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_mpu3050.c: mpu3050 platform data initialization file 3 * platform_mpu3050.c: mpu3050 platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/gpio.h> 9#include <linux/gpio.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_pinctrl.c b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_pinctrl.c
index 4de8a664e6a1..605e1f94ad89 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_pinctrl.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_pinctrl.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Intel Merrifield FLIS platform device initialization file 3 * Intel Merrifield FLIS platform device initialization file
3 * 4 *
4 * Copyright (C) 2016, Intel Corporation 5 * Copyright (C) 2016, Intel Corporation
5 * 6 *
6 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 7 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14#include <linux/init.h> 10#include <linux/init.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_power_btn.c b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_power_btn.c
index a6c3705a28ad..ec2afb41b34a 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_power_btn.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_power_btn.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Intel Merrifield power button support 3 * Intel Merrifield power button support
3 * 4 *
4 * (C) Copyright 2017 Intel Corporation 5 * (C) Copyright 2017 Intel Corporation
5 * 6 *
6 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 7 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14#include <linux/init.h> 10#include <linux/init.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_rtc.c b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_rtc.c
index 3135416df037..40e9808a9634 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_rtc.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_rtc.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Intel Merrifield legacy RTC initialization file 3 * Intel Merrifield legacy RTC initialization file
3 * 4 *
4 * (C) Copyright 2017 Intel Corporation 5 * (C) Copyright 2017 Intel Corporation
5 * 6 *
6 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 7 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14#include <linux/init.h> 10#include <linux/init.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_sd.c b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_sd.c
index 00c4a034ad93..fe3b7ff975f3 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_sd.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_sd.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * SDHCI platform data initilisation file 3 * SDHCI platform data initilisation file
3 * 4 *
4 * (C) Copyright 2016 Intel Corporation 5 * (C) Copyright 2016 Intel Corporation
5 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 6 * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/init.h> 9#include <linux/init.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_spidev.c b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_spidev.c
index 7a7fc54c449b..b828f4fd40be 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_spidev.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_spidev.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * spidev platform data initialization file 3 * spidev platform data initialization file
3 * 4 *
4 * (C) Copyright 2014, 2016 Intel Corporation 5 * (C) Copyright 2014, 2016 Intel Corporation
5 * Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 6 * Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
6 * Dan O'Donovan <dan@emutex.com> 7 * Dan O'Donovan <dan@emutex.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14#include <linux/err.h> 10#include <linux/err.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c
index 2acd6be13375..227218a8f98e 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Intel Merrifield watchdog platform device library file 3 * Intel Merrifield watchdog platform device library file
3 * 4 *
4 * (C) Copyright 2014 Intel Corporation 5 * (C) Copyright 2014 Intel Corporation
5 * Author: David Cohen <david.a.cohen@linux.intel.com> 6 * Author: David Cohen <david.a.cohen@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/init.h> 9#include <linux/init.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic.c b/arch/x86/platform/intel-mid/device_libs/platform_msic.c
index e421106c11cf..b17783d0d4e7 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_msic.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_msic.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_msic.c: MSIC platform data initialization file 3 * platform_msic.c: MSIC platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic.h b/arch/x86/platform/intel-mid/device_libs/platform_msic.h
index b7be1d041da2..91deb2e65b0e 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_msic.h
+++ b/arch/x86/platform/intel-mid/device_libs/platform_msic.h
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * platform_msic.h: MSIC platform data header file 3 * platform_msic.h: MSIC platform data header file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12#ifndef _PLATFORM_MSIC_H_ 8#ifndef _PLATFORM_MSIC_H_
13#define _PLATFORM_MSIC_H_ 9#define _PLATFORM_MSIC_H_
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic_audio.c b/arch/x86/platform/intel-mid/device_libs/platform_msic_audio.c
index d4dc744dd5a5..e765da78ad8c 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_msic_audio.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_msic_audio.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_msic_audio.c: MSIC audio platform data initialization file 3 * platform_msic_audio.c: MSIC audio platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic_battery.c b/arch/x86/platform/intel-mid/device_libs/platform_msic_battery.c
index 5c3e9919633f..f461f84903f8 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_msic_battery.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_msic_battery.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_msic_battery.c: MSIC battery platform data initialization file 3 * platform_msic_battery.c: MSIC battery platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic_gpio.c b/arch/x86/platform/intel-mid/device_libs/platform_msic_gpio.c
index 9fdb88d460d7..71a7d6db3878 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_msic_gpio.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_msic_gpio.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_msic_gpio.c: MSIC GPIO platform data initialization file 3 * platform_msic_gpio.c: MSIC GPIO platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic_ocd.c b/arch/x86/platform/intel-mid/device_libs/platform_msic_ocd.c
index 7ae37cdbf256..558c0d974430 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_msic_ocd.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_msic_ocd.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_msic_ocd.c: MSIC OCD platform data initialization file 3 * platform_msic_ocd.c: MSIC OCD platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic_power_btn.c b/arch/x86/platform/intel-mid/device_libs/platform_msic_power_btn.c
index 96809b98cf69..3d3de2d59726 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_msic_power_btn.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_msic_power_btn.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_msic_power_btn.c: MSIC power btn platform data initialization file 3 * platform_msic_power_btn.c: MSIC power btn platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12#include <linux/kernel.h> 8#include <linux/kernel.h>
13#include <linux/interrupt.h> 9#include <linux/interrupt.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic_thermal.c b/arch/x86/platform/intel-mid/device_libs/platform_msic_thermal.c
index 3e4167d246cd..4858da1d78c6 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_msic_thermal.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_msic_thermal.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_msic_thermal.c: msic_thermal platform data initialization file 3 * platform_msic_thermal.c: msic_thermal platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/input.h> 9#include <linux/input.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_pcal9555a.c b/arch/x86/platform/intel-mid/device_libs/platform_pcal9555a.c
index 8344d5a928c9..5609d8da3978 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_pcal9555a.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_pcal9555a.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * PCAL9555a platform data initialization file 3 * PCAL9555a platform data initialization file
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 7 * Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
7 * Dan O'Donovan <dan@emutex.com> 8 * Dan O'Donovan <dan@emutex.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2
12 * of the License.
13 */ 9 */
14 10
15#include <linux/gpio.h> 11#include <linux/gpio.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_tc35876x.c b/arch/x86/platform/intel-mid/device_libs/platform_tc35876x.c
index 2905376559f1..44d1f884c3d3 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_tc35876x.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_tc35876x.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_tc35876x.c: tc35876x platform data initialization file 3 * platform_tc35876x.c: tc35876x platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/gpio.h> 9#include <linux/gpio.h>
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_tca6416.c b/arch/x86/platform/intel-mid/device_libs/platform_tca6416.c
index 4f41372ce400..e689d8f61059 100644
--- a/arch/x86/platform/intel-mid/device_libs/platform_tca6416.c
+++ b/arch/x86/platform/intel-mid/device_libs/platform_tca6416.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * platform_tca6416.c: tca6416 platform data initialization file 3 * platform_tca6416.c: tca6416 platform data initialization file
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/platform_data/pca953x.h> 9#include <linux/platform_data/pca953x.h>
diff --git a/arch/x86/platform/intel-mid/intel-mid.c b/arch/x86/platform/intel-mid/intel-mid.c
index 56f66eafb94f..780728161f7d 100644
--- a/arch/x86/platform/intel-mid/intel-mid.c
+++ b/arch/x86/platform/intel-mid/intel-mid.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * intel-mid.c: Intel MID platform setup code 3 * intel-mid.c: Intel MID platform setup code
3 * 4 *
4 * (C) Copyright 2008, 2012 Intel Corporation 5 * (C) Copyright 2008, 2012 Intel Corporation
5 * Author: Jacob Pan (jacob.jun.pan@intel.com) 6 * Author: Jacob Pan (jacob.jun.pan@intel.com)
6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 7 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14#define pr_fmt(fmt) "intel_mid: " fmt 10#define pr_fmt(fmt) "intel_mid: " fmt
diff --git a/arch/x86/platform/intel-mid/intel_mid_vrtc.c b/arch/x86/platform/intel-mid/intel_mid_vrtc.c
index a52914aa3b6c..2226da4f437a 100644
--- a/arch/x86/platform/intel-mid/intel_mid_vrtc.c
+++ b/arch/x86/platform/intel-mid/intel_mid_vrtc.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * intel_mid_vrtc.c: Driver for virtual RTC device on Intel MID platform 3 * intel_mid_vrtc.c: Driver for virtual RTC device on Intel MID platform
3 * 4 *
4 * (C) Copyright 2009 Intel Corporation 5 * (C) Copyright 2009 Intel Corporation
5 * 6 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; version 2
9 * of the License.
10 *
11 * Note: 7 * Note:
12 * VRTC is emulated by system controller firmware, the real HW 8 * VRTC is emulated by system controller firmware, the real HW
13 * RTC is located in the PMIC device. SCU FW shadows PMIC RTC 9 * RTC is located in the PMIC device. SCU FW shadows PMIC RTC
diff --git a/arch/x86/platform/intel-mid/sfi.c b/arch/x86/platform/intel-mid/sfi.c
index 7be1e1fe9ae3..b8f7f193f383 100644
--- a/arch/x86/platform/intel-mid/sfi.c
+++ b/arch/x86/platform/intel-mid/sfi.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * intel_mid_sfi.c: Intel MID SFI initialization code 3 * intel_mid_sfi.c: Intel MID SFI initialization code
3 * 4 *
4 * (C) Copyright 2013 Intel Corporation 5 * (C) Copyright 2013 Intel Corporation
5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/init.h> 9#include <linux/init.h>
diff --git a/drivers/acpi/cppc_acpi.c b/drivers/acpi/cppc_acpi.c
index 653642a4cbdd..15f103d7532b 100644
--- a/drivers/acpi/cppc_acpi.c
+++ b/drivers/acpi/cppc_acpi.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * CPPC (Collaborative Processor Performance Control) methods used by CPUfreq drivers. 3 * CPPC (Collaborative Processor Performance Control) methods used by CPUfreq drivers.
3 * 4 *
4 * (C) Copyright 2014, 2015 Linaro Ltd. 5 * (C) Copyright 2014, 2015 Linaro Ltd.
5 * Author: Ashwin Chaugule <ashwin.chaugule@linaro.org> 6 * Author: Ashwin Chaugule <ashwin.chaugule@linaro.org>
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 *
12 * CPPC describes a few methods for controlling CPU performance using 8 * CPPC describes a few methods for controlling CPU performance using
13 * information from a per CPU table called CPC. This table is described in 9 * information from a per CPU table called CPC. This table is described in
14 * the ACPI v5.0+ specification. The table consists of a list of 10 * the ACPI v5.0+ specification. The table consists of a list of
diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c
index 8804c9e916fd..90325e1749fb 100644
--- a/drivers/char/tpm/tpm-chip.c
+++ b/drivers/char/tpm/tpm-chip.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * Copyright (C) 2014 Intel Corporation 4 * Copyright (C) 2014 Intel Corporation
@@ -12,12 +13,6 @@
12 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 13 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
13 * 14 *
14 * TPM chip management routines. 15 * TPM chip management routines.
15 *
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation, version 2 of the
19 * License.
20 *
21 */ 16 */
22 17
23#include <linux/poll.h> 18#include <linux/poll.h>
diff --git a/drivers/char/tpm/tpm-dev-common.c b/drivers/char/tpm/tpm-dev-common.c
index 817ae09a369e..2ec47a69a2a6 100644
--- a/drivers/char/tpm/tpm-dev-common.c
+++ b/drivers/char/tpm/tpm-dev-common.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * Authors: 4 * Authors:
@@ -10,12 +11,6 @@
10 * Jason Gunthorpe <jgunthorpe@obsidianresearch.com> 11 * Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
11 * 12 *
12 * Device file system interface to the TPM 13 * Device file system interface to the TPM
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation, version 2 of the
17 * License.
18 *
19 */ 14 */
20#include <linux/poll.h> 15#include <linux/poll.h>
21#include <linux/slab.h> 16#include <linux/slab.h>
diff --git a/drivers/char/tpm/tpm-dev.c b/drivers/char/tpm/tpm-dev.c
index 32f9738f1cb2..e2c0baa69fef 100644
--- a/drivers/char/tpm/tpm-dev.c
+++ b/drivers/char/tpm/tpm-dev.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * Authors: 4 * Authors:
@@ -10,12 +11,6 @@
10 * Jason Gunthorpe <jgunthorpe@obsidianresearch.com> 11 * Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
11 * 12 *
12 * Device file system interface to the TPM 13 * Device file system interface to the TPM
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation, version 2 of the
17 * License.
18 *
19 */ 14 */
20#include <linux/slab.h> 15#include <linux/slab.h>
21#include "tpm-dev.h" 16#include "tpm-dev.h"
diff --git a/drivers/char/tpm/tpm-interface.c b/drivers/char/tpm/tpm-interface.c
index ae1030c9b086..1b4f95c13e00 100644
--- a/drivers/char/tpm/tpm-interface.c
+++ b/drivers/char/tpm/tpm-interface.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * Copyright (C) 2014 Intel Corporation 4 * Copyright (C) 2014 Intel Corporation
@@ -13,15 +14,9 @@
13 * Device driver for TCG/TCPA TPM (trusted platform module). 14 * Device driver for TCG/TCPA TPM (trusted platform module).
14 * Specifications at www.trustedcomputinggroup.org 15 * Specifications at www.trustedcomputinggroup.org
15 * 16 *
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation, version 2 of the
19 * License.
20 *
21 * Note, the TPM chip is not interrupt driven (only polling) 17 * Note, the TPM chip is not interrupt driven (only polling)
22 * and can have very long timeouts (minutes!). Hence the unusual 18 * and can have very long timeouts (minutes!). Hence the unusual
23 * calls to msleep. 19 * calls to msleep.
24 *
25 */ 20 */
26 21
27#include <linux/poll.h> 22#include <linux/poll.h>
diff --git a/drivers/char/tpm/tpm-sysfs.c b/drivers/char/tpm/tpm-sysfs.c
index 533a260d744e..d9caedda075b 100644
--- a/drivers/char/tpm/tpm-sysfs.c
+++ b/drivers/char/tpm/tpm-sysfs.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * Authors: 4 * Authors:
@@ -10,12 +11,6 @@
10 * Jason Gunthorpe <jgunthorpe@obsidianresearch.com> 11 * Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
11 * 12 *
12 * sysfs filesystem inspection interface to the TPM 13 * sysfs filesystem inspection interface to the TPM
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation, version 2 of the
17 * License.
18 *
19 */ 14 */
20#include <linux/device.h> 15#include <linux/device.h>
21#include "tpm.h" 16#include "tpm.h"
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h
index 2cce072f25b5..e503ffc3aa39 100644
--- a/drivers/char/tpm/tpm.h
+++ b/drivers/char/tpm/tpm.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * Copyright (C) 2015 Intel Corporation 4 * Copyright (C) 2015 Intel Corporation
@@ -12,12 +13,6 @@
12 * 13 *
13 * Device driver for TCG/TCPA TPM (trusted platform module). 14 * Device driver for TCG/TCPA TPM (trusted platform module).
14 * Specifications at www.trustedcomputinggroup.org 15 * Specifications at www.trustedcomputinggroup.org
15 *
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation, version 2 of the
19 * License.
20 *
21 */ 16 */
22 17
23#ifndef __TPM_H__ 18#ifndef __TPM_H__
diff --git a/drivers/char/tpm/tpm2-cmd.c b/drivers/char/tpm/tpm2-cmd.c
index e74c5b7b64bf..4de49924cfc4 100644
--- a/drivers/char/tpm/tpm2-cmd.c
+++ b/drivers/char/tpm/tpm2-cmd.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2014, 2015 Intel Corporation 3 * Copyright (C) 2014, 2015 Intel Corporation
3 * 4 *
@@ -8,11 +9,6 @@
8 * 9 *
9 * This file contains TPM2 protocol implementations of the commands 10 * This file contains TPM2 protocol implementations of the commands
10 * used by the kernel internally. 11 * used by the kernel internally.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; version 2
15 * of the License.
16 */ 12 */
17 13
18#include "tpm.h" 14#include "tpm.h"
diff --git a/drivers/char/tpm/tpm2-space.c b/drivers/char/tpm/tpm2-space.c
index 4a2773c3374f..982d341d8837 100644
--- a/drivers/char/tpm/tpm2-space.c
+++ b/drivers/char/tpm/tpm2-space.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2016 Intel Corporation 3 * Copyright (C) 2016 Intel Corporation
3 * 4 *
@@ -8,11 +9,6 @@
8 * 9 *
9 * This file contains TPM2 protocol implementations of the commands 10 * This file contains TPM2 protocol implementations of the commands
10 * used by the kernel internally. 11 * used by the kernel internally.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; version 2
15 * of the License.
16 */ 12 */
17 13
18#include <linux/gfp.h> 14#include <linux/gfp.h>
diff --git a/drivers/char/tpm/tpm_atmel.c b/drivers/char/tpm/tpm_atmel.c
index a290b30a0c35..54a6750a6757 100644
--- a/drivers/char/tpm/tpm_atmel.c
+++ b/drivers/char/tpm/tpm_atmel.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * 4 *
@@ -11,12 +12,6 @@
11 * 12 *
12 * Device driver for TCG/TCPA TPM (trusted platform module). 13 * Device driver for TCG/TCPA TPM (trusted platform module).
13 * Specifications at www.trustedcomputinggroup.org 14 * Specifications at www.trustedcomputinggroup.org
14 *
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License as
17 * published by the Free Software Foundation, version 2 of the
18 * License.
19 *
20 */ 15 */
21 16
22#include "tpm.h" 17#include "tpm.h"
diff --git a/drivers/char/tpm/tpm_atmel.h b/drivers/char/tpm/tpm_atmel.h
index 5c82eb47665e..ba37e77e8af3 100644
--- a/drivers/char/tpm/tpm_atmel.h
+++ b/drivers/char/tpm/tpm_atmel.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2005 IBM Corporation 3 * Copyright (C) 2005 IBM Corporation
3 * 4 *
@@ -9,17 +10,11 @@
9 * Device driver for TCG/TCPA TPM (trusted platform module). 10 * Device driver for TCG/TCPA TPM (trusted platform module).
10 * Specifications at www.trustedcomputinggroup.org 11 * Specifications at www.trustedcomputinggroup.org
11 * 12 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation, version 2 of the
15 * License.
16 *
17 * These difference are required on power because the device must be 13 * These difference are required on power because the device must be
18 * discovered through the device tree and iomap must be used to get 14 * discovered through the device tree and iomap must be used to get
19 * around the need for holes in the io_page_mask. This does not happen 15 * around the need for holes in the io_page_mask. This does not happen
20 * automatically because the tpm is not a normal pci device and lives 16 * automatically because the tpm is not a normal pci device and lives
21 * under the root node. 17 * under the root node.
22 *
23 */ 18 */
24 19
25struct tpm_atmel_priv { 20struct tpm_atmel_priv {
diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c
index 763fc7e6c005..e59f1f91d7f3 100644
--- a/drivers/char/tpm/tpm_crb.c
+++ b/drivers/char/tpm/tpm_crb.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2014 Intel Corporation 3 * Copyright (C) 2014 Intel Corporation
3 * 4 *
@@ -8,11 +9,6 @@
8 * 9 *
9 * This device driver implements the TPM interface as defined in 10 * This device driver implements the TPM interface as defined in
10 * the TCG CRB 2.0 TPM specification. 11 * the TCG CRB 2.0 TPM specification.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; version 2
15 * of the License.
16 */ 12 */
17 13
18#include <linux/acpi.h> 14#include <linux/acpi.h>
diff --git a/drivers/char/tpm/tpm_i2c_infineon.c b/drivers/char/tpm/tpm_i2c_infineon.c
index 3b4e9672ff6c..a19d32cb4e94 100644
--- a/drivers/char/tpm/tpm_i2c_infineon.c
+++ b/drivers/char/tpm/tpm_i2c_infineon.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012,2013 Infineon Technologies 3 * Copyright (C) 2012,2013 Infineon Technologies
3 * 4 *
@@ -13,13 +14,6 @@
13 * 14 *
14 * It is based on the original tpm_tis device driver from Leendert van 15 * It is based on the original tpm_tis device driver from Leendert van
15 * Dorn and Kyleen Hall. 16 * Dorn and Kyleen Hall.
16 *
17 * This program is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU General Public License as
19 * published by the Free Software Foundation, version 2 of the
20 * License.
21 *
22 *
23 */ 17 */
24#include <linux/i2c.h> 18#include <linux/i2c.h>
25#include <linux/module.h> 19#include <linux/module.h>
diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm/tpm_ibmvtpm.c
index 757ca45b39b8..78cc52690177 100644
--- a/drivers/char/tpm/tpm_ibmvtpm.c
+++ b/drivers/char/tpm/tpm_ibmvtpm.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012 IBM Corporation 3 * Copyright (C) 2012 IBM Corporation
3 * 4 *
@@ -7,12 +8,6 @@
7 * 8 *
8 * Device driver for TCG/TCPA TPM (trusted platform module). 9 * Device driver for TCG/TCPA TPM (trusted platform module).
9 * Specifications at www.trustedcomputinggroup.org 10 * Specifications at www.trustedcomputinggroup.org
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation, version 2 of the
14 * License.
15 *
16 */ 11 */
17 12
18#include <linux/dma-mapping.h> 13#include <linux/dma-mapping.h>
diff --git a/drivers/char/tpm/tpm_ibmvtpm.h b/drivers/char/tpm/tpm_ibmvtpm.h
index 91dfe766d080..7983f1a33267 100644
--- a/drivers/char/tpm/tpm_ibmvtpm.h
+++ b/drivers/char/tpm/tpm_ibmvtpm.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2012 IBM Corporation 3 * Copyright (C) 2012 IBM Corporation
3 * 4 *
@@ -7,12 +8,6 @@
7 * 8 *
8 * Device driver for TCG/TCPA TPM (trusted platform module). 9 * Device driver for TCG/TCPA TPM (trusted platform module).
9 * Specifications at www.trustedcomputinggroup.org 10 * Specifications at www.trustedcomputinggroup.org
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation, version 2 of the
14 * License.
15 *
16 */ 11 */
17 12
18#ifndef __TPM_IBMVTPM_H__ 13#ifndef __TPM_IBMVTPM_H__
diff --git a/drivers/char/tpm/tpm_infineon.c b/drivers/char/tpm/tpm_infineon.c
index 97f6d4fe0aee..9c924a1440a9 100644
--- a/drivers/char/tpm/tpm_infineon.c
+++ b/drivers/char/tpm/tpm_infineon.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Description: 3 * Description:
3 * Device Driver for the Infineon Technologies 4 * Device Driver for the Infineon Technologies
@@ -8,11 +9,6 @@
8 * Sirrix AG - security technologies <tpmdd@sirrix.com> and 9 * Sirrix AG - security technologies <tpmdd@sirrix.com> and
9 * Applied Data Security Group, Ruhr-University Bochum, Germany 10 * Applied Data Security Group, Ruhr-University Bochum, Germany
10 * Project-Homepage: http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/ 11 * Project-Homepage: http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation, version 2 of the
15 * License.
16 */ 12 */
17 13
18#include <linux/init.h> 14#include <linux/init.h>
diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c
index 9bee3c5eb4bf..038701d48351 100644
--- a/drivers/char/tpm/tpm_nsc.c
+++ b/drivers/char/tpm/tpm_nsc.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * 4 *
@@ -11,12 +12,6 @@
11 * 12 *
12 * Device driver for TCG/TCPA TPM (trusted platform module). 13 * Device driver for TCG/TCPA TPM (trusted platform module).
13 * Specifications at www.trustedcomputinggroup.org 14 * Specifications at www.trustedcomputinggroup.org
14 *
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License as
17 * published by the Free Software Foundation, version 2 of the
18 * License.
19 *
20 */ 15 */
21 16
22#include <linux/platform_device.h> 17#include <linux/platform_device.h>
diff --git a/drivers/char/tpm/tpm_ppi.c b/drivers/char/tpm/tpm_ppi.c
index 75e7a856177c..b2dab941cb7f 100644
--- a/drivers/char/tpm/tpm_ppi.c
+++ b/drivers/char/tpm/tpm_ppi.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012-2014 Intel Corporation 3 * Copyright (C) 2012-2014 Intel Corporation
3 * 4 *
@@ -9,11 +10,6 @@
9 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 10 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
10 * 11 *
11 * This file contains implementation of the sysfs interface for PPI. 12 * This file contains implementation of the sysfs interface for PPI.
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; version 2
16 * of the License.
17 */ 13 */
18 14
19 15
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index f08949a5f678..e4fdde93ed4c 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005, 2006 IBM Corporation 3 * Copyright (C) 2005, 2006 IBM Corporation
3 * Copyright (C) 2014, 2015 Intel Corporation 4 * Copyright (C) 2014, 2015 Intel Corporation
@@ -13,11 +14,6 @@
13 * 14 *
14 * This device driver implements the TPM interface as defined in 15 * This device driver implements the TPM interface as defined in
15 * the TCG TPM Interface Spec version 1.2, revision 1.0. 16 * the TCG TPM Interface Spec version 1.2, revision 1.0.
16 *
17 * This program is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU General Public License as
19 * published by the Free Software Foundation, version 2 of the
20 * License.
21 */ 17 */
22#include <linux/init.h> 18#include <linux/init.h>
23#include <linux/module.h> 19#include <linux/module.h>
diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core.c
index b9f64684c3fb..c3181ea9f271 100644
--- a/drivers/char/tpm/tpm_tis_core.c
+++ b/drivers/char/tpm/tpm_tis_core.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005, 2006 IBM Corporation 3 * Copyright (C) 2005, 2006 IBM Corporation
3 * Copyright (C) 2014, 2015 Intel Corporation 4 * Copyright (C) 2014, 2015 Intel Corporation
@@ -13,11 +14,6 @@
13 * 14 *
14 * This device driver implements the TPM interface as defined in 15 * This device driver implements the TPM interface as defined in
15 * the TCG TPM Interface Spec version 1.2, revision 1.0. 16 * the TCG TPM Interface Spec version 1.2, revision 1.0.
16 *
17 * This program is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU General Public License as
19 * published by the Free Software Foundation, version 2 of the
20 * License.
21 */ 17 */
22#include <linux/init.h> 18#include <linux/init.h>
23#include <linux/module.h> 19#include <linux/module.h>
diff --git a/drivers/char/tpm/tpm_tis_core.h b/drivers/char/tpm/tpm_tis_core.h
index f48125f1e6e0..7337819f5d7b 100644
--- a/drivers/char/tpm/tpm_tis_core.h
+++ b/drivers/char/tpm/tpm_tis_core.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2005, 2006 IBM Corporation 3 * Copyright (C) 2005, 2006 IBM Corporation
3 * Copyright (C) 2014, 2015 Intel Corporation 4 * Copyright (C) 2014, 2015 Intel Corporation
@@ -13,11 +14,6 @@
13 * 14 *
14 * This device driver implements the TPM interface as defined in 15 * This device driver implements the TPM interface as defined in
15 * the TCG TPM Interface Spec version 1.2, revision 1.0. 16 * the TCG TPM Interface Spec version 1.2, revision 1.0.
16 *
17 * This program is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU General Public License as
19 * published by the Free Software Foundation, version 2 of the
20 * License.
21 */ 17 */
22 18
23#ifndef __TPM_TIS_CORE_H__ 19#ifndef __TPM_TIS_CORE_H__
diff --git a/drivers/char/tpm/tpm_tis_spi.c b/drivers/char/tpm/tpm_tis_spi.c
index 9914f6973463..19513e622053 100644
--- a/drivers/char/tpm/tpm_tis_spi.c
+++ b/drivers/char/tpm/tpm_tis_spi.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2015 Infineon Technologies AG 3 * Copyright (C) 2015 Infineon Technologies AG
3 * Copyright (C) 2016 STMicroelectronics SAS 4 * Copyright (C) 2016 STMicroelectronics SAS
@@ -17,11 +18,6 @@
17 * 18 *
18 * It is based on the original tpm_tis device driver from Leendert van 19 * It is based on the original tpm_tis device driver from Leendert van
19 * Dorn and Kyleen Hall and Jarko Sakkinnen. 20 * Dorn and Kyleen Hall and Jarko Sakkinnen.
20 *
21 * This program is free software; you can redistribute it and/or
22 * modify it under the terms of the GNU General Public License as
23 * published by the Free Software Foundation, version 2 of the
24 * License.
25 */ 21 */
26 22
27#include <linux/init.h> 23#include <linux/init.h>
diff --git a/drivers/char/tpm/tpm_vtpm_proxy.c b/drivers/char/tpm/tpm_vtpm_proxy.c
index d74f3de74ae6..2f6e087ec496 100644
--- a/drivers/char/tpm/tpm_vtpm_proxy.c
+++ b/drivers/char/tpm/tpm_vtpm_proxy.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2015, 2016 IBM Corporation 3 * Copyright (C) 2015, 2016 IBM Corporation
3 * Copyright (C) 2016 Intel Corporation 4 * Copyright (C) 2016 Intel Corporation
@@ -7,12 +8,6 @@
7 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 8 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
8 * 9 *
9 * Device driver for vTPM (vTPM proxy driver) 10 * Device driver for vTPM (vTPM proxy driver)
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation, version 2 of the
14 * License.
15 *
16 */ 11 */
17 12
18#include <linux/types.h> 13#include <linux/types.h>
diff --git a/drivers/clk/pxa/clk-pxa.c b/drivers/clk/pxa/clk-pxa.c
index 5326f77eb35a..cfc79f942b07 100644
--- a/drivers/clk/pxa/clk-pxa.c
+++ b/drivers/clk/pxa/clk-pxa.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Marvell PXA family clocks 3 * Marvell PXA family clocks
3 * 4 *
4 * Copyright (C) 2014 Robert Jarzmik 5 * Copyright (C) 2014 Robert Jarzmik
5 * 6 *
6 * Common clock code for PXA clocks ("CKEN" type clocks + DT) 7 * Common clock code for PXA clocks ("CKEN" type clocks + DT)
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 */ 8 */
13#include <linux/clk.h> 9#include <linux/clk.h>
14#include <linux/clk-provider.h> 10#include <linux/clk-provider.h>
diff --git a/drivers/clk/pxa/clk-pxa.h b/drivers/clk/pxa/clk-pxa.h
index 2b90c5917b32..f131d2834af4 100644
--- a/drivers/clk/pxa/clk-pxa.h
+++ b/drivers/clk/pxa/clk-pxa.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Marvell PXA family clocks 3 * Marvell PXA family clocks
3 * 4 *
4 * Copyright (C) 2014 Robert Jarzmik 5 * Copyright (C) 2014 Robert Jarzmik
5 * 6 *
6 * Common clock code for PXA clocks ("CKEN" type clocks + DT) 7 * Common clock code for PXA clocks ("CKEN" type clocks + DT)
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 */ 8 */
13#ifndef _CLK_PXA_ 9#ifndef _CLK_PXA_
14#define _CLK_PXA_ 10#define _CLK_PXA_
diff --git a/drivers/clk/pxa/clk-pxa25x.c b/drivers/clk/pxa/clk-pxa25x.c
index e88f8e01fe3a..d0f957996acb 100644
--- a/drivers/clk/pxa/clk-pxa25x.c
+++ b/drivers/clk/pxa/clk-pxa25x.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Marvell PXA25x family clocks 3 * Marvell PXA25x family clocks
3 * 4 *
@@ -5,10 +6,6 @@
5 * 6 *
6 * Heavily inspired from former arch/arm/mach-pxa/pxa25x.c. 7 * Heavily inspired from former arch/arm/mach-pxa/pxa25x.c.
7 * 8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 * For non-devicetree platforms. Once pxa is fully converted to devicetree, this 9 * For non-devicetree platforms. Once pxa is fully converted to devicetree, this
13 * should go away. 10 * should go away.
14 */ 11 */
diff --git a/drivers/clk/pxa/clk-pxa27x.c b/drivers/clk/pxa/clk-pxa27x.c
index d40b63e7bbce..287fdeae7c7c 100644
--- a/drivers/clk/pxa/clk-pxa27x.c
+++ b/drivers/clk/pxa/clk-pxa27x.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Marvell PXA27x family clocks 3 * Marvell PXA27x family clocks
3 * 4 *
4 * Copyright (C) 2014 Robert Jarzmik 5 * Copyright (C) 2014 Robert Jarzmik
5 * 6 *
6 * Heavily inspired from former arch/arm/mach-pxa/clock.c. 7 * Heavily inspired from former arch/arm/mach-pxa/clock.c.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 */ 8 */
13#include <linux/clk-provider.h> 9#include <linux/clk-provider.h>
14#include <mach/pxa2xx-regs.h> 10#include <mach/pxa2xx-regs.h>
diff --git a/drivers/clk/pxa/clk-pxa3xx.c b/drivers/clk/pxa/clk-pxa3xx.c
index 7aa120c3bd08..60db92772e72 100644
--- a/drivers/clk/pxa/clk-pxa3xx.c
+++ b/drivers/clk/pxa/clk-pxa3xx.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Marvell PXA3xxx family clocks 3 * Marvell PXA3xxx family clocks
3 * 4 *
@@ -5,10 +6,6 @@
5 * 6 *
6 * Heavily inspired from former arch/arm/mach-pxa/pxa3xx.c 7 * Heavily inspired from former arch/arm/mach-pxa/pxa3xx.c
7 * 8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 * For non-devicetree platforms. Once pxa is fully converted to devicetree, this 9 * For non-devicetree platforms. Once pxa is fully converted to devicetree, this
13 * should go away. 10 * should go away.
14 */ 11 */
diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c
index 2ae978d27e61..8d8da763adc5 100644
--- a/drivers/cpufreq/cppc_cpufreq.c
+++ b/drivers/cpufreq/cppc_cpufreq.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * CPPC (Collaborative Processor Performance Control) driver for 3 * CPPC (Collaborative Processor Performance Control) driver for
3 * interfacing with the CPUfreq layer and governors. See 4 * interfacing with the CPUfreq layer and governors. See
@@ -5,11 +6,6 @@
5 * 6 *
6 * (C) Copyright 2014, 2015 Linaro Ltd. 7 * (C) Copyright 2014, 2015 Linaro Ltd.
7 * Author: Ashwin Chaugule <ashwin.chaugule@linaro.org> 8 * Author: Ashwin Chaugule <ashwin.chaugule@linaro.org>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2
12 * of the License.
13 */ 9 */
14 10
15#define pr_fmt(fmt) "CPPC Cpufreq:" fmt 11#define pr_fmt(fmt) "CPPC Cpufreq:" fmt
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 34b54df41aaa..f2ff5de988c1 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * intel_pstate.c: Native P state management for Intel processors 3 * intel_pstate.c: Native P state management for Intel processors
3 * 4 *
4 * (C) Copyright 2012 Intel Corporation 5 * (C) Copyright 2012 Intel Corporation
5 * Author: Dirk Brandewie <dirk.j.brandewie@intel.com> 6 * Author: Dirk Brandewie <dirk.j.brandewie@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 9#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/drivers/crypto/amcc/crypto4xx_trng.c b/drivers/crypto/amcc/crypto4xx_trng.c
index 53ab1f140a26..02a6bed3b062 100644
--- a/drivers/crypto/amcc/crypto4xx_trng.c
+++ b/drivers/crypto/amcc/crypto4xx_trng.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Generic PowerPC 44x RNG driver 3 * Generic PowerPC 44x RNG driver
3 * 4 *
4 * Copyright 2011 IBM Corporation 5 * Copyright 2011 IBM Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; version 2 of the License.
9 */ 6 */
10 7
11#include <linux/module.h> 8#include <linux/module.h>
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c
index fd3202c30f69..677095769182 100644
--- a/drivers/edac/ppc4xx_edac.c
+++ b/drivers/edac/ppc4xx_edac.c
@@ -1,12 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2008 Nuovation System Designs, LLC 3 * Copyright (c) 2008 Nuovation System Designs, LLC
3 * Grant Erickson <gerickson@nuovations.com> 4 * Grant Erickson <gerickson@nuovations.com>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; version 2 of the
8 * License.
9 *
10 */ 5 */
11 6
12#include <linux/edac.h> 7#include <linux/edac.h>
diff --git a/drivers/edac/ppc4xx_edac.h b/drivers/edac/ppc4xx_edac.h
index d3154764c449..b38459aa58ee 100644
--- a/drivers/edac/ppc4xx_edac.h
+++ b/drivers/edac/ppc4xx_edac.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (c) 2008 Nuovation System Designs, LLC 3 * Copyright (c) 2008 Nuovation System Designs, LLC
3 * Grant Erickson <gerickson@nuovations.com> 4 * Grant Erickson <gerickson@nuovations.com>
@@ -5,12 +6,6 @@
5 * This file defines processor mnemonics for accessing and managing 6 * This file defines processor mnemonics for accessing and managing
6 * the IBM DDR1/DDR2 ECC controller found in the 405EX[r], 440SP, 7 * the IBM DDR1/DDR2 ECC controller found in the 405EX[r], 440SP,
7 * 440SPe, 460EX, 460GT and 460SX. 8 * 440SPe, 460EX, 460GT and 460SX.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; version 2 of the
12 * License.
13 *
14 */ 9 */
15 10
16#ifndef __PPC4XX_EDAC_H 11#ifndef __PPC4XX_EDAC_H
diff --git a/drivers/fpga/ice40-spi.c b/drivers/fpga/ice40-spi.c
index 6154661b8f76..56e112e14a10 100644
--- a/drivers/fpga/ice40-spi.c
+++ b/drivers/fpga/ice40-spi.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * FPGA Manager Driver for Lattice iCE40. 3 * FPGA Manager Driver for Lattice iCE40.
3 * 4 *
4 * Copyright (c) 2016 Joel Holdsworth 5 * Copyright (c) 2016 Joel Holdsworth
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This driver adds support to the FPGA manager for configuring the SRAM of 7 * This driver adds support to the FPGA manager for configuring the SRAM of
11 * Lattice iCE40 FPGAs through slave SPI. 8 * Lattice iCE40 FPGAs through slave SPI.
12 */ 9 */
diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c
index f03cb0ba7726..5e4102e7b1f9 100644
--- a/drivers/gpio/gpio-max732x.c
+++ b/drivers/gpio/gpio-max732x.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MAX732x I2C Port Expander with 8/16 I/O 3 * MAX732x I2C Port Expander with 8/16 I/O
3 * 4 *
@@ -7,10 +8,6 @@
7 * Copyright (C) 2015 Linus Walleij <linus.walleij@linaro.org> 8 * Copyright (C) 2015 Linus Walleij <linus.walleij@linaro.org>
8 * 9 *
9 * Derived from drivers/gpio/pca953x.c 10 * Derived from drivers/gpio/pca953x.c
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; version 2 of the License.
14 */ 11 */
15 12
16#include <linux/module.h> 13#include <linux/module.h>
diff --git a/drivers/gpio/gpio-menz127.c b/drivers/gpio/gpio-menz127.c
index b2635326546e..70fdb42a8e88 100644
--- a/drivers/gpio/gpio-menz127.c
+++ b/drivers/gpio/gpio-menz127.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MEN 16Z127 GPIO driver 3 * MEN 16Z127 GPIO driver
3 * 4 *
4 * Copyright (C) 2016 MEN Mikroelektronik GmbH (www.men.de) 5 * Copyright (C) 2016 MEN Mikroelektronik GmbH (www.men.de)
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; version 2 of the License.
9 */ 6 */
10 7
11#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index b7ef33f63392..2328d04201a9 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * PCA953x 4/8/16/24/40 bit I/O ports 3 * PCA953x 4/8/16/24/40 bit I/O ports
3 * 4 *
@@ -5,10 +6,6 @@
5 * Copyright (C) 2007 Marvell International Ltd. 6 * Copyright (C) 2007 Marvell International Ltd.
6 * 7 *
7 * Derived from drivers/i2c/chips/pca9539.c 8 * Derived from drivers/i2c/chips/pca9539.c
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; version 2 of the License.
12 */ 9 */
13 10
14#include <linux/acpi.h> 11#include <linux/acpi.h>
diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index 72fc9c0566db..3d2e6d254e7d 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * HIDPP protocol for Logitech Unifying receivers 3 * HIDPP protocol for Logitech Unifying receivers
3 * 4 *
@@ -6,11 +7,6 @@
6 * Copyright (c) 2013-2014 Red Hat Inc. 7 * Copyright (c) 2013-2014 Red Hat Inc.
7 */ 8 */
8 9
9/*
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the Free
12 * Software Foundation; version 2 of the License.
13 */
14 10
15#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 11#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
16 12
diff --git a/drivers/hwmon/hwmon.c b/drivers/hwmon/hwmon.c
index e694c46ff039..35d58736a3ed 100644
--- a/drivers/hwmon/hwmon.c
+++ b/drivers/hwmon/hwmon.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * hwmon.c - part of lm_sensors, Linux kernel modules for hardware monitoring 3 * hwmon.c - part of lm_sensors, Linux kernel modules for hardware monitoring
3 * 4 *
4 * This file defines the sysfs class "hwmon", for use by sensors drivers. 5 * This file defines the sysfs class "hwmon", for use by sensors drivers.
5 * 6 *
6 * Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com> 7 * Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 */ 8 */
12 9
13#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 10#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/drivers/hwmon/ina209.c b/drivers/hwmon/ina209.c
index 6a4ec2f2ddb2..70ad1efcb3de 100644
--- a/drivers/hwmon/ina209.c
+++ b/drivers/hwmon/ina209.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for the Texas Instruments / Burr Brown INA209 3 * Driver for the Texas Instruments / Burr Brown INA209
3 * Bidirectional Current/Power Monitor 4 * Bidirectional Current/Power Monitor
@@ -12,10 +13,6 @@
12 * Copyright (C) 2012 Lothar Felten <l-felten@ti.com> 13 * Copyright (C) 2012 Lothar Felten <l-felten@ti.com>
13 * Thanks to Jan Volkering 14 * Thanks to Jan Volkering
14 * 15 *
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; version 2 of the License.
18 *
19 * Datasheet: 16 * Datasheet:
20 * http://www.ti.com/lit/gpn/ina209 17 * http://www.ti.com/lit/gpn/ina209
21 */ 18 */
diff --git a/drivers/hwmon/ina2xx.c b/drivers/hwmon/ina2xx.c
index 42df51f8cdf2..e9e78c0b7212 100644
--- a/drivers/hwmon/ina2xx.c
+++ b/drivers/hwmon/ina2xx.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for Texas Instruments INA219, INA226 power monitor chips 3 * Driver for Texas Instruments INA219, INA226 power monitor chips
3 * 4 *
@@ -19,10 +20,6 @@
19 * 20 *
20 * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com> 21 * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com>
21 * Thanks to Jan Volkering 22 * Thanks to Jan Volkering
22 *
23 * This program is free software; you can redistribute it and/or modify
24 * it under the terms of the GNU General Public License as published by
25 * the Free Software Foundation; version 2 of the License.
26 */ 23 */
27 24
28#include <linux/kernel.h> 25#include <linux/kernel.h>
diff --git a/drivers/hwmon/ltc4215.c b/drivers/hwmon/ltc4215.c
index d4a1d033d3e8..f783ac19675e 100644
--- a/drivers/hwmon/ltc4215.c
+++ b/drivers/hwmon/ltc4215.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for Linear Technology LTC4215 I2C Hot Swap Controller 3 * Driver for Linear Technology LTC4215 I2C Hot Swap Controller
3 * 4 *
4 * Copyright (C) 2009 Ira W. Snyder <iws@ovro.caltech.edu> 5 * Copyright (C) 2009 Ira W. Snyder <iws@ovro.caltech.edu>
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * Datasheet: 7 * Datasheet:
11 * http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1003,C1006,C1163,P17572,D12697 8 * http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1003,C1006,C1163,P17572,D12697
12 */ 9 */
diff --git a/drivers/hwmon/ltc4245.c b/drivers/hwmon/ltc4245.c
index 26542635de9b..244a83d675cd 100644
--- a/drivers/hwmon/ltc4245.c
+++ b/drivers/hwmon/ltc4245.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for Linear Technology LTC4245 I2C Multiple Supply Hot Swap Controller 3 * Driver for Linear Technology LTC4245 I2C Multiple Supply Hot Swap Controller
3 * 4 *
4 * Copyright (C) 2008 Ira W. Snyder <iws@ovro.caltech.edu> 5 * Copyright (C) 2008 Ira W. Snyder <iws@ovro.caltech.edu>
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This driver is based on the ds1621 and ina209 drivers. 7 * This driver is based on the ds1621 and ina209 drivers.
11 * 8 *
12 * Datasheet: 9 * Datasheet:
diff --git a/drivers/hwmon/max16065.c b/drivers/hwmon/max16065.c
index 1c372f76cd0b..49b7e0b6d1bb 100644
--- a/drivers/hwmon/max16065.c
+++ b/drivers/hwmon/max16065.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for 3 * Driver for
3 * Maxim MAX16065/MAX16066 12-Channel/8-Channel, Flash-Configurable 4 * Maxim MAX16065/MAX16066 12-Channel/8-Channel, Flash-Configurable
@@ -8,10 +9,6 @@
8 * Monitors with Nonvolatile Fault Registers 9 * Monitors with Nonvolatile Fault Registers
9 * 10 *
10 * Copyright (C) 2011 Ericsson AB. 11 * Copyright (C) 2011 Ericsson AB.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; version 2 of the License.
15 */ 12 */
16 13
17#include <linux/kernel.h> 14#include <linux/kernel.h>
diff --git a/drivers/hwmon/smm665.c b/drivers/hwmon/smm665.c
index 627c9c3a8255..d8c91c2cb8cf 100644
--- a/drivers/hwmon/smm665.c
+++ b/drivers/hwmon/smm665.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for SMM665 Power Controller / Monitor 3 * Driver for SMM665 Power Controller / Monitor
3 * 4 *
4 * Copyright (C) 2010 Ericsson AB. 5 * Copyright (C) 2010 Ericsson AB.
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This driver should also work for SMM465, SMM764, and SMM766, but is untested 7 * This driver should also work for SMM465, SMM764, and SMM766, but is untested
11 * for those chips. Only monitoring functionality is implemented. 8 * for those chips. Only monitoring functionality is implemented.
12 * 9 *
diff --git a/drivers/i2c/i2c-slave-eeprom.c b/drivers/i2c/i2c-slave-eeprom.c
index b2039f94c9d8..be65d3842878 100644
--- a/drivers/i2c/i2c-slave-eeprom.c
+++ b/drivers/i2c/i2c-slave-eeprom.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * I2C slave mode EEPROM simulator 3 * I2C slave mode EEPROM simulator
3 * 4 *
4 * Copyright (C) 2014 by Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> 5 * Copyright (C) 2014 by Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
5 * Copyright (C) 2014 by Renesas Electronics Corporation 6 * Copyright (C) 2014 by Renesas Electronics Corporation
6 * 7 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; version 2 of the License.
10 *
11 * Because most IP blocks can only detect one I2C slave address anyhow, this 8 * Because most IP blocks can only detect one I2C slave address anyhow, this
12 * driver does not support simulating EEPROM types which take more than one 9 * driver does not support simulating EEPROM types which take more than one
13 * address. It is prepared to simulate bigger EEPROMs with an internal 16 bit 10 * address. It is prepared to simulate bigger EEPROMs with an internal 16 bit
diff --git a/drivers/i2c/muxes/i2c-demux-pinctrl.c b/drivers/i2c/muxes/i2c-demux-pinctrl.c
index 4eecffc26527..0e16490eb3a1 100644
--- a/drivers/i2c/muxes/i2c-demux-pinctrl.c
+++ b/drivers/i2c/muxes/i2c-demux-pinctrl.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Pinctrl based I2C DeMultiplexer 3 * Pinctrl based I2C DeMultiplexer
3 * 4 *
4 * Copyright (C) 2015-16 by Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> 5 * Copyright (C) 2015-16 by Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
5 * Copyright (C) 2015-16 by Renesas Electronics Corporation 6 * Copyright (C) 2015-16 by Renesas Electronics Corporation
6 * 7 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; version 2 of the License.
10 *
11 * See the bindings doc for DTS setup and the sysfs doc for usage information. 8 * See the bindings doc for DTS setup and the sysfs doc for usage information.
12 * (look for filenames containing 'i2c-demux-pinctrl' in Documentation/) 9 * (look for filenames containing 'i2c-demux-pinctrl' in Documentation/)
13 */ 10 */
diff --git a/drivers/iio/adc/men_z188_adc.c b/drivers/iio/adc/men_z188_adc.c
index c80261748d8f..3b2fbb7ce431 100644
--- a/drivers/iio/adc/men_z188_adc.c
+++ b/drivers/iio/adc/men_z188_adc.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MEN 16z188 Analog to Digial Converter 3 * MEN 16z188 Analog to Digial Converter
3 * 4 *
4 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de) 5 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de)
5 * Author: Johannes Thumshirn <johannes.thumshirn@men.de> 6 * Author: Johannes Thumshirn <johannes.thumshirn@men.de>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */ 7 */
11 8
12#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/drivers/input/keyboard/w90p910_keypad.c b/drivers/input/keyboard/w90p910_keypad.c
index a1ff69c53102..c88d05d6108a 100644
--- a/drivers/input/keyboard/w90p910_keypad.c
+++ b/drivers/input/keyboard/w90p910_keypad.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2008-2009 Nuvoton technology corporation. 3 * Copyright (c) 2008-2009 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/drivers/input/misc/soc_button_array.c b/drivers/input/misc/soc_button_array.c
index bb458beecb43..5e59f8e57f8e 100644
--- a/drivers/input/misc/soc_button_array.c
+++ b/drivers/input/misc/soc_button_array.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Supports for the button array on SoC tablets originally running 3 * Supports for the button array on SoC tablets originally running
3 * Windows 8. 4 * Windows 8.
4 * 5 *
5 * (C) Copyright 2014 Intel Corporation 6 * (C) Copyright 2014 Intel Corporation
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/module.h> 9#include <linux/module.h>
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index f7c1d168dd89..5178ea8b5f30 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for Goodix Touchscreens 3 * Driver for Goodix Touchscreens
3 * 4 *
@@ -9,11 +10,6 @@
9 * 2010 - 2012 Goodix Technology. 10 * 2010 - 2012 Goodix Technology.
10 */ 11 */
11 12
12/*
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the Free
15 * Software Foundation; version 2 of the License.
16 */
17 13
18#include <linux/kernel.h> 14#include <linux/kernel.h>
19#include <linux/dmi.h> 15#include <linux/dmi.h>
diff --git a/drivers/input/touchscreen/surface3_spi.c b/drivers/input/touchscreen/surface3_spi.c
index 5db0f1c4ef38..ce4828b1415a 100644
--- a/drivers/input/touchscreen/surface3_spi.c
+++ b/drivers/input/touchscreen/surface3_spi.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for Ntrig/Microsoft Touchscreens over SPI 3 * Driver for Ntrig/Microsoft Touchscreens over SPI
3 * 4 *
4 * Copyright (c) 2016 Red Hat Inc. 5 * Copyright (c) 2016 Red Hat Inc.
5 */ 6 */
6 7
7/*
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the Free
10 * Software Foundation; version 2 of the License.
11 */
12 8
13#include <linux/kernel.h> 9#include <linux/kernel.h>
14 10
diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c
index 638c1d78ca3a..7893d7fa398c 100644
--- a/drivers/input/touchscreen/w90p910_ts.c
+++ b/drivers/input/touchscreen/w90p910_ts.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2008 Nuvoton technology corporation. 3 * Copyright (c) 2008 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/delay.h> 8#include <linux/delay.h>
diff --git a/drivers/ipack/carriers/tpci200.c b/drivers/ipack/carriers/tpci200.c
index 8a9c169b6f99..d246d74ec3a5 100644
--- a/drivers/ipack/carriers/tpci200.c
+++ b/drivers/ipack/carriers/tpci200.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * tpci200.c 3 * tpci200.c
3 * 4 *
@@ -6,10 +7,6 @@
6 * Copyright (C) 2009-2012 CERN (www.cern.ch) 7 * Copyright (C) 2009-2012 CERN (www.cern.ch)
7 * Author: Nicolas Serafini, EIC2 SA 8 * Author: Nicolas Serafini, EIC2 SA
8 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> 9 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the Free
12 * Software Foundation; version 2 of the License.
13 */ 10 */
14 11
15#include <linux/module.h> 12#include <linux/module.h>
diff --git a/drivers/ipack/carriers/tpci200.h b/drivers/ipack/carriers/tpci200.h
index a7a151dab83c..2619f827e33f 100644
--- a/drivers/ipack/carriers/tpci200.h
+++ b/drivers/ipack/carriers/tpci200.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/** 2/**
2 * tpci200.h 3 * tpci200.h
3 * 4 *
@@ -6,10 +7,6 @@
6 * Copyright (C) 2009-2012 CERN (www.cern.ch) 7 * Copyright (C) 2009-2012 CERN (www.cern.ch)
7 * Author: Nicolas Serafini, EIC2 SA 8 * Author: Nicolas Serafini, EIC2 SA
8 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> 9 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the Free
12 * Software Foundation; version 2 of the License.
13 */ 10 */
14 11
15#ifndef _TPCI200_H_ 12#ifndef _TPCI200_H_
diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c
index 75dd15d66df6..9c2a4b5d30cf 100644
--- a/drivers/ipack/devices/ipoctal.c
+++ b/drivers/ipack/devices/ipoctal.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * ipoctal.c 3 * ipoctal.c
3 * 4 *
@@ -6,10 +7,6 @@
6 * Copyright (C) 2009-2012 CERN (www.cern.ch) 7 * Copyright (C) 2009-2012 CERN (www.cern.ch)
7 * Author: Nicolas Serafini, EIC2 SA 8 * Author: Nicolas Serafini, EIC2 SA
8 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> 9 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the Free
12 * Software Foundation; version 2 of the License.
13 */ 10 */
14 11
15#include <linux/device.h> 12#include <linux/device.h>
diff --git a/drivers/ipack/devices/ipoctal.h b/drivers/ipack/devices/ipoctal.h
index 7fede0eb6a0c..920537883238 100644
--- a/drivers/ipack/devices/ipoctal.h
+++ b/drivers/ipack/devices/ipoctal.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/** 2/**
2 * ipoctal.h 3 * ipoctal.h
3 * 4 *
@@ -6,10 +7,6 @@
6 * Copyright (C) 2009-2012 CERN (www.cern.ch) 7 * Copyright (C) 2009-2012 CERN (www.cern.ch)
7 * Author: Nicolas Serafini, EIC2 SA 8 * Author: Nicolas Serafini, EIC2 SA
8 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> 9 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the Free
12 * Software Foundation; version 2 of the License.
13 */ 10 */
14 11
15#ifndef _IPOCTAL_H_ 12#ifndef _IPOCTAL_H_
diff --git a/drivers/ipack/devices/scc2698.h b/drivers/ipack/devices/scc2698.h
index 2ad6acd513fa..9649576ce77e 100644
--- a/drivers/ipack/devices/scc2698.h
+++ b/drivers/ipack/devices/scc2698.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * scc2698.h 3 * scc2698.h
3 * 4 *
@@ -6,10 +7,6 @@
6 * Copyright (C) 2009-2012 CERN (www.cern.ch) 7 * Copyright (C) 2009-2012 CERN (www.cern.ch)
7 * Author: Nicolas Serafini, EIC2 SA 8 * Author: Nicolas Serafini, EIC2 SA
8 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> 9 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the Free
12 * Software Foundation; version 2 of the License.
13 */ 10 */
14 11
15#ifndef SCC2698_H_ 12#ifndef SCC2698_H_
diff --git a/drivers/ipack/ipack.c b/drivers/ipack/ipack.c
index a1e07a77d4e6..9267a85fee18 100644
--- a/drivers/ipack/ipack.c
+++ b/drivers/ipack/ipack.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Industry-pack bus support functions. 3 * Industry-pack bus support functions.
3 * 4 *
4 * Copyright (C) 2011-2012 CERN (www.cern.ch) 5 * Copyright (C) 2011-2012 CERN (www.cern.ch)
5 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> 6 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */ 7 */
11 8
12#include <linux/module.h> 9#include <linux/module.h>
diff --git a/drivers/leds/leds-pca9532.c b/drivers/leds/leds-pca9532.c
index 7cb4d685a1f1..290871072d65 100644
--- a/drivers/leds/leds-pca9532.c
+++ b/drivers/leds/leds-pca9532.c
@@ -1,15 +1,11 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * pca9532.c - 16-bit Led dimmer 3 * pca9532.c - 16-bit Led dimmer
3 * 4 *
4 * Copyright (C) 2011 Jan Weitzel 5 * Copyright (C) 2011 Jan Weitzel
5 * Copyright (C) 2008 Riku Voipio 6 * Copyright (C) 2008 Riku Voipio
6 * 7 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * Datasheet: http://www.nxp.com/documents/data_sheet/PCA9532.pdf 8 * Datasheet: http://www.nxp.com/documents/data_sheet/PCA9532.pdf
12 *
13 */ 9 */
14 10
15#include <linux/module.h> 11#include <linux/module.h>
diff --git a/drivers/leds/leds-tlc591xx.c b/drivers/leds/leds-tlc591xx.c
index f5357f6d9e58..59ff088c7d75 100644
--- a/drivers/leds/leds-tlc591xx.c
+++ b/drivers/leds/leds-tlc591xx.c
@@ -1,10 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2014 Belkin Inc. 3 * Copyright 2014 Belkin Inc.
3 * Copyright 2015 Andrew Lunn <andrew@lunn.ch> 4 * Copyright 2015 Andrew Lunn <andrew@lunn.ch>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 */ 5 */
9 6
10#include <linux/i2c.h> 7#include <linux/i2c.h>
diff --git a/drivers/mcb/mcb-core.c b/drivers/mcb/mcb-core.c
index bb5c5692dedc..b72e82efaee5 100644
--- a/drivers/mcb/mcb-core.c
+++ b/drivers/mcb/mcb-core.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MEN Chameleon Bus. 3 * MEN Chameleon Bus.
3 * 4 *
4 * Copyright (C) 2013 MEN Mikroelektronik GmbH (www.men.de) 5 * Copyright (C) 2013 MEN Mikroelektronik GmbH (www.men.de)
5 * Author: Johannes Thumshirn <johannes.thumshirn@men.de> 6 * Author: Johannes Thumshirn <johannes.thumshirn@men.de>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */ 7 */
11#include <linux/kernel.h> 8#include <linux/kernel.h>
12#include <linux/module.h> 9#include <linux/module.h>
diff --git a/drivers/mcb/mcb-lpc.c b/drivers/mcb/mcb-lpc.c
index 945091a88354..8f1bde437a7e 100644
--- a/drivers/mcb/mcb-lpc.c
+++ b/drivers/mcb/mcb-lpc.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MEN Chameleon Bus. 3 * MEN Chameleon Bus.
3 * 4 *
4 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de) 5 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de)
5 * Author: Andreas Werner <andreas.werner@men.de> 6 * Author: Andreas Werner <andreas.werner@men.de>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */ 7 */
11 8
12#include <linux/platform_device.h> 9#include <linux/platform_device.h>
diff --git a/drivers/mcb/mcb-pci.c b/drivers/mcb/mcb-pci.c
index c2d69e33bf2b..14866aa22f75 100644
--- a/drivers/mcb/mcb-pci.c
+++ b/drivers/mcb/mcb-pci.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MEN Chameleon Bus. 3 * MEN Chameleon Bus.
3 * 4 *
4 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de) 5 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de)
5 * Author: Johannes Thumshirn <johannes.thumshirn@men.de> 6 * Author: Johannes Thumshirn <johannes.thumshirn@men.de>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */ 7 */
11 8
12#include <linux/module.h> 9#include <linux/module.h>
diff --git a/drivers/mfd/htc-pasic3.c b/drivers/mfd/htc-pasic3.c
index e88d4f6fef4c..0c46b7e64b2d 100644
--- a/drivers/mfd/htc-pasic3.c
+++ b/drivers/mfd/htc-pasic3.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Core driver for HTC PASIC3 LED/DS1WM chip. 3 * Core driver for HTC PASIC3 LED/DS1WM chip.
3 * 4 *
4 * Copyright (C) 2006 Philipp Zabel <philipp.zabel@gmail.com> 5 * Copyright (C) 2006 Philipp Zabel <philipp.zabel@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 */ 6 */
10 7
11#include <linux/init.h> 8#include <linux/init.h>
diff --git a/drivers/misc/eeprom/max6875.c b/drivers/misc/eeprom/max6875.c
index fc0cf9a7402e..4d0cb90f4aeb 100644
--- a/drivers/misc/eeprom/max6875.c
+++ b/drivers/misc/eeprom/max6875.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * max6875.c - driver for MAX6874/MAX6875 3 * max6875.c - driver for MAX6874/MAX6875
3 * 4 *
@@ -20,10 +21,6 @@
20 * 21 *
21 * Note that the MAX6875 uses i2c_smbus_write_byte_data() to set the read 22 * Note that the MAX6875 uses i2c_smbus_write_byte_data() to set the read
22 * address, so this driver is destructive if loaded for the wrong EEPROM chip. 23 * address, so this driver is destructive if loaded for the wrong EEPROM chip.
23 *
24 * This program is free software; you can redistribute it and/or modify
25 * it under the terms of the GNU General Public License as published by
26 * the Free Software Foundation; version 2 of the License.
27 */ 24 */
28 25
29#include <linux/kernel.h> 26#include <linux/kernel.h>
diff --git a/drivers/mmc/host/sdhci_f_sdh30.c b/drivers/mmc/host/sdhci_f_sdh30.c
index 485f7591fae4..e369cbf1ff02 100644
--- a/drivers/mmc/host/sdhci_f_sdh30.c
+++ b/drivers/mmc/host/sdhci_f_sdh30.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/drivers/mmc/host/sdhci_f_sdh30.c 3 * linux/drivers/mmc/host/sdhci_f_sdh30.c
3 * 4 *
4 * Copyright (C) 2013 - 2015 Fujitsu Semiconductor, Ltd 5 * Copyright (C) 2013 - 2015 Fujitsu Semiconductor, Ltd
5 * Vincent Yang <vincent.yang@tw.fujitsu.com> 6 * Vincent Yang <vincent.yang@tw.fujitsu.com>
6 * Copyright (C) 2015 Linaro Ltd Andy Green <andy.green@linaro.org> 7 * Copyright (C) 2015 Linaro Ltd Andy Green <andy.green@linaro.org>
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, version 2 of the License.
11 */ 8 */
12 9
13#include <linux/acpi.h> 10#include <linux/acpi.h>
diff --git a/drivers/mtd/nand/raw/nuc900_nand.c b/drivers/mtd/nand/raw/nuc900_nand.c
index 56fa84029482..13bf7b2894d3 100644
--- a/drivers/mtd/nand/raw/nuc900_nand.c
+++ b/drivers/mtd/nand/raw/nuc900_nand.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright © 2009 Nuvoton technology corporation. 3 * Copyright © 2009 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/slab.h> 8#include <linux/slab.h>
diff --git a/drivers/net/ethernet/nuvoton/w90p910_ether.c b/drivers/net/ethernet/nuvoton/w90p910_ether.c
index 67bf02b0763a..3d73970b3a2e 100644
--- a/drivers/net/ethernet/nuvoton/w90p910_ether.c
+++ b/drivers/net/ethernet/nuvoton/w90p910_ether.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2008-2009 Nuvoton technology corporation. 3 * Copyright (c) 2008-2009 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/module.h> 8#include <linux/module.h>
diff --git a/drivers/pinctrl/pxa/pinctrl-pxa25x.c b/drivers/pinctrl/pxa/pinctrl-pxa25x.c
index b98ecb3c0683..8d1247078ae5 100644
--- a/drivers/pinctrl/pxa/pinctrl-pxa25x.c
+++ b/drivers/pinctrl/pxa/pinctrl-pxa25x.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Marvell PXA25x family pin control 3 * Marvell PXA25x family pin control
3 * 4 *
4 * Copyright (C) 2016 Robert Jarzmik 5 * Copyright (C) 2016 Robert Jarzmik
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 */ 6 */
11#include <linux/module.h> 7#include <linux/module.h>
12#include <linux/platform_device.h> 8#include <linux/platform_device.h>
diff --git a/drivers/pinctrl/pxa/pinctrl-pxa27x.c b/drivers/pinctrl/pxa/pinctrl-pxa27x.c
index 2e2c3709ef05..64943e819af6 100644
--- a/drivers/pinctrl/pxa/pinctrl-pxa27x.c
+++ b/drivers/pinctrl/pxa/pinctrl-pxa27x.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Marvell PXA27x family pin control 3 * Marvell PXA27x family pin control
3 * 4 *
4 * Copyright (C) 2015 Robert Jarzmik 5 * Copyright (C) 2015 Robert Jarzmik
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 */ 6 */
11#include <linux/module.h> 7#include <linux/module.h>
12#include <linux/platform_device.h> 8#include <linux/platform_device.h>
diff --git a/drivers/pinctrl/pxa/pinctrl-pxa2xx.c b/drivers/pinctrl/pxa/pinctrl-pxa2xx.c
index 6cf0006d4c8d..21c370dbbfba 100644
--- a/drivers/pinctrl/pxa/pinctrl-pxa2xx.c
+++ b/drivers/pinctrl/pxa/pinctrl-pxa2xx.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Marvell PXA2xx family pin control 3 * Marvell PXA2xx family pin control
3 * 4 *
4 * Copyright (C) 2015 Robert Jarzmik 5 * Copyright (C) 2015 Robert Jarzmik
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/bitops.h> 8#include <linux/bitops.h>
diff --git a/drivers/pinctrl/pxa/pinctrl-pxa2xx.h b/drivers/pinctrl/pxa/pinctrl-pxa2xx.h
index 8be1e0b79751..d86d47dbbc94 100644
--- a/drivers/pinctrl/pxa/pinctrl-pxa2xx.h
+++ b/drivers/pinctrl/pxa/pinctrl-pxa2xx.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Marvell PXA2xx family pin control 3 * Marvell PXA2xx family pin control
3 * 4 *
4 * Copyright (C) 2015 Robert Jarzmik 5 * Copyright (C) 2015 Robert Jarzmik
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 */ 6 */
11 7
12#ifndef __PINCTRL_PXA_H 8#ifndef __PINCTRL_PXA_H
diff --git a/drivers/platform/x86/surface3-wmi.c b/drivers/platform/x86/surface3-wmi.c
index 25b176996cb7..130b6f52a600 100644
--- a/drivers/platform/x86/surface3-wmi.c
+++ b/drivers/platform/x86/surface3-wmi.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Driver for the LID cover switch of the Surface 3 3 * Driver for the LID cover switch of the Surface 3
3 * 4 *
4 * Copyright (c) 2016 Red Hat Inc. 5 * Copyright (c) 2016 Red Hat Inc.
5 */ 6 */
6 7
7/*
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the Free
10 * Software Foundation; version 2 of the License.
11 */
12 8
13#include <linux/kernel.h> 9#include <linux/kernel.h>
14#include <linux/module.h> 10#include <linux/module.h>
diff --git a/drivers/platform/x86/surface3_button.c b/drivers/platform/x86/surface3_button.c
index 57f51476bb65..48d77e7aae76 100644
--- a/drivers/platform/x86/surface3_button.c
+++ b/drivers/platform/x86/surface3_button.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Supports for the button array on the Surface tablets. 3 * Supports for the button array on the Surface tablets.
3 * 4 *
@@ -6,11 +7,6 @@
6 * Based on soc_button_array.c: 7 * Based on soc_button_array.c:
7 * 8 *
8 * {C} Copyright 2014 Intel Corporation 9 * {C} Copyright 2014 Intel Corporation
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; version 2
13 * of the License.
14 */ 10 */
15 11
16#include <linux/module.h> 12#include <linux/module.h>
diff --git a/drivers/platform/x86/surfacepro3_button.c b/drivers/platform/x86/surfacepro3_button.c
index 1b491690ce07..47c6d000465a 100644
--- a/drivers/platform/x86/surfacepro3_button.c
+++ b/drivers/platform/x86/surfacepro3_button.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * power/home/volume button support for 3 * power/home/volume button support for
3 * Microsoft Surface Pro 3/4 tablet. 4 * Microsoft Surface Pro 3/4 tablet.
4 * 5 *
5 * Copyright (c) 2015 Intel Corporation. 6 * Copyright (c) 2015 Intel Corporation.
6 * All rights reserved. 7 * All rights reserved.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/rtc/rtc-mrst.c b/drivers/rtc/rtc-mrst.c
index daf354a6a853..17bf5394e1e5 100644
--- a/drivers/rtc/rtc-mrst.c
+++ b/drivers/rtc/rtc-mrst.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * rtc-mrst.c: Driver for Moorestown virtual RTC 3 * rtc-mrst.c: Driver for Moorestown virtual RTC
3 * 4 *
@@ -5,11 +6,6 @@
5 * Author: Jacob Pan (jacob.jun.pan@intel.com) 6 * Author: Jacob Pan (jacob.jun.pan@intel.com)
6 * Feng Tang (feng.tang@intel.com) 7 * Feng Tang (feng.tang@intel.com)
7 * 8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 *
13 * Note: 9 * Note:
14 * VRTC is emulated by system controller firmware, the real HW 10 * VRTC is emulated by system controller firmware, the real HW
15 * RTC is located in the PMIC device. SCU FW shadows PMIC RTC 11 * RTC is located in the PMIC device. SCU FW shadows PMIC RTC
diff --git a/drivers/rtc/rtc-nuc900.c b/drivers/rtc/rtc-nuc900.c
index 7da664a77181..49cc4058614d 100644
--- a/drivers/rtc/rtc-nuc900.c
+++ b/drivers/rtc/rtc-nuc900.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2008-2009 Nuvoton technology corporation. 3 * Copyright (c) 2008-2009 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/module.h> 8#include <linux/module.h>
diff --git a/drivers/w1/masters/ds2482.c b/drivers/w1/masters/ds2482.c
index 8f2b25f1614c..b471779c3e2c 100644
--- a/drivers/w1/masters/ds2482.c
+++ b/drivers/w1/masters/ds2482.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * ds2482.c - provides i2c to w1-master bridge(s) 3 * ds2482.c - provides i2c to w1-master bridge(s)
3 * Copyright (C) 2005 Ben Gardner <bgardner@wabtec.com> 4 * Copyright (C) 2005 Ben Gardner <bgardner@wabtec.com>
@@ -7,10 +8,6 @@
7 * There are two variations: -100 and -800, which have 1 or 8 1-wire ports. 8 * There are two variations: -100 and -800, which have 1 or 8 1-wire ports.
8 * The complete datasheet can be obtained from MAXIM's website at: 9 * The complete datasheet can be obtained from MAXIM's website at:
9 * http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4382 10 * http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4382
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; version 2 of the License.
14 */ 11 */
15 12
16#include <linux/module.h> 13#include <linux/module.h>
diff --git a/drivers/watchdog/nuc900_wdt.c b/drivers/watchdog/nuc900_wdt.c
index f36eae34e848..db124cebe838 100644
--- a/drivers/watchdog/nuc900_wdt.c
+++ b/drivers/watchdog/nuc900_wdt.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2009 Nuvoton technology corporation. 3 * Copyright (c) 2009 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/bitops.h> 8#include <linux/bitops.h>
diff --git a/include/acpi/cppc_acpi.h b/include/acpi/cppc_acpi.h
index ba6fd7202775..a6a9373ab863 100644
--- a/include/acpi/cppc_acpi.h
+++ b/include/acpi/cppc_acpi.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * CPPC (Collaborative Processor Performance Control) methods used 3 * CPPC (Collaborative Processor Performance Control) methods used
3 * by CPUfreq drivers. 4 * by CPUfreq drivers.
4 * 5 *
5 * (C) Copyright 2014, 2015 Linaro Ltd. 6 * (C) Copyright 2014, 2015 Linaro Ltd.
6 * Author: Ashwin Chaugule <ashwin.chaugule@linaro.org> 7 * Author: Ashwin Chaugule <ashwin.chaugule@linaro.org>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14#ifndef _CPPC_ACPI_H 10#ifndef _CPPC_ACPI_H
diff --git a/include/acpi/pcc.h b/include/acpi/pcc.h
index cd6ef45e614e..4dec4ed138cd 100644
--- a/include/acpi/pcc.h
+++ b/include/acpi/pcc.h
@@ -1,10 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * PCC (Platform Communications Channel) methods 3 * PCC (Platform Communications Channel) methods
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2
7 * of the License.
8 */ 4 */
9 5
10#ifndef _PCC_H 6#ifndef _PCC_H
diff --git a/include/clocksource/pxa.h b/include/clocksource/pxa.h
index a9a0f03024a4..0cfe7b9fdf4c 100644
--- a/include/clocksource/pxa.h
+++ b/include/clocksource/pxa.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * PXA clocksource, clockevents, and OST interrupt handlers. 3 * PXA clocksource, clockevents, and OST interrupt handlers.
3 * 4 *
4 * Copyright (C) 2014 Robert Jarzmik 5 * Copyright (C) 2014 Robert Jarzmik
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 */ 6 */
11 7
12#ifndef _CLOCKSOURCE_PXA_H 8#ifndef _CLOCKSOURCE_PXA_H
diff --git a/include/dt-bindings/power/r8a7779-sysc.h b/include/dt-bindings/power/r8a7779-sysc.h
index 183571da507e..c4f528b6cc1e 100644
--- a/include/dt-bindings/power/r8a7779-sysc.h
+++ b/include/dt-bindings/power/r8a7779-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2016 Glider bvba 3 * Copyright (C) 2016 Glider bvba
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A7779_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A7779_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A7779_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A7779_SYSC_H__
diff --git a/include/dt-bindings/power/r8a7790-sysc.h b/include/dt-bindings/power/r8a7790-sysc.h
index 6af4e9929bd0..bcb490570606 100644
--- a/include/dt-bindings/power/r8a7790-sysc.h
+++ b/include/dt-bindings/power/r8a7790-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2016 Glider bvba 3 * Copyright (C) 2016 Glider bvba
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A7790_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A7790_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A7790_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A7790_SYSC_H__
diff --git a/include/dt-bindings/power/r8a7791-sysc.h b/include/dt-bindings/power/r8a7791-sysc.h
index 1403baa0514f..1d20fae42420 100644
--- a/include/dt-bindings/power/r8a7791-sysc.h
+++ b/include/dt-bindings/power/r8a7791-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2016 Glider bvba 3 * Copyright (C) 2016 Glider bvba
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A7791_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A7791_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A7791_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A7791_SYSC_H__
diff --git a/include/dt-bindings/power/r8a7792-sysc.h b/include/dt-bindings/power/r8a7792-sysc.h
index 74f4a78e29aa..dd3a4667ca19 100644
--- a/include/dt-bindings/power/r8a7792-sysc.h
+++ b/include/dt-bindings/power/r8a7792-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2016 Cogent Embedded Inc. 3 * Copyright (C) 2016 Cogent Embedded Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A7792_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A7792_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A7792_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A7792_SYSC_H__
diff --git a/include/dt-bindings/power/r8a7793-sysc.h b/include/dt-bindings/power/r8a7793-sysc.h
index b5693df3d830..056998c635a9 100644
--- a/include/dt-bindings/power/r8a7793-sysc.h
+++ b/include/dt-bindings/power/r8a7793-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2016 Glider bvba 3 * Copyright (C) 2016 Glider bvba
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A7793_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A7793_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A7793_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A7793_SYSC_H__
diff --git a/include/dt-bindings/power/r8a7794-sysc.h b/include/dt-bindings/power/r8a7794-sysc.h
index 862241c2d27b..4d6c708e6f32 100644
--- a/include/dt-bindings/power/r8a7794-sysc.h
+++ b/include/dt-bindings/power/r8a7794-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2016 Glider bvba 3 * Copyright (C) 2016 Glider bvba
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A7794_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A7794_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A7794_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A7794_SYSC_H__
diff --git a/include/dt-bindings/power/r8a7795-sysc.h b/include/dt-bindings/power/r8a7795-sysc.h
index ad679eeda137..eea6ad69f0b0 100644
--- a/include/dt-bindings/power/r8a7795-sysc.h
+++ b/include/dt-bindings/power/r8a7795-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2016 Glider bvba 3 * Copyright (C) 2016 Glider bvba
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A7795_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A7795_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A7795_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A7795_SYSC_H__
diff --git a/include/dt-bindings/power/r8a7796-sysc.h b/include/dt-bindings/power/r8a7796-sysc.h
index 5b4daab44daa..7e6fc06ebff2 100644
--- a/include/dt-bindings/power/r8a7796-sysc.h
+++ b/include/dt-bindings/power/r8a7796-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2016 Glider bvba 3 * Copyright (C) 2016 Glider bvba
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A7796_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A7796_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A7796_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A7796_SYSC_H__
diff --git a/include/dt-bindings/power/r8a77995-sysc.h b/include/dt-bindings/power/r8a77995-sysc.h
index 09d0ed575b73..f2b35502f2be 100644
--- a/include/dt-bindings/power/r8a77995-sysc.h
+++ b/include/dt-bindings/power/r8a77995-sysc.h
@@ -1,9 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2017 Glider bvba 3 * Copyright (C) 2017 Glider bvba
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 */ 4 */
8#ifndef __DT_BINDINGS_POWER_R8A77995_SYSC_H__ 5#ifndef __DT_BINDINGS_POWER_R8A77995_SYSC_H__
9#define __DT_BINDINGS_POWER_R8A77995_SYSC_H__ 6#define __DT_BINDINGS_POWER_R8A77995_SYSC_H__
diff --git a/include/keys/encrypted-type.h b/include/keys/encrypted-type.h
index 1d4541370a64..9e9ccb20d586 100644
--- a/include/keys/encrypted-type.h
+++ b/include/keys/encrypted-type.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2010 IBM Corporation 3 * Copyright (C) 2010 IBM Corporation
3 * Copyright (C) 2010 Politecnico di Torino, Italy 4 * Copyright (C) 2010 Politecnico di Torino, Italy
@@ -6,10 +7,6 @@
6 * Authors: 7 * Authors:
7 * Mimi Zohar <zohar@us.ibm.com> 8 * Mimi Zohar <zohar@us.ibm.com>
8 * Roberto Sassu <roberto.sassu@polito.it> 9 * Roberto Sassu <roberto.sassu@polito.it>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, version 2 of the License.
13 */ 10 */
14 11
15#ifndef _KEYS_ENCRYPTED_TYPE_H 12#ifndef _KEYS_ENCRYPTED_TYPE_H
diff --git a/include/keys/trusted-type.h b/include/keys/trusted-type.h
index 4ea7e55f20b0..a94c03a61d8f 100644
--- a/include/keys/trusted-type.h
+++ b/include/keys/trusted-type.h
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2010 IBM Corporation 3 * Copyright (C) 2010 IBM Corporation
3 * Author: David Safford <safford@us.ibm.com> 4 * Author: David Safford <safford@us.ibm.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
8 */ 5 */
9 6
10#ifndef _KEYS_TRUSTED_TYPE_H 7#ifndef _KEYS_TRUSTED_TYPE_H
diff --git a/include/linux/async.h b/include/linux/async.h
index f81d6dbffe68..0a17cd27f348 100644
--- a/include/linux/async.h
+++ b/include/linux/async.h
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * async.h: Asynchronous function calls for boot performance 3 * async.h: Asynchronous function calls for boot performance
3 * 4 *
4 * (C) Copyright 2009 Intel Corporation 5 * (C) Copyright 2009 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com> 6 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12#ifndef __ASYNC_H__ 8#ifndef __ASYNC_H__
13#define __ASYNC_H__ 9#define __ASYNC_H__
diff --git a/include/linux/digsig.h b/include/linux/digsig.h
index 6f85a070bb45..594fc66a395a 100644
--- a/include/linux/digsig.h
+++ b/include/linux/digsig.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2011 Nokia Corporation 3 * Copyright (C) 2011 Nokia Corporation
3 * Copyright (C) 2011 Intel Corporation 4 * Copyright (C) 2011 Intel Corporation
@@ -5,11 +6,6 @@
5 * Author: 6 * Author:
6 * Dmitry Kasatkin <dmitry.kasatkin@nokia.com> 7 * Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
7 * <dmitry.kasatkin@intel.com> 8 * <dmitry.kasatkin@intel.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, version 2 of the License.
12 *
13 */ 9 */
14 10
15#ifndef _DIGSIG_H 11#ifndef _DIGSIG_H
diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h
index 2b949fa501e1..04c36b7a61dd 100644
--- a/include/linux/hwmon.h
+++ b/include/linux/hwmon.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 hwmon.h - part of lm_sensors, Linux kernel modules for hardware monitoring 3 hwmon.h - part of lm_sensors, Linux kernel modules for hardware monitoring
3 4
@@ -6,9 +7,6 @@
6 7
7 Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com> 8 Copyright (C) 2005 Mark M. Hoffman <mhoffman@lightlink.com>
8 9
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; version 2 of the License.
12*/ 10*/
13 11
14#ifndef _HWMON_H_ 12#ifndef _HWMON_H_
diff --git a/include/linux/ima.h b/include/linux/ima.h
index fd9f7cf4cdf5..00036d2f57c3 100644
--- a/include/linux/ima.h
+++ b/include/linux/ima.h
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2008 IBM Corporation 3 * Copyright (C) 2008 IBM Corporation
3 * Author: Mimi Zohar <zohar@us.ibm.com> 4 * Author: Mimi Zohar <zohar@us.ibm.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
8 */ 5 */
9 6
10#ifndef _LINUX_IMA_H 7#ifndef _LINUX_IMA_H
diff --git a/include/linux/integrity.h b/include/linux/integrity.h
index 54c853ec2fd1..2271939c5c31 100644
--- a/include/linux/integrity.h
+++ b/include/linux/integrity.h
@@ -1,10 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2009 IBM Corporation 3 * Copyright (C) 2009 IBM Corporation
3 * Author: Mimi Zohar <zohar@us.ibm.com> 4 * Author: Mimi Zohar <zohar@us.ibm.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
8 */ 5 */
9 6
10#ifndef _LINUX_INTEGRITY_H 7#ifndef _LINUX_INTEGRITY_H
diff --git a/include/linux/ipack.h b/include/linux/ipack.h
index 8bddc3fbdddf..2c6936b8371f 100644
--- a/include/linux/ipack.h
+++ b/include/linux/ipack.h
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Industry-pack bus. 3 * Industry-pack bus.
3 * 4 *
4 * Copyright (C) 2011-2012 CERN (www.cern.ch) 5 * Copyright (C) 2011-2012 CERN (www.cern.ch)
5 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> 6 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */ 7 */
11 8
12#include <linux/mod_devicetable.h> 9#include <linux/mod_devicetable.h>
diff --git a/include/linux/leds-pca9532.h b/include/linux/leds-pca9532.h
index 5e240b2b4d58..f4796d333974 100644
--- a/include/linux/leds-pca9532.h
+++ b/include/linux/leds-pca9532.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * pca9532.h - platform data structure for pca9532 led controller 3 * pca9532.h - platform data structure for pca9532 led controller
3 * 4 *
4 * Copyright (C) 2008 Riku Voipio <riku.voipio@movial.fi> 5 * Copyright (C) 2008 Riku Voipio <riku.voipio@movial.fi>
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * Datasheet: http://www.nxp.com/acrobat/datasheets/PCA9532_3.pdf 7 * Datasheet: http://www.nxp.com/acrobat/datasheets/PCA9532_3.pdf
11 *
12 */ 8 */
13 9
14#ifndef __LINUX_PCA9532_H 10#ifndef __LINUX_PCA9532_H
diff --git a/include/linux/mcb.h b/include/linux/mcb.h
index b1a0ad9d23b3..71dd10a3d928 100644
--- a/include/linux/mcb.h
+++ b/include/linux/mcb.h
@@ -1,12 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * MEN Chameleon Bus. 3 * MEN Chameleon Bus.
3 * 4 *
4 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de) 5 * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de)
5 * Author: Johannes Thumshirn <johannes.thumshirn@men.de> 6 * Author: Johannes Thumshirn <johannes.thumshirn@men.de>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; version 2 of the License.
10 */ 7 */
11#ifndef _LINUX_MCB_H 8#ifndef _LINUX_MCB_H
12#define _LINUX_MCB_H 9#define _LINUX_MCB_H
diff --git a/include/linux/platform_data/mmc-esdhc-imx.h b/include/linux/platform_data/mmc-esdhc-imx.h
index b606ca4197df..6c006078c8a1 100644
--- a/include/linux/platform_data/mmc-esdhc-imx.h
+++ b/include/linux/platform_data/mmc-esdhc-imx.h
@@ -1,10 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright 2010 Wolfram Sang <w.sang@pengutronix.de> 3 * Copyright 2010 Wolfram Sang <w.sang@pengutronix.de>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2
7 * of the License.
8 */ 4 */
9 5
10#ifndef __ASM_ARCH_IMX_ESDHC_H 6#ifndef __ASM_ARCH_IMX_ESDHC_H
diff --git a/include/linux/platform_data/spi-nuc900.h b/include/linux/platform_data/spi-nuc900.h
index 4b3f46832e19..ca3510877000 100644
--- a/include/linux/platform_data/spi-nuc900.h
+++ b/include/linux/platform_data/spi-nuc900.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (c) 2009 Nuvoton technology corporation. 3 * Copyright (c) 2009 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#ifndef __SPI_NUC900_H 8#ifndef __SPI_NUC900_H
diff --git a/include/linux/rodata_test.h b/include/linux/rodata_test.h
index 84766bcdd01f..635ad4dbd0ae 100644
--- a/include/linux/rodata_test.h
+++ b/include/linux/rodata_test.h
@@ -1,13 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * rodata_test.h: functional test for mark_rodata_ro function 3 * rodata_test.h: functional test for mark_rodata_ro function
3 * 4 *
4 * (C) Copyright 2008 Intel Corporation 5 * (C) Copyright 2008 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com> 6 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#ifndef _RODATA_TEST_H 9#ifndef _RODATA_TEST_H
diff --git a/include/linux/tpm.h b/include/linux/tpm.h
index 1b5436b213a2..53c0ea9ec9df 100644
--- a/include/linux/tpm.h
+++ b/include/linux/tpm.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2004,2007,2008 IBM Corporation 3 * Copyright (C) 2004,2007,2008 IBM Corporation
3 * 4 *
@@ -12,12 +13,6 @@
12 * 13 *
13 * Device driver for TCG/TCPA TPM (trusted platform module). 14 * Device driver for TCG/TCPA TPM (trusted platform module).
14 * Specifications at www.trustedcomputinggroup.org 15 * Specifications at www.trustedcomputinggroup.org
15 *
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation, version 2 of the
19 * License.
20 *
21 */ 16 */
22#ifndef __LINUX_TPM_H__ 17#ifndef __LINUX_TPM_H__
23#define __LINUX_TPM_H__ 18#define __LINUX_TPM_H__
diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c
index bfaae457810c..2b14ce8ce73f 100644
--- a/ipc/ipc_sysctl.c
+++ b/ipc/ipc_sysctl.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2007 3 * Copyright (C) 2007
3 * 4 *
4 * Author: Eric Biederman <ebiederm@xmision.com> 5 * Author: Eric Biederman <ebiederm@xmision.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2 of the
9 * License.
10 */ 6 */
11 7
12#include <linux/module.h> 8#include <linux/module.h>
diff --git a/ipc/mq_sysctl.c b/ipc/mq_sysctl.c
index 68d4e953762c..7c00f28923a8 100644
--- a/ipc/mq_sysctl.c
+++ b/ipc/mq_sysctl.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2007 IBM Corporation 3 * Copyright (C) 2007 IBM Corporation
3 * 4 *
4 * Author: Cedric Le Goater <clg@fr.ibm.com> 5 * Author: Cedric Le Goater <clg@fr.ibm.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2 of the
9 * License.
10 */ 6 */
11 7
12#include <linux/nsproxy.h> 8#include <linux/nsproxy.h>
diff --git a/kernel/async.c b/kernel/async.c
index 12c332e4e13e..4f9c1d614016 100644
--- a/kernel/async.c
+++ b/kernel/async.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * async.c: Asynchronous function calls for boot performance 3 * async.c: Asynchronous function calls for boot performance
3 * 4 *
4 * (C) Copyright 2009 Intel Corporation 5 * (C) Copyright 2009 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com> 6 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13 9
diff --git a/kernel/backtracetest.c b/kernel/backtracetest.c
index a563c8fdad0d..a2a97fa3071b 100644
--- a/kernel/backtracetest.c
+++ b/kernel/backtracetest.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Simple stack backtrace regression test module 3 * Simple stack backtrace regression test module
3 * 4 *
4 * (C) Copyright 2008 Intel Corporation 5 * (C) Copyright 2008 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com> 6 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13#include <linux/completion.h> 9#include <linux/completion.h>
diff --git a/kernel/latencytop.c b/kernel/latencytop.c
index 871734ea2f04..e3acead004e6 100644
--- a/kernel/latencytop.c
+++ b/kernel/latencytop.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * latencytop.c: Latency display infrastructure 3 * latencytop.c: Latency display infrastructure
3 * 4 *
4 * (C) Copyright 2008 Intel Corporation 5 * (C) Copyright 2008 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com> 6 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13/* 9/*
diff --git a/kernel/nsproxy.c b/kernel/nsproxy.c
index f6c5d330059a..c815f58e6bc0 100644
--- a/kernel/nsproxy.c
+++ b/kernel/nsproxy.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2006 IBM Corporation 3 * Copyright (C) 2006 IBM Corporation
3 * 4 *
4 * Author: Serge Hallyn <serue@us.ibm.com> 5 * Author: Serge Hallyn <serue@us.ibm.com>
5 * 6 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2 of the
9 * License.
10 *
11 * Jun 2006 - namespaces support 7 * Jun 2006 - namespaces support
12 * OpenVZ, SWsoft Inc. 8 * OpenVZ, SWsoft Inc.
13 * Pavel Emelianov <xemul@openvz.org> 9 * Pavel Emelianov <xemul@openvz.org>
diff --git a/kernel/sched/cpudeadline.c b/kernel/sched/cpudeadline.c
index 50316455ea66..ec4e4a9aab5f 100644
--- a/kernel/sched/cpudeadline.c
+++ b/kernel/sched/cpudeadline.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kernel/sched/cpudl.c 3 * kernel/sched/cpudl.c
3 * 4 *
4 * Global CPU deadline management 5 * Global CPU deadline management
5 * 6 *
6 * Author: Juri Lelli <j.lelli@sssup.it> 7 * Author: Juri Lelli <j.lelli@sssup.it>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13#include "sched.h" 9#include "sched.h"
14 10
diff --git a/kernel/sched/cpupri.c b/kernel/sched/cpupri.c
index daaadf939ccb..9c6480e6d62d 100644
--- a/kernel/sched/cpupri.c
+++ b/kernel/sched/cpupri.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kernel/sched/cpupri.c 3 * kernel/sched/cpupri.c
3 * 4 *
@@ -20,11 +21,6 @@
20 * searches). For tasks with affinity restrictions, the algorithm has a 21 * searches). For tasks with affinity restrictions, the algorithm has a
21 * worst case complexity of O(min(102, nr_domcpus)), though the scenario that 22 * worst case complexity of O(min(102, nr_domcpus)), though the scenario that
22 * yields the worst case search is fairly contrived. 23 * yields the worst case search is fairly contrived.
23 *
24 * This program is free software; you can redistribute it and/or
25 * modify it under the terms of the GNU General Public License
26 * as published by the Free Software Foundation; version 2
27 * of the License.
28 */ 24 */
29#include "sched.h" 25#include "sched.h"
30 26
diff --git a/kernel/ucount.c b/kernel/ucount.c
index f48d1b6376a4..feb128c7b5d9 100644
--- a/kernel/ucount.c
+++ b/kernel/ucount.c
@@ -1,9 +1,4 @@
1/* 1// SPDX-License-Identifier: GPL-2.0-only
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation, version 2 of the
5 * License.
6 */
7 2
8#include <linux/stat.h> 3#include <linux/stat.h>
9#include <linux/sysctl.h> 4#include <linux/sysctl.h>
diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c
index 923414a246e9..0eff45ce7703 100644
--- a/kernel/user_namespace.c
+++ b/kernel/user_namespace.c
@@ -1,9 +1,4 @@
1/* 1// SPDX-License-Identifier: GPL-2.0-only
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation, version 2 of the
5 * License.
6 */
7 2
8#include <linux/export.h> 3#include <linux/export.h>
9#include <linux/nsproxy.h> 4#include <linux/nsproxy.h>
diff --git a/kernel/utsname.c b/kernel/utsname.c
index dcd6be1996fe..f0e491193009 100644
--- a/kernel/utsname.c
+++ b/kernel/utsname.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004 IBM Corporation 3 * Copyright (C) 2004 IBM Corporation
3 * 4 *
4 * Author: Serge Hallyn <serue@us.ibm.com> 5 * Author: Serge Hallyn <serue@us.ibm.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2 of the
9 * License.
10 */ 6 */
11 7
12#include <linux/export.h> 8#include <linux/export.h>
diff --git a/kernel/utsname_sysctl.c b/kernel/utsname_sysctl.c
index 258033d62cb3..3732c888a949 100644
--- a/kernel/utsname_sysctl.c
+++ b/kernel/utsname_sysctl.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2007 3 * Copyright (C) 2007
3 * 4 *
4 * Author: Eric Biederman <ebiederm@xmision.com> 5 * Author: Eric Biederman <ebiederm@xmision.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2 of the
9 * License.
10 */ 6 */
11 7
12#include <linux/export.h> 8#include <linux/export.h>
diff --git a/lib/digsig.c b/lib/digsig.c
index 3b0a579bdcdf..3cf89c775ab2 100644
--- a/lib/digsig.c
+++ b/lib/digsig.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2011 Nokia Corporation 3 * Copyright (C) 2011 Nokia Corporation
3 * Copyright (C) 2011 Intel Corporation 4 * Copyright (C) 2011 Intel Corporation
@@ -6,10 +7,6 @@
6 * Dmitry Kasatkin <dmitry.kasatkin@nokia.com> 7 * Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
7 * <dmitry.kasatkin@intel.com> 8 * <dmitry.kasatkin@intel.com>
8 * 9 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, version 2 of the License.
12 *
13 * File: sign.c 10 * File: sign.c
14 * implements signature (RSA) verification 11 * implements signature (RSA) verification
15 * pkcs decoding is based on LibTomCrypt code 12 * pkcs decoding is based on LibTomCrypt code
diff --git a/lib/raid6/recov_avx2.c b/lib/raid6/recov_avx2.c
index 53fe3d7bdfb3..7a3b5e7f66ee 100644
--- a/lib/raid6/recov_avx2.c
+++ b/lib/raid6/recov_avx2.c
@@ -1,11 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012 Intel Corporation 3 * Copyright (C) 2012 Intel Corporation
3 * Author: Jim Kukunas <james.t.kukunas@linux.intel.com> 4 * Author: Jim Kukunas <james.t.kukunas@linux.intel.com>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; version 2
8 * of the License.
9 */ 5 */
10 6
11#ifdef CONFIG_AS_AVX2 7#ifdef CONFIG_AS_AVX2
diff --git a/lib/raid6/recov_avx512.c b/lib/raid6/recov_avx512.c
index 625aafa33b61..fd9e15bf3f30 100644
--- a/lib/raid6/recov_avx512.c
+++ b/lib/raid6/recov_avx512.c
@@ -1,14 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2016 Intel Corporation 3 * Copyright (C) 2016 Intel Corporation
3 * 4 *
4 * Author: Gayatri Kammela <gayatri.kammela@intel.com> 5 * Author: Gayatri Kammela <gayatri.kammela@intel.com>
5 * Author: Megha Dey <megha.dey@linux.intel.com> 6 * Author: Megha Dey <megha.dey@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 *
12 */ 7 */
13 8
14#ifdef CONFIG_AS_AVX512 9#ifdef CONFIG_AS_AVX512
diff --git a/lib/raid6/recov_neon.c b/lib/raid6/recov_neon.c
index eeb5c4065b92..d6fba8bf8c0a 100644
--- a/lib/raid6/recov_neon.c
+++ b/lib/raid6/recov_neon.c
@@ -1,11 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012 Intel Corporation 3 * Copyright (C) 2012 Intel Corporation
3 * Copyright (C) 2017 Linaro Ltd. <ard.biesheuvel@linaro.org> 4 * Copyright (C) 2017 Linaro Ltd. <ard.biesheuvel@linaro.org>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; version 2
8 * of the License.
9 */ 5 */
10 6
11#include <linux/raid/pq.h> 7#include <linux/raid/pq.h>
diff --git a/lib/raid6/recov_neon_inner.c b/lib/raid6/recov_neon_inner.c
index f13c07f82297..90eb80d43790 100644
--- a/lib/raid6/recov_neon_inner.c
+++ b/lib/raid6/recov_neon_inner.c
@@ -1,11 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012 Intel Corporation 3 * Copyright (C) 2012 Intel Corporation
3 * Copyright (C) 2017 Linaro Ltd. <ard.biesheuvel@linaro.org> 4 * Copyright (C) 2017 Linaro Ltd. <ard.biesheuvel@linaro.org>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; version 2
8 * of the License.
9 */ 5 */
10 6
11#include <arm_neon.h> 7#include <arm_neon.h>
diff --git a/lib/raid6/recov_ssse3.c b/lib/raid6/recov_ssse3.c
index cda33e56a5e3..1de97d2405d0 100644
--- a/lib/raid6/recov_ssse3.c
+++ b/lib/raid6/recov_ssse3.c
@@ -1,10 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012 Intel Corporation 3 * Copyright (C) 2012 Intel Corporation
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2
7 * of the License.
8 */ 4 */
9 5
10#ifdef CONFIG_AS_SSSE3 6#ifdef CONFIG_AS_SSSE3
diff --git a/mm/rodata_test.c b/mm/rodata_test.c
index d908c8769b48..5e313fa93276 100644
--- a/mm/rodata_test.c
+++ b/mm/rodata_test.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * rodata_test.c: functional test for mark_rodata_ro function 3 * rodata_test.c: functional test for mark_rodata_ro function
3 * 4 *
4 * (C) Copyright 2008 Intel Corporation 5 * (C) Copyright 2008 Intel Corporation
5 * Author: Arjan van de Ven <arjan@linux.intel.com> 6 * Author: Arjan van de Ven <arjan@linux.intel.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12#define pr_fmt(fmt) "rodata_test: " fmt 8#define pr_fmt(fmt) "rodata_test: " fmt
13 9
diff --git a/net/dccp/ackvec.c b/net/dccp/ackvec.c
index 2a24f7d171a5..0a72510d5de1 100644
--- a/net/dccp/ackvec.c
+++ b/net/dccp/ackvec.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * net/dccp/ackvec.c 3 * net/dccp/ackvec.c
3 * 4 *
4 * An implementation of Ack Vectors for the DCCP protocol 5 * An implementation of Ack Vectors for the DCCP protocol
5 * Copyright (c) 2007 University of Aberdeen, Scotland, UK 6 * Copyright (c) 2007 University of Aberdeen, Scotland, UK
6 * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@ghostprotocols.net> 7 * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; version 2 of the License;
11 */ 8 */
12#include "dccp.h" 9#include "dccp.h"
13#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/scripts/dtc/dtx_diff b/scripts/dtc/dtx_diff
index 0d8572008729..00fd4738a587 100755
--- a/scripts/dtc/dtx_diff
+++ b/scripts/dtc/dtx_diff
@@ -1,10 +1,8 @@
1#! /bin/bash 1#! /bin/bash
2# SPDX-License-Identifier: GPL-2.0-only
2 3
3# Copyright (C) 2015 Frank Rowand 4# Copyright (C) 2015 Frank Rowand
4# 5#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; version 2 of the License.
8 6
9 7
10usage() { 8usage() {
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 9ab5613fe07c..66d0b4245ef6 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/ctype.h> 11#include <linux/ctype.h>
diff --git a/security/apparmor/audit.c b/security/apparmor/audit.c
index 5a8b9cded4f2..5a98661a8b46 100644
--- a/security/apparmor/audit.c
+++ b/security/apparmor/audit.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/audit.h> 11#include <linux/audit.h>
diff --git a/security/apparmor/capability.c b/security/apparmor/capability.c
index 752f73980e30..deccea8654ad 100644
--- a/security/apparmor/capability.c
+++ b/security/apparmor/capability.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/capability.h> 11#include <linux/capability.h>
diff --git a/security/apparmor/crypto.c b/security/apparmor/crypto.c
index baba63bc66b1..b498ed302461 100644
--- a/security/apparmor/crypto.c
+++ b/security/apparmor/crypto.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright 2013 Canonical Ltd. 7 * Copyright 2013 Canonical Ltd.
7 * 8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 *
13 * Fns to provide a checksum of policy that has been loaded this can be 9 * Fns to provide a checksum of policy that has been loaded this can be
14 * compared to userspace policy compiles to check loaded policy is what 10 * compared to userspace policy compiles to check loaded policy is what
15 * it should be. 11 * it should be.
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c
index ca2dccf5b445..9e0492795267 100644
--- a/security/apparmor/domain.c
+++ b/security/apparmor/domain.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 2002-2008 Novell/SUSE 7 * Copyright (C) 2002-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/errno.h> 11#include <linux/errno.h>
diff --git a/security/apparmor/file.c b/security/apparmor/file.c
index d0afed9ebd0e..4c1b05eb130c 100644
--- a/security/apparmor/file.c
+++ b/security/apparmor/file.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/tty.h> 11#include <linux/tty.h>
diff --git a/security/apparmor/include/apparmor.h b/security/apparmor/include/apparmor.h
index 73d63b58d875..6b7e6e13176e 100644
--- a/security/apparmor/include/apparmor.h
+++ b/security/apparmor/include/apparmor.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd. 8 * Copyright 2009-2017 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __APPARMOR_H 11#ifndef __APPARMOR_H
diff --git a/security/apparmor/include/apparmorfs.h b/security/apparmor/include/apparmorfs.h
index bd689114bf93..6e14f6cecdb9 100644
--- a/security/apparmor/include/apparmorfs.h
+++ b/security/apparmor/include/apparmorfs.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_APPARMORFS_H 11#ifndef __AA_APPARMORFS_H
diff --git a/security/apparmor/include/audit.h b/security/apparmor/include/audit.h
index ee559bc2acb8..18519a4eb67e 100644
--- a/security/apparmor/include/audit.h
+++ b/security/apparmor/include/audit.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_AUDIT_H 11#ifndef __AA_AUDIT_H
diff --git a/security/apparmor/include/capability.h b/security/apparmor/include/capability.h
index 1b3663b6ab12..d420e2d10b31 100644
--- a/security/apparmor/include/capability.h
+++ b/security/apparmor/include/capability.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2013 Canonical Ltd. 8 * Copyright 2009-2013 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_CAPABILITY_H 11#ifndef __AA_CAPABILITY_H
diff --git a/security/apparmor/include/cred.h b/security/apparmor/include/cred.h
index b9504a05fddc..0b9ae4804ef7 100644
--- a/security/apparmor/include/cred.h
+++ b/security/apparmor/include/cred.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_CONTEXT_H 11#ifndef __AA_CONTEXT_H
diff --git a/security/apparmor/include/crypto.h b/security/apparmor/include/crypto.h
index c1469f8db174..636a04e20d91 100644
--- a/security/apparmor/include/crypto.h
+++ b/security/apparmor/include/crypto.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
4 * This file contains AppArmor policy loading interface function definitions. 5 * This file contains AppArmor policy loading interface function definitions.
5 * 6 *
6 * Copyright 2013 Canonical Ltd. 7 * Copyright 2013 Canonical Ltd.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 */ 8 */
13 9
14#ifndef __APPARMOR_CRYPTO_H 10#ifndef __APPARMOR_CRYPTO_H
diff --git a/security/apparmor/include/domain.h b/security/apparmor/include/domain.h
index ac9862ff7cdf..21b875fe2d37 100644
--- a/security/apparmor/include/domain.h
+++ b/security/apparmor/include/domain.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/binfmts.h> 11#include <linux/binfmts.h>
diff --git a/security/apparmor/include/file.h b/security/apparmor/include/file.h
index 8be09208cf7c..a852be89a7dc 100644
--- a/security/apparmor/include/file.h
+++ b/security/apparmor/include/file.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_FILE_H 11#ifndef __AA_FILE_H
diff --git a/security/apparmor/include/ipc.h b/security/apparmor/include/ipc.h
index 5ffc218d1e74..9cafd80f7731 100644
--- a/security/apparmor/include/ipc.h
+++ b/security/apparmor/include/ipc.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd. 8 * Copyright 2009-2017 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_IPC_H 11#ifndef __AA_IPC_H
diff --git a/security/apparmor/include/label.h b/security/apparmor/include/label.h
index 7ce5fe73ae7f..47942c4ba7ca 100644
--- a/security/apparmor/include/label.h
+++ b/security/apparmor/include/label.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
4 * This file contains AppArmor label definitions 5 * This file contains AppArmor label definitions
5 * 6 *
6 * Copyright 2017 Canonical Ltd. 7 * Copyright 2017 Canonical Ltd.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 */ 8 */
13 9
14#ifndef __AA_LABEL_H 10#ifndef __AA_LABEL_H
diff --git a/security/apparmor/include/lib.h b/security/apparmor/include/lib.h
index bbe9b384d71d..7d27db740bc2 100644
--- a/security/apparmor/include/lib.h
+++ b/security/apparmor/include/lib.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
4 * This file contains AppArmor lib definitions 5 * This file contains AppArmor lib definitions
5 * 6 *
6 * 2017 Canonical Ltd. 7 * 2017 Canonical Ltd.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 */ 8 */
13 9
14#ifndef __AA_LIB_H 10#ifndef __AA_LIB_H
diff --git a/security/apparmor/include/match.h b/security/apparmor/include/match.h
index 958d2b52a7b7..6b0af638a18d 100644
--- a/security/apparmor/include/match.h
+++ b/security/apparmor/include/match.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2012 Canonical Ltd. 8 * Copyright 2009-2012 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_MATCH_H 11#ifndef __AA_MATCH_H
diff --git a/security/apparmor/include/mount.h b/security/apparmor/include/mount.h
index 25d6067fa6ef..a710683b2496 100644
--- a/security/apparmor/include/mount.h
+++ b/security/apparmor/include/mount.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
4 * This file contains AppArmor file mediation function definitions. 5 * This file contains AppArmor file mediation function definitions.
5 * 6 *
6 * Copyright 2017 Canonical Ltd. 7 * Copyright 2017 Canonical Ltd.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 */ 8 */
13 9
14#ifndef __AA_MOUNT_H 10#ifndef __AA_MOUNT_H
diff --git a/security/apparmor/include/net.h b/security/apparmor/include/net.h
index 7334ac966d01..2431c011800d 100644
--- a/security/apparmor/include/net.h
+++ b/security/apparmor/include/net.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd. 8 * Copyright 2009-2017 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_NET_H 11#ifndef __AA_NET_H
diff --git a/security/apparmor/include/path.h b/security/apparmor/include/path.h
index b6380c5f0097..35a8295e8f3a 100644
--- a/security/apparmor/include/path.h
+++ b/security/apparmor/include/path.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_PATH_H 11#ifndef __AA_PATH_H
diff --git a/security/apparmor/include/perms.h b/security/apparmor/include/perms.h
index b94ec114d1a4..13f20c598448 100644
--- a/security/apparmor/include/perms.h
+++ b/security/apparmor/include/perms.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
4 * This file contains AppArmor basic permission sets definitions. 5 * This file contains AppArmor basic permission sets definitions.
5 * 6 *
6 * Copyright 2017 Canonical Ltd. 7 * Copyright 2017 Canonical Ltd.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 */ 8 */
13 9
14#ifndef __AA_PERM_H 10#ifndef __AA_PERM_H
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h
index 8e6707c837be..1ce4e9bdac48 100644
--- a/security/apparmor/include/policy.h
+++ b/security/apparmor/include/policy.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_POLICY_H 11#ifndef __AA_POLICY_H
diff --git a/security/apparmor/include/policy_ns.h b/security/apparmor/include/policy_ns.h
index 9605f18624e2..3df6f804922d 100644
--- a/security/apparmor/include/policy_ns.h
+++ b/security/apparmor/include/policy_ns.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd. 8 * Copyright 2009-2017 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_NAMESPACE_H 11#ifndef __AA_NAMESPACE_H
diff --git a/security/apparmor/include/policy_unpack.h b/security/apparmor/include/policy_unpack.h
index 8db4ab759e80..46aefae918f5 100644
--- a/security/apparmor/include/policy_unpack.h
+++ b/security/apparmor/include/policy_unpack.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __POLICY_INTERFACE_H 11#ifndef __POLICY_INTERFACE_H
diff --git a/security/apparmor/include/procattr.h b/security/apparmor/include/procattr.h
index c8fd99c9357d..31689437e0e1 100644
--- a/security/apparmor/include/procattr.h
+++ b/security/apparmor/include/procattr.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_PROCATTR_H 11#ifndef __AA_PROCATTR_H
diff --git a/security/apparmor/include/resource.h b/security/apparmor/include/resource.h
index 76f1586c9adb..961d85d328ea 100644
--- a/security/apparmor/include/resource.h
+++ b/security/apparmor/include/resource.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#ifndef __AA_RESOURCE_H 11#ifndef __AA_RESOURCE_H
diff --git a/security/apparmor/include/secid.h b/security/apparmor/include/secid.h
index fa2062711b63..48ff1ddecad5 100644
--- a/security/apparmor/include/secid.h
+++ b/security/apparmor/include/secid.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
4 * This file contains AppArmor security identifier (secid) definitions 5 * This file contains AppArmor security identifier (secid) definitions
5 * 6 *
6 * Copyright 2009-2018 Canonical Ltd. 7 * Copyright 2009-2018 Canonical Ltd.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 */ 8 */
13 9
14#ifndef __AA_SECID_H 10#ifndef __AA_SECID_H
diff --git a/security/apparmor/include/task.h b/security/apparmor/include/task.h
index 311e652324e3..f13d12373b25 100644
--- a/security/apparmor/include/task.h
+++ b/security/apparmor/include/task.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
4 * This file contains AppArmor task related definitions and mediation 5 * This file contains AppArmor task related definitions and mediation
5 * 6 *
6 * Copyright 2017 Canonical Ltd. 7 * Copyright 2017 Canonical Ltd.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 */ 8 */
13 9
14#ifndef __AA_TASK_H 10#ifndef __AA_TASK_H
diff --git a/security/apparmor/ipc.c b/security/apparmor/ipc.c
index aacd1e95cb59..4ecedffbdd33 100644
--- a/security/apparmor/ipc.c
+++ b/security/apparmor/ipc.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd. 8 * Copyright 2009-2017 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/gfp.h> 11#include <linux/gfp.h>
diff --git a/security/apparmor/label.c b/security/apparmor/label.c
index ba11bdf9043a..068e93c5d29c 100644
--- a/security/apparmor/label.c
+++ b/security/apparmor/label.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
4 * This file contains AppArmor label definitions 5 * This file contains AppArmor label definitions
5 * 6 *
6 * Copyright 2017 Canonical Ltd. 7 * Copyright 2017 Canonical Ltd.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 */ 8 */
13 9
14#include <linux/audit.h> 10#include <linux/audit.h>
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
index 76491e7f4177..30c246a9d440 100644
--- a/security/apparmor/lib.c
+++ b/security/apparmor/lib.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/ctype.h> 11#include <linux/ctype.h>
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index 87500bde5a92..ec3a928af829 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/lsm_hooks.h> 11#include <linux/lsm_hooks.h>
diff --git a/security/apparmor/match.c b/security/apparmor/match.c
index 55f2ee505a01..6ccd3734a841 100644
--- a/security/apparmor/match.c
+++ b/security/apparmor/match.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2012 Canonical Ltd. 8 * Copyright 2009-2012 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/errno.h> 11#include <linux/errno.h>
diff --git a/security/apparmor/mount.c b/security/apparmor/mount.c
index 8c3787399356..17081c8dbefa 100644
--- a/security/apparmor/mount.c
+++ b/security/apparmor/mount.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd. 8 * Copyright 2009-2017 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/fs.h> 11#include <linux/fs.h>
diff --git a/security/apparmor/net.c b/security/apparmor/net.c
index c07fde444792..d8afc39f663a 100644
--- a/security/apparmor/net.c
+++ b/security/apparmor/net.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd. 8 * Copyright 2009-2017 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include "include/apparmor.h" 11#include "include/apparmor.h"
diff --git a/security/apparmor/path.c b/security/apparmor/path.c
index 9d5de1d05be4..c6da542de27b 100644
--- a/security/apparmor/path.c
+++ b/security/apparmor/path.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/magic.h> 11#include <linux/magic.h>
diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c
index df9c5890a878..ade333074c8e 100644
--- a/security/apparmor/policy.c
+++ b/security/apparmor/policy.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -6,12 +7,6 @@
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 * 9 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 *
14 *
15 * AppArmor policy is based around profiles, which contain the rules a 10 * AppArmor policy is based around profiles, which contain the rules a
16 * task is confined by. Every task in the system has a profile attached 11 * task is confined by. Every task in the system has a profile attached
17 * to it determined either by matching "unconfined" tasks against the 12 * to it determined either by matching "unconfined" tasks against the
diff --git a/security/apparmor/policy_ns.c b/security/apparmor/policy_ns.c
index 1a7cec5d9cac..d7ef540027a5 100644
--- a/security/apparmor/policy_ns.c
+++ b/security/apparmor/policy_ns.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -6,11 +7,6 @@
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd. 8 * Copyright 2009-2017 Canonical Ltd.
8 * 9 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 *
14 * AppArmor policy namespaces, allow for different sets of policies 10 * AppArmor policy namespaces, allow for different sets of policies
15 * to be loaded for tasks within the namespace. 11 * to be loaded for tasks within the namespace.
16 */ 12 */
diff --git a/security/apparmor/policy_unpack.c b/security/apparmor/policy_unpack.c
index f6c2bcb2ab14..01957ce9252b 100644
--- a/security/apparmor/policy_unpack.c
+++ b/security/apparmor/policy_unpack.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -7,11 +8,6 @@
7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright (C) 1998-2008 Novell/SUSE
8 * Copyright 2009-2010 Canonical Ltd. 9 * Copyright 2009-2010 Canonical Ltd.
9 * 10 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation, version 2 of the
13 * License.
14 *
15 * AppArmor uses a serialized binary format for loading policy. To find 11 * AppArmor uses a serialized binary format for loading policy. To find
16 * policy format documentation see Documentation/admin-guide/LSM/apparmor.rst 12 * policy format documentation see Documentation/admin-guide/LSM/apparmor.rst
17 * All policy is validated before it is used. 13 * All policy is validated before it is used.
diff --git a/security/apparmor/procattr.c b/security/apparmor/procattr.c
index 80c34ed373c3..c929bf4a3df1 100644
--- a/security/apparmor/procattr.c
+++ b/security/apparmor/procattr.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include "include/apparmor.h" 11#include "include/apparmor.h"
diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c
index 552ed09cb47e..1ae4874251a9 100644
--- a/security/apparmor/resource.c
+++ b/security/apparmor/resource.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2008 Novell/SUSE 7 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd. 8 * Copyright 2009-2010 Canonical Ltd.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 */ 9 */
14 10
15#include <linux/audit.h> 11#include <linux/audit.h>
diff --git a/security/apparmor/secid.c b/security/apparmor/secid.c
index 05373d9a3d6a..ce545f99259e 100644
--- a/security/apparmor/secid.c
+++ b/security/apparmor/secid.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,12 +6,6 @@
5 * 6 *
6 * Copyright 2009-2017 Canonical Ltd. 7 * Copyright 2009-2017 Canonical Ltd.
7 * 8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 *
13 *
14 * AppArmor allocates a unique secid for every label used. If a label 9 * AppArmor allocates a unique secid for every label used. If a label
15 * is replaced it receives the secid of the label it is replacing. 10 * is replaced it receives the secid of the label it is replacing.
16 */ 11 */
diff --git a/security/apparmor/task.c b/security/apparmor/task.c
index 4551110f0496..d17130ee6795 100644
--- a/security/apparmor/task.c
+++ b/security/apparmor/task.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * AppArmor security module 3 * AppArmor security module
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Copyright 2017 Canonical Ltd. 7 * Copyright 2017 Canonical Ltd.
7 * 8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 *
13 * TODO 9 * TODO
14 * If a task uses change_hat it currently does not return to the old 10 * If a task uses change_hat it currently does not return to the old
15 * cred or task context but instead creates a new one. Ideally the task 11 * cred or task context but instead creates a new one. Ideally the task
diff --git a/security/integrity/digsig.c b/security/integrity/digsig.c
index e19c2eb72c51..4582bc26770a 100644
--- a/security/integrity/digsig.c
+++ b/security/integrity/digsig.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2011 Intel Corporation 3 * Copyright (C) 2011 Intel Corporation
3 * 4 *
4 * Author: 5 * Author:
5 * Dmitry Kasatkin <dmitry.kasatkin@intel.com> 6 * Dmitry Kasatkin <dmitry.kasatkin@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, version 2 of the License.
10 *
11 */ 7 */
12 8
13#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 9#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/security/integrity/digsig_asymmetric.c b/security/integrity/digsig_asymmetric.c
index 99080871eb9f..ad4b323ecea1 100644
--- a/security/integrity/digsig_asymmetric.c
+++ b/security/integrity/digsig_asymmetric.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2013 Intel Corporation 3 * Copyright (C) 2013 Intel Corporation
3 * 4 *
4 * Author: 5 * Author:
5 * Dmitry Kasatkin <dmitry.kasatkin@intel.com> 6 * Dmitry Kasatkin <dmitry.kasatkin@intel.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, version 2 of the License.
10 *
11 */ 7 */
12 8
13#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 9#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/security/integrity/evm/evm.h b/security/integrity/evm/evm.h
index c3f437f5db10..f2fef2b5ed51 100644
--- a/security/integrity/evm/evm.h
+++ b/security/integrity/evm/evm.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2005-2010 IBM Corporation 3 * Copyright (C) 2005-2010 IBM Corporation
3 * 4 *
@@ -5,12 +6,7 @@
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 * Kylene Hall <kjhall@us.ibm.com> 7 * Kylene Hall <kjhall@us.ibm.com>
7 * 8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, version 2 of the License.
11 *
12 * File: evm.h 9 * File: evm.h
13 *
14 */ 10 */
15 11
16#ifndef __INTEGRITY_EVM_H 12#ifndef __INTEGRITY_EVM_H
diff --git a/security/integrity/evm/evm_crypto.c b/security/integrity/evm/evm_crypto.c
index 82a38e801ee4..d485f6fc908e 100644
--- a/security/integrity/evm/evm_crypto.c
+++ b/security/integrity/evm/evm_crypto.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005-2010 IBM Corporation 3 * Copyright (C) 2005-2010 IBM Corporation
3 * 4 *
@@ -5,10 +6,6 @@
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 * Kylene Hall <kjhall@us.ibm.com> 7 * Kylene Hall <kjhall@us.ibm.com>
7 * 8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, version 2 of the License.
11 *
12 * File: evm_crypto.c 9 * File: evm_crypto.c
13 * Using root's kernel master key (kmk), calculate the HMAC 10 * Using root's kernel master key (kmk), calculate the HMAC
14 */ 11 */
diff --git a/security/integrity/evm/evm_main.c b/security/integrity/evm/evm_main.c
index b6d9f14bc234..5bbd8b4dc29a 100644
--- a/security/integrity/evm/evm_main.c
+++ b/security/integrity/evm/evm_main.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005-2010 IBM Corporation 3 * Copyright (C) 2005-2010 IBM Corporation
3 * 4 *
@@ -5,10 +6,6 @@
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 * Kylene Hall <kjhall@us.ibm.com> 7 * Kylene Hall <kjhall@us.ibm.com>
7 * 8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, version 2 of the License.
11 *
12 * File: evm_main.c 9 * File: evm_main.c
13 * implements evm_inode_setxattr, evm_inode_post_setxattr, 10 * implements evm_inode_setxattr, evm_inode_post_setxattr,
14 * evm_inode_removexattr, and evm_verifyxattr 11 * evm_inode_removexattr, and evm_verifyxattr
diff --git a/security/integrity/evm/evm_posix_acl.c b/security/integrity/evm/evm_posix_acl.c
index 7faf98c20373..37275800c072 100644
--- a/security/integrity/evm/evm_posix_acl.c
+++ b/security/integrity/evm/evm_posix_acl.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2011 IBM Corporation 3 * Copyright (C) 2011 IBM Corporation
3 * 4 *
4 * Author: 5 * Author:
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, version 2 of the License.
10 */ 7 */
11 8
12#include <linux/xattr.h> 9#include <linux/xattr.h>
diff --git a/security/integrity/evm/evm_secfs.c b/security/integrity/evm/evm_secfs.c
index 3f7cbb238923..c11c1f7b3ddd 100644
--- a/security/integrity/evm/evm_secfs.c
+++ b/security/integrity/evm/evm_secfs.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2010 IBM Corporation 3 * Copyright (C) 2010 IBM Corporation
3 * 4 *
4 * Authors: 5 * Authors:
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 * 7 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, version 2 of the License.
10 *
11 * File: evm_secfs.c 8 * File: evm_secfs.c
12 * - Used to signal when key is on keyring 9 * - Used to signal when key is on keyring
13 * - Get the key and enable EVM 10 * - Get the key and enable EVM
diff --git a/security/integrity/iint.c b/security/integrity/iint.c
index 423876fca8b4..e12c4900510f 100644
--- a/security/integrity/iint.c
+++ b/security/integrity/iint.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2008 IBM Corporation 3 * Copyright (C) 2008 IBM Corporation
3 * 4 *
4 * Authors: 5 * Authors:
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation, version 2 of the
10 * License.
11 *
12 * File: integrity_iint.c 8 * File: integrity_iint.c
13 * - implements the integrity hooks: integrity_inode_alloc, 9 * - implements the integrity hooks: integrity_inode_alloc,
14 * integrity_inode_free 10 * integrity_inode_free
diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h
index d213e835c498..ca10917b5f89 100644
--- a/security/integrity/ima/ima.h
+++ b/security/integrity/ima/ima.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * Copyright (C) 2005,2006,2007,2008 IBM Corporation
3 * 4 *
@@ -5,11 +6,6 @@
5 * Reiner Sailer <sailer@watson.ibm.com> 6 * Reiner Sailer <sailer@watson.ibm.com>
6 * Mimi Zohar <zohar@us.ibm.com> 7 * Mimi Zohar <zohar@us.ibm.com>
7 * 8 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation, version 2 of the
11 * License.
12 *
13 * File: ima.h 9 * File: ima.h
14 * internal Integrity Measurement Architecture (IMA) definitions 10 * internal Integrity Measurement Architecture (IMA) definitions
15 */ 11 */
diff --git a/security/integrity/ima/ima_api.c b/security/integrity/ima/ima_api.c
index c7505fb122d4..35c129cbb7e9 100644
--- a/security/integrity/ima/ima_api.c
+++ b/security/integrity/ima/ima_api.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2008 IBM Corporation 3 * Copyright (C) 2008 IBM Corporation
3 * 4 *
4 * Author: Mimi Zohar <zohar@us.ibm.com> 5 * Author: Mimi Zohar <zohar@us.ibm.com>
5 * 6 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2 of the
9 * License.
10 *
11 * File: ima_api.c 7 * File: ima_api.c
12 * Implements must_appraise_or_measure, collect_measurement, 8 * Implements must_appraise_or_measure, collect_measurement,
13 * appraise_measurement, store_measurement and store_template. 9 * appraise_measurement, store_measurement and store_template.
diff --git a/security/integrity/ima/ima_appraise.c b/security/integrity/ima/ima_appraise.c
index 5fb7127bbe68..f0cd67cab6aa 100644
--- a/security/integrity/ima/ima_appraise.c
+++ b/security/integrity/ima/ima_appraise.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2011 IBM Corporation 3 * Copyright (C) 2011 IBM Corporation
3 * 4 *
4 * Author: 5 * Author:
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, version 2 of the License.
10 */ 7 */
11#include <linux/init.h> 8#include <linux/init.h>
12#include <linux/file.h> 9#include <linux/file.h>
diff --git a/security/integrity/ima/ima_crypto.c b/security/integrity/ima/ima_crypto.c
index a32878e10ebc..d4c7b8e1b083 100644
--- a/security/integrity/ima/ima_crypto.c
+++ b/security/integrity/ima/ima_crypto.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * Copyright (C) 2005,2006,2007,2008 IBM Corporation
3 * 4 *
@@ -5,10 +6,6 @@
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 * Kylene Hall <kjhall@us.ibm.com> 7 * Kylene Hall <kjhall@us.ibm.com>
7 * 8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, version 2 of the License.
11 *
12 * File: ima_crypto.c 9 * File: ima_crypto.c
13 * Calculates md5/sha1 file hash, template hash, boot-aggreate hash 10 * Calculates md5/sha1 file hash, template hash, boot-aggreate hash
14 */ 11 */
diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c
index 0af792833f42..2000e8df0301 100644
--- a/security/integrity/ima/ima_fs.c
+++ b/security/integrity/ima/ima_fs.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * Copyright (C) 2005,2006,2007,2008 IBM Corporation
3 * 4 *
@@ -6,11 +7,6 @@
6 * Reiner Sailer <sailer@us.ibm.com> 7 * Reiner Sailer <sailer@us.ibm.com>
7 * Mimi Zohar <zohar@us.ibm.com> 8 * Mimi Zohar <zohar@us.ibm.com>
8 * 9 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 *
14 * File: ima_fs.c 10 * File: ima_fs.c
15 * implemenents security file system for reporting 11 * implemenents security file system for reporting
16 * current measurement list and IMA statistics 12 * current measurement list and IMA statistics
diff --git a/security/integrity/ima/ima_init.c b/security/integrity/ima/ima_init.c
index 6c9295449751..1e47c1026471 100644
--- a/security/integrity/ima/ima_init.c
+++ b/security/integrity/ima/ima_init.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * Copyright (C) 2005,2006,2007,2008 IBM Corporation
3 * 4 *
@@ -6,11 +7,6 @@
6 * Leendert van Doorn <leendert@watson.ibm.com> 7 * Leendert van Doorn <leendert@watson.ibm.com>
7 * Mimi Zohar <zohar@us.ibm.com> 8 * Mimi Zohar <zohar@us.ibm.com>
8 * 9 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 *
14 * File: ima_init.c 10 * File: ima_init.c
15 * initialization and cleanup functions 11 * initialization and cleanup functions
16 */ 12 */
diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c
index 357edd140c09..f556e6c18f9b 100644
--- a/security/integrity/ima/ima_main.c
+++ b/security/integrity/ima/ima_main.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Integrity Measurement Architecture 3 * Integrity Measurement Architecture
3 * 4 *
@@ -9,11 +10,6 @@
9 * Kylene Hall <kylene@us.ibm.com> 10 * Kylene Hall <kylene@us.ibm.com>
10 * Mimi Zohar <zohar@us.ibm.com> 11 * Mimi Zohar <zohar@us.ibm.com>
11 * 12 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation, version 2 of the
15 * License.
16 *
17 * File: ima_main.c 13 * File: ima_main.c
18 * implements the IMA hooks: ima_bprm_check, ima_file_mmap, 14 * implements the IMA hooks: ima_bprm_check, ima_file_mmap,
19 * and ima_file_check. 15 * and ima_file_check.
diff --git a/security/integrity/ima/ima_mok.c b/security/integrity/ima/ima_mok.c
index 073ddc9bce5b..36cadadbfba4 100644
--- a/security/integrity/ima/ima_mok.c
+++ b/security/integrity/ima/ima_mok.c
@@ -1,14 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2015 Juniper Networks, Inc. 3 * Copyright (C) 2015 Juniper Networks, Inc.
3 * 4 *
4 * Author: 5 * Author:
5 * Petko Manolov <petko.manolov@konsulko.com> 6 * Petko Manolov <petko.manolov@konsulko.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation, version 2 of the
10 * License.
11 *
12 */ 7 */
13 8
14#include <linux/export.h> 9#include <linux/export.h>
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c
index 1cc822a59054..7b53f2ca58e2 100644
--- a/security/integrity/ima/ima_policy.c
+++ b/security/integrity/ima/ima_policy.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2008 IBM Corporation 3 * Copyright (C) 2008 IBM Corporation
3 * Author: Mimi Zohar <zohar@us.ibm.com> 4 * Author: Mimi Zohar <zohar@us.ibm.com>
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
8 *
9 * ima_policy.c 6 * ima_policy.c
10 * - initialize default measure policy rules 7 * - initialize default measure policy rules
11 *
12 */ 8 */
13#include <linux/init.h> 9#include <linux/init.h>
14#include <linux/list.h> 10#include <linux/list.h>
diff --git a/security/integrity/ima/ima_queue.c b/security/integrity/ima/ima_queue.c
index 6b6d044e0440..1ce8b1701566 100644
--- a/security/integrity/ima/ima_queue.c
+++ b/security/integrity/ima/ima_queue.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * Copyright (C) 2005,2006,2007,2008 IBM Corporation
3 * 4 *
@@ -6,11 +7,6 @@
6 * Reiner Sailer <sailer@watson.ibm.com> 7 * Reiner Sailer <sailer@watson.ibm.com>
7 * Mimi Zohar <zohar@us.ibm.com> 8 * Mimi Zohar <zohar@us.ibm.com>
8 * 9 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
13 *
14 * File: ima_queue.c 10 * File: ima_queue.c
15 * Implements queues that store template measurements and 11 * Implements queues that store template measurements and
16 * maintains aggregate over the stored measurements 12 * maintains aggregate over the stored measurements
diff --git a/security/integrity/ima/ima_template.c b/security/integrity/ima/ima_template.c
index b631b8bc7624..f4354c267396 100644
--- a/security/integrity/ima/ima_template.c
+++ b/security/integrity/ima/ima_template.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2013 Politecnico di Torino, Italy 3 * Copyright (C) 2013 Politecnico di Torino, Italy
3 * TORSEC group -- http://security.polito.it 4 * TORSEC group -- http://security.polito.it
4 * 5 *
5 * Author: Roberto Sassu <roberto.sassu@polito.it> 6 * Author: Roberto Sassu <roberto.sassu@polito.it>
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation, version 2 of the
10 * License.
11 *
12 * File: ima_template.c 8 * File: ima_template.c
13 * Helpers to manage template descriptors. 9 * Helpers to manage template descriptors.
14 */ 10 */
diff --git a/security/integrity/ima/ima_template_lib.c b/security/integrity/ima/ima_template_lib.c
index 513b457ae900..9fe0ef7f91e2 100644
--- a/security/integrity/ima/ima_template_lib.c
+++ b/security/integrity/ima/ima_template_lib.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2013 Politecnico di Torino, Italy 3 * Copyright (C) 2013 Politecnico di Torino, Italy
3 * TORSEC group -- http://security.polito.it 4 * TORSEC group -- http://security.polito.it
4 * 5 *
5 * Author: Roberto Sassu <roberto.sassu@polito.it> 6 * Author: Roberto Sassu <roberto.sassu@polito.it>
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation, version 2 of the
10 * License.
11 *
12 * File: ima_template_lib.c 8 * File: ima_template_lib.c
13 * Library of supported template fields. 9 * Library of supported template fields.
14 */ 10 */
diff --git a/security/integrity/ima/ima_template_lib.h b/security/integrity/ima/ima_template_lib.h
index 6a3d8b831deb..e515955456a3 100644
--- a/security/integrity/ima/ima_template_lib.h
+++ b/security/integrity/ima/ima_template_lib.h
@@ -1,14 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2013 Politecnico di Torino, Italy 3 * Copyright (C) 2013 Politecnico di Torino, Italy
3 * TORSEC group -- http://security.polito.it 4 * TORSEC group -- http://security.polito.it
4 * 5 *
5 * Author: Roberto Sassu <roberto.sassu@polito.it> 6 * Author: Roberto Sassu <roberto.sassu@polito.it>
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation, version 2 of the
10 * License.
11 *
12 * File: ima_template_lib.h 8 * File: ima_template_lib.h
13 * Header for the library of supported template fields. 9 * Header for the library of supported template fields.
14 */ 10 */
diff --git a/security/integrity/integrity.h b/security/integrity/integrity.h
index 7de59f44cba3..65377848fbc5 100644
--- a/security/integrity/integrity.h
+++ b/security/integrity/integrity.h
@@ -1,14 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2009-2010 IBM Corporation 3 * Copyright (C) 2009-2010 IBM Corporation
3 * 4 *
4 * Authors: 5 * Authors:
5 * Mimi Zohar <zohar@us.ibm.com> 6 * Mimi Zohar <zohar@us.ibm.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation, version 2 of the
10 * License.
11 *
12 */ 7 */
13 8
14#include <linux/types.h> 9#include <linux/types.h>
diff --git a/security/integrity/integrity_audit.c b/security/integrity/integrity_audit.c
index 82c98f7d217e..5109173839cc 100644
--- a/security/integrity/integrity_audit.c
+++ b/security/integrity/integrity_audit.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2008 IBM Corporation 3 * Copyright (C) 2008 IBM Corporation
3 * Author: Mimi Zohar <zohar@us.ibm.com> 4 * Author: Mimi Zohar <zohar@us.ibm.com>
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
8 *
9 * File: integrity_audit.c 6 * File: integrity_audit.c
10 * Audit calls for the integrity subsystem 7 * Audit calls for the integrity subsystem
11 */ 8 */
diff --git a/security/keys/encrypted-keys/ecryptfs_format.c b/security/keys/encrypted-keys/ecryptfs_format.c
index efac03047919..a7339d4de811 100644
--- a/security/keys/encrypted-keys/ecryptfs_format.c
+++ b/security/keys/encrypted-keys/ecryptfs_format.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ecryptfs_format.c: helper functions for the encrypted key type 3 * ecryptfs_format.c: helper functions for the encrypted key type
3 * 4 *
@@ -9,10 +10,6 @@
9 * Michael A. Halcrow <mahalcro@us.ibm.com> 10 * Michael A. Halcrow <mahalcro@us.ibm.com>
10 * Tyler Hicks <tyhicks@ou.edu> 11 * Tyler Hicks <tyhicks@ou.edu>
11 * Roberto Sassu <roberto.sassu@polito.it> 12 * Roberto Sassu <roberto.sassu@polito.it>
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, version 2 of the License.
16 */ 13 */
17 14
18#include <linux/export.h> 15#include <linux/export.h>
diff --git a/security/keys/encrypted-keys/ecryptfs_format.h b/security/keys/encrypted-keys/ecryptfs_format.h
index 40294de238bb..939621d870e4 100644
--- a/security/keys/encrypted-keys/ecryptfs_format.h
+++ b/security/keys/encrypted-keys/ecryptfs_format.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * ecryptfs_format.h: helper functions for the encrypted key type 3 * ecryptfs_format.h: helper functions for the encrypted key type
3 * 4 *
@@ -9,10 +10,6 @@
9 * Michael A. Halcrow <mahalcro@us.ibm.com> 10 * Michael A. Halcrow <mahalcro@us.ibm.com>
10 * Tyler Hicks <tyhicks@ou.edu> 11 * Tyler Hicks <tyhicks@ou.edu>
11 * Roberto Sassu <roberto.sassu@polito.it> 12 * Roberto Sassu <roberto.sassu@polito.it>
12 *
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, version 2 of the License.
16 */ 13 */
17 14
18#ifndef __KEYS_ECRYPTFS_H 15#ifndef __KEYS_ECRYPTFS_H
diff --git a/security/keys/encrypted-keys/encrypted.c b/security/keys/encrypted-keys/encrypted.c
index 1b1456b21a93..60720f58cbe0 100644
--- a/security/keys/encrypted-keys/encrypted.c
+++ b/security/keys/encrypted-keys/encrypted.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2010 IBM Corporation 3 * Copyright (C) 2010 IBM Corporation
3 * Copyright (C) 2010 Politecnico di Torino, Italy 4 * Copyright (C) 2010 Politecnico di Torino, Italy
@@ -7,10 +8,6 @@
7 * Mimi Zohar <zohar@us.ibm.com> 8 * Mimi Zohar <zohar@us.ibm.com>
8 * Roberto Sassu <roberto.sassu@polito.it> 9 * Roberto Sassu <roberto.sassu@polito.it>
9 * 10 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, version 2 of the License.
13 *
14 * See Documentation/security/keys/trusted-encrypted.rst 11 * See Documentation/security/keys/trusted-encrypted.rst
15 */ 12 */
16 13
diff --git a/security/keys/encrypted-keys/masterkey_trusted.c b/security/keys/encrypted-keys/masterkey_trusted.c
index dc3d18cae642..c68528aa49c6 100644
--- a/security/keys/encrypted-keys/masterkey_trusted.c
+++ b/security/keys/encrypted-keys/masterkey_trusted.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2010 IBM Corporation 3 * Copyright (C) 2010 IBM Corporation
3 * Copyright (C) 2010 Politecnico di Torino, Italy 4 * Copyright (C) 2010 Politecnico di Torino, Italy
@@ -7,10 +8,6 @@
7 * Mimi Zohar <zohar@us.ibm.com> 8 * Mimi Zohar <zohar@us.ibm.com>
8 * Roberto Sassu <roberto.sassu@polito.it> 9 * Roberto Sassu <roberto.sassu@polito.it>
9 * 10 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, version 2 of the License.
13 *
14 * See Documentation/security/keys/trusted-encrypted.rst 11 * See Documentation/security/keys/trusted-encrypted.rst
15 */ 12 */
16 13
diff --git a/security/keys/trusted.c b/security/keys/trusted.c
index a75b2f0f1230..9a94672e7adc 100644
--- a/security/keys/trusted.c
+++ b/security/keys/trusted.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2010 IBM Corporation 3 * Copyright (C) 2010 IBM Corporation
3 * 4 *
4 * Author: 5 * Author:
5 * David Safford <safford@us.ibm.com> 6 * David Safford <safford@us.ibm.com>
6 * 7 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, version 2 of the License.
10 *
11 * See Documentation/security/keys/trusted-encrypted.rst 8 * See Documentation/security/keys/trusted-encrypted.rst
12 */ 9 */
13 10
diff --git a/sound/soc/codecs/isabelle.c b/sound/soc/codecs/isabelle.c
index 166420376e67..3626f70f7768 100644
--- a/sound/soc/codecs/isabelle.c
+++ b/sound/soc/codecs/isabelle.c
@@ -1,15 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * isabelle.c - Low power high fidelity audio codec driver 3 * isabelle.c - Low power high fidelity audio codec driver
3 * 4 *
4 * Copyright (c) 2012 Texas Instruments, Inc 5 * Copyright (c) 2012 Texas Instruments, Inc
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 *
11 * Initially based on sound/soc/codecs/twl6040.c 7 * Initially based on sound/soc/codecs/twl6040.c
12 *
13 */ 8 */
14#include <linux/module.h> 9#include <linux/module.h>
15#include <linux/moduleparam.h> 10#include <linux/moduleparam.h>
diff --git a/sound/soc/codecs/isabelle.h b/sound/soc/codecs/isabelle.h
index 96d839a8c956..23afc77cdc99 100644
--- a/sound/soc/codecs/isabelle.h
+++ b/sound/soc/codecs/isabelle.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * isabelle.h - Low power high fidelity audio codec driver header file 3 * isabelle.h - Low power high fidelity audio codec driver header file
3 * 4 *
4 * Copyright (c) 2012 Texas Instruments, Inc 5 * Copyright (c) 2012 Texas Instruments, Inc
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 */ 6 */
11 7
12#ifndef _ISABELLE_H 8#ifndef _ISABELLE_H
diff --git a/sound/soc/codecs/lm49453.c b/sound/soc/codecs/lm49453.c
index 59a646cc03d4..f864b07cb0b8 100644
--- a/sound/soc/codecs/lm49453.c
+++ b/sound/soc/codecs/lm49453.c
@@ -1,12 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * lm49453.c - LM49453 ALSA Soc Audio driver 3 * lm49453.c - LM49453 ALSA Soc Audio driver
3 * 4 *
4 * Copyright (c) 2012 Texas Instruments, Inc 5 * Copyright (c) 2012 Texas Instruments, Inc
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * Initially based on sound/soc/codecs/wm8350.c 7 * Initially based on sound/soc/codecs/wm8350.c
11 */ 8 */
12 9
diff --git a/sound/soc/codecs/lm49453.h b/sound/soc/codecs/lm49453.h
index a63cfa5c0883..578a773e6fc9 100644
--- a/sound/soc/codecs/lm49453.h
+++ b/sound/soc/codecs/lm49453.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * lm49453.h - LM49453 ALSA Soc Audio drive 3 * lm49453.h - LM49453 ALSA Soc Audio drive
3 * 4 *
4 * Copyright (c) 2012 Texas Instruments, Inc 5 * Copyright (c) 2012 Texas Instruments, Inc
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 */ 6 */
11 7
12#ifndef _LM49453_H 8#ifndef _LM49453_H
diff --git a/sound/soc/codecs/max9768.c b/sound/soc/codecs/max9768.c
index 7017c0389e73..d0737db5868a 100644
--- a/sound/soc/codecs/max9768.c
+++ b/sound/soc/codecs/max9768.c
@@ -1,11 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MAX9768 AMP driver 3 * MAX9768 AMP driver
3 * 4 *
4 * Copyright (C) 2011, 2012 by Wolfram Sang, Pengutronix e.K. 5 * Copyright (C) 2011, 2012 by Wolfram Sang, Pengutronix e.K.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; version 2 of the License.
9 */ 6 */
10 7
11#include <linux/init.h> 8#include <linux/init.h>
diff --git a/sound/soc/codecs/wm9705.c b/sound/soc/codecs/wm9705.c
index 54c306707c02..99fe8f316624 100644
--- a/sound/soc/codecs/wm9705.c
+++ b/sound/soc/codecs/wm9705.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * wm9705.c -- ALSA Soc WM9705 codec support 3 * wm9705.c -- ALSA Soc WM9705 codec support
3 * 4 *
4 * Copyright 2008 Ian Molton <spyro@f2s.com> 5 * Copyright 2008 Ian Molton <spyro@f2s.com>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; Version 2 of the License only.
9 *
10 */ 6 */
11 7
12#include <linux/init.h> 8#include <linux/init.h>
diff --git a/sound/soc/nuc900/nuc900-ac97.c b/sound/soc/nuc900/nuc900-ac97.c
index 6384bb6dacfd..5f2e5c069377 100644
--- a/sound/soc/nuc900/nuc900-ac97.c
+++ b/sound/soc/nuc900/nuc900-ac97.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2009-2010 Nuvoton technology corporation. 3 * Copyright (c) 2009-2010 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/init.h> 8#include <linux/init.h>
diff --git a/sound/soc/nuc900/nuc900-audio.c b/sound/soc/nuc900/nuc900-audio.c
index 2f6e6fd6e05c..58f1dd4760ee 100644
--- a/sound/soc/nuc900/nuc900-audio.c
+++ b/sound/soc/nuc900/nuc900-audio.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2010 Nuvoton technology corporation. 3 * Copyright (c) 2010 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/module.h> 8#include <linux/module.h>
diff --git a/sound/soc/nuc900/nuc900-audio.h b/sound/soc/nuc900/nuc900-audio.h
index d0b725705914..90ffa7bbce01 100644
--- a/sound/soc/nuc900/nuc900-audio.h
+++ b/sound/soc/nuc900/nuc900-audio.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (c) 2010 Nuvoton technology corporation. 3 * Copyright (c) 2010 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#ifndef _NUC900_AUDIO_H 8#ifndef _NUC900_AUDIO_H
diff --git a/sound/soc/nuc900/nuc900-pcm.c b/sound/soc/nuc900/nuc900-pcm.c
index ad8392a87df9..4442a26e9502 100644
--- a/sound/soc/nuc900/nuc900-pcm.c
+++ b/sound/soc/nuc900/nuc900-pcm.c
@@ -1,12 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2010 Nuvoton technology corporation. 3 * Copyright (c) 2010 Nuvoton technology corporation.
3 * 4 *
4 * Wan ZongShun <mcuos.com@gmail.com> 5 * Wan ZongShun <mcuos.com@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation;version 2 of the License.
9 *
10 */ 6 */
11 7
12#include <linux/module.h> 8#include <linux/module.h>
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index 9b98687a27b9..145a19668114 100644
--- a/tools/perf/builtin-timechart.c
+++ b/tools/perf/builtin-timechart.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * builtin-timechart.c - make an svg timechart of system activity 3 * builtin-timechart.c - make an svg timechart of system activity
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Authors: 7 * Authors:
7 * Arjan van de Ven <arjan@linux.intel.com> 8 * Arjan van de Ven <arjan@linux.intel.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2
12 * of the License.
13 */ 9 */
14 10
15#include <errno.h> 11#include <errno.h>
diff --git a/tools/perf/util/svghelper.c b/tools/perf/util/svghelper.c
index f735ee038713..fab8a048d31b 100644
--- a/tools/perf/util/svghelper.c
+++ b/tools/perf/util/svghelper.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * svghelper.c - helper functions for outputting svg 3 * svghelper.c - helper functions for outputting svg
3 * 4 *
@@ -5,11 +6,6 @@
5 * 6 *
6 * Authors: 7 * Authors:
7 * Arjan van de Ven <arjan@linux.intel.com> 8 * Arjan van de Ven <arjan@linux.intel.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; version 2
12 * of the License.
13 */ 9 */
14 10
15#include <inttypes.h> 11#include <inttypes.h>
diff --git a/tools/power/acpi/Makefile b/tools/power/acpi/Makefile
index a8bf9081512b..ebd3e1a1c28e 100644
--- a/tools/power/acpi/Makefile
+++ b/tools/power/acpi/Makefile
@@ -1,12 +1,9 @@
1# SPDX-License-Identifier: GPL-2.0-only
1# tools/power/acpi/Makefile - ACPI tool Makefile 2# tools/power/acpi/Makefile - ACPI tool Makefile
2# 3#
3# Copyright (c) 2013, Intel Corporation 4# Copyright (c) 2013, Intel Corporation
4# Author: Lv Zheng <lv.zheng@intel.com> 5# Author: Lv Zheng <lv.zheng@intel.com>
5# 6#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License
8# as published by the Free Software Foundation; version 2
9# of the License.
10 7
11include ../../scripts/Makefile.include 8include ../../scripts/Makefile.include
12 9
diff --git a/tools/power/acpi/Makefile.config b/tools/power/acpi/Makefile.config
index f304be71c278..0111d246d1ca 100644
--- a/tools/power/acpi/Makefile.config
+++ b/tools/power/acpi/Makefile.config
@@ -1,12 +1,9 @@
1# SPDX-License-Identifier: GPL-2.0-only
1# tools/power/acpi/Makefile.config - ACPI tool Makefile 2# tools/power/acpi/Makefile.config - ACPI tool Makefile
2# 3#
3# Copyright (c) 2015, Intel Corporation 4# Copyright (c) 2015, Intel Corporation
4# Author: Lv Zheng <lv.zheng@intel.com> 5# Author: Lv Zheng <lv.zheng@intel.com>
5# 6#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License
8# as published by the Free Software Foundation; version 2
9# of the License.
10 7
11ifeq ($(srctree),) 8ifeq ($(srctree),)
12srctree := $(patsubst %/,%,$(dir $(shell pwd))) 9srctree := $(patsubst %/,%,$(dir $(shell pwd)))
diff --git a/tools/power/acpi/Makefile.rules b/tools/power/acpi/Makefile.rules
index 373738338f51..2a6c170b57cd 100644
--- a/tools/power/acpi/Makefile.rules
+++ b/tools/power/acpi/Makefile.rules
@@ -1,12 +1,9 @@
1# SPDX-License-Identifier: GPL-2.0-only
1# tools/power/acpi/Makefile.rules - ACPI tool Makefile 2# tools/power/acpi/Makefile.rules - ACPI tool Makefile
2# 3#
3# Copyright (c) 2015, Intel Corporation 4# Copyright (c) 2015, Intel Corporation
4# Author: Lv Zheng <lv.zheng@intel.com> 5# Author: Lv Zheng <lv.zheng@intel.com>
5# 6#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License
8# as published by the Free Software Foundation; version 2
9# of the License.
10 7
11objdir := $(OUTPUT)tools/$(TOOL)/ 8objdir := $(OUTPUT)tools/$(TOOL)/
12toolobjs := $(addprefix $(objdir),$(TOOL_OBJS)) 9toolobjs := $(addprefix $(objdir),$(TOOL_OBJS))
diff --git a/tools/power/acpi/tools/acpidbg/Makefile b/tools/power/acpi/tools/acpidbg/Makefile
index f2d06e773eb4..2ce0ee5d0deb 100644
--- a/tools/power/acpi/tools/acpidbg/Makefile
+++ b/tools/power/acpi/tools/acpidbg/Makefile
@@ -1,12 +1,9 @@
1# SPDX-License-Identifier: GPL-2.0-only
1# tools/power/acpi/tools/acpidbg/Makefile - ACPI tool Makefile 2# tools/power/acpi/tools/acpidbg/Makefile - ACPI tool Makefile
2# 3#
3# Copyright (c) 2015, Intel Corporation 4# Copyright (c) 2015, Intel Corporation
4# Author: Lv Zheng <lv.zheng@intel.com> 5# Author: Lv Zheng <lv.zheng@intel.com>
5# 6#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License
8# as published by the Free Software Foundation; version 2
9# of the License.
10 7
11include ../../Makefile.config 8include ../../Makefile.config
12 9
diff --git a/tools/power/acpi/tools/acpidump/Makefile b/tools/power/acpi/tools/acpidump/Makefile
index b436f8675f6a..1208a105a871 100644
--- a/tools/power/acpi/tools/acpidump/Makefile
+++ b/tools/power/acpi/tools/acpidump/Makefile
@@ -1,12 +1,9 @@
1# SPDX-License-Identifier: GPL-2.0-only
1# tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile 2# tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile
2# 3#
3# Copyright (c) 2015, Intel Corporation 4# Copyright (c) 2015, Intel Corporation
4# Author: Lv Zheng <lv.zheng@intel.com> 5# Author: Lv Zheng <lv.zheng@intel.com>
5# 6#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License
8# as published by the Free Software Foundation; version 2
9# of the License.
10 7
11include ../../Makefile.config 8include ../../Makefile.config
12 9
diff --git a/tools/power/acpi/tools/ec/Makefile b/tools/power/acpi/tools/ec/Makefile
index 75d8a127b6ee..d0abac0ec23a 100644
--- a/tools/power/acpi/tools/ec/Makefile
+++ b/tools/power/acpi/tools/ec/Makefile
@@ -1,12 +1,9 @@
1# SPDX-License-Identifier: GPL-2.0-only
1# tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile 2# tools/power/acpi/tools/acpidump/Makefile - ACPI tool Makefile
2# 3#
3# Copyright (c) 2015, Intel Corporation 4# Copyright (c) 2015, Intel Corporation
4# Author: Lv Zheng <lv.zheng@intel.com> 5# Author: Lv Zheng <lv.zheng@intel.com>
5# 6#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License
8# as published by the Free Software Foundation; version 2
9# of the License.
10 7
11include ../../Makefile.config 8include ../../Makefile.config
12 9
diff --git a/tools/testing/vsock/control.c b/tools/testing/vsock/control.c
index 90fd47f0e422..45f328c6ff23 100644
--- a/tools/testing/vsock/control.c
+++ b/tools/testing/vsock/control.c
@@ -1,13 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* Control socket for client/server test execution 2/* Control socket for client/server test execution
2 * 3 *
3 * Copyright (C) 2017 Red Hat, Inc. 4 * Copyright (C) 2017 Red Hat, Inc.
4 * 5 *
5 * Author: Stefan Hajnoczi <stefanha@redhat.com> 6 * Author: Stefan Hajnoczi <stefanha@redhat.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 */ 7 */
12 8
13/* The client and server may need to coordinate to avoid race conditions like 9/* The client and server may need to coordinate to avoid race conditions like
diff --git a/tools/testing/vsock/timeout.c b/tools/testing/vsock/timeout.c
index c49b3003b2db..44aee49b6cee 100644
--- a/tools/testing/vsock/timeout.c
+++ b/tools/testing/vsock/timeout.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* Timeout API for single-threaded programs that use blocking 2/* Timeout API for single-threaded programs that use blocking
2 * syscalls (read/write/send/recv/connect/accept). 3 * syscalls (read/write/send/recv/connect/accept).
3 * 4 *
4 * Copyright (C) 2017 Red Hat, Inc. 5 * Copyright (C) 2017 Red Hat, Inc.
5 * 6 *
6 * Author: Stefan Hajnoczi <stefanha@redhat.com> 7 * Author: Stefan Hajnoczi <stefanha@redhat.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14/* Use the following pattern: 10/* Use the following pattern:
diff --git a/tools/testing/vsock/vsock_diag_test.c b/tools/testing/vsock/vsock_diag_test.c
index e896a4af52f4..c481101364a4 100644
--- a/tools/testing/vsock/vsock_diag_test.c
+++ b/tools/testing/vsock/vsock_diag_test.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * vsock_diag_test - vsock_diag.ko test suite 3 * vsock_diag_test - vsock_diag.ko test suite
3 * 4 *
4 * Copyright (C) 2017 Red Hat, Inc. 5 * Copyright (C) 2017 Red Hat, Inc.
5 * 6 *
6 * Author: Stefan Hajnoczi <stefanha@redhat.com> 7 * Author: Stefan Hajnoczi <stefanha@redhat.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; version 2
11 * of the License.
12 */ 8 */
13 9
14#include <getopt.h> 10#include <getopt.h>