Skip to contentSkip to conversation

staging: fix up remaining SPDX problems in drivers/staging

PATCH In review Greg Kroah-Hartman 8 participants 30 messages Apr 2, 2019 – Apr 7, 2019 1 message not in the archive

Subsystems (22)
lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

cover staging: fix up remaining SPDX problems in drivers/staging

There are still some remaining SPDX file identifiers missing in the drivers/staging/ tree. When a new-developer comes along and tries to fix up checkpatch.pl issues, and sends in a SPDX change, it is almost always wrong as the developer doesn't really know the meaning behind the tags or what needs to be done.

To fix this all up, just resolve all of the remaining SPDX identifier issues in drivers/staging all at once. Yes, this involved deleting an entire driver, whose license was very odd and questionable, but once that license is properly resolved, we can add it back if needed.

Greg Kroah-Hartman (16):
staging: add missing SPDX lines to Kconfig files
staging: add missing SPDX lines to Makefile files
staging: m57621-mmc: delete driver from the tree.
staging: sm750fb: add proper SPDX identifier to driver
staging: vc04_services: add proper SPDX identifier for dual licensed
files
staging: vc04_services: remove remaining redundant license text
staging: comedi: quatec_daqp_cs: add proper SPDX identifier to driver
staging: iio: add proper SPDX identifiers to remaining driver files
staging: rtl8192u: add proper SPDX identifiers on files that did not
have them.
staging: ralink-gdma: add proper SPDX identifiers on ralink-gdma file
staging: rtl8192e: add proper SPDX identifiers on files that did not
have them.
staging: rtl8192e: delete license file.
staging: media: zoran: add proper SPDX identifiers on files that did
not have them.
staging: media: soc_camera: add proper SPDX identifiers on files that
did not have them.
staging: media: imx: add proper SPDX identifiers on files that did not
have them.
staging: media: tegra-vde: add proper SPDX identifiers on file that
did not have it.

 drivers/staging/Kconfig                       |    3 +-
 drivers/staging/Makefile                      |    1 -
 drivers/staging/android/Kconfig               |    1 +
 drivers/staging/android/Makefile              |    1 +
 drivers/staging/android/ion/Kconfig           |    1 +
 drivers/staging/axis-fifo/Kconfig             |    1 +
 drivers/staging/axis-fifo/Makefile            |    1 +
 drivers/staging/board/Kconfig                 |    1 +
 drivers/staging/board/Makefile                |    1 +
 drivers/staging/clocking-wizard/Kconfig       |    1 +
 drivers/staging/clocking-wizard/Makefile      |    1 +
 drivers/staging/comedi/Kconfig                |    1 +
 .../comedi/drivers/ni_routing/tools/Makefile  |    1 +
 .../staging/comedi/drivers/quatech_daqp_cs.c  |    1 +
 drivers/staging/comedi/kcomedilib/Makefile    |    1 +
 drivers/staging/emxx_udc/Kconfig              |    1 +
 drivers/staging/emxx_udc/Makefile             |    1 +
 drivers/staging/fbtft/Kconfig                 |    1 +
 drivers/staging/fsl-dpaa2/Kconfig             |    1 +
 drivers/staging/fsl-dpaa2/Makefile            |    1 +
 drivers/staging/fwserial/Kconfig              |    1 +
 drivers/staging/fwserial/Makefile             |    1 +
 drivers/staging/gasket/Kconfig                |    1 +
 drivers/staging/gasket/Makefile               |    1 +
 drivers/staging/gdm724x/Kconfig               |    1 +
 drivers/staging/goldfish/Kconfig              |    1 +
 drivers/staging/goldfish/Makefile             |    1 +
 drivers/staging/greybus/Kconfig               |    1 +
 drivers/staging/gs_fpgaboot/Kconfig           |    1 +
 drivers/staging/gs_fpgaboot/Makefile          |    1 +
 drivers/staging/iio/Kconfig                   |    1 +
 drivers/staging/iio/accel/Kconfig             |    1 +
 drivers/staging/iio/accel/Makefile            |    1 +
 drivers/staging/iio/accel/adis16203.c         |    3 +-
 drivers/staging/iio/accel/adis16240.c         |    3 +-
 drivers/staging/iio/adc/Kconfig               |    1 +
 drivers/staging/iio/adc/ad7192.c              |    3 +-
 drivers/staging/iio/adc/ad7192.h              |    3 +-
 drivers/staging/iio/adc/ad7280a.c             |    3 +-
 drivers/staging/iio/adc/ad7280a.h             |    3 +-
 drivers/staging/iio/adc/ad7780.c              |    3 +-
 drivers/staging/iio/adc/ad7816.c              |    3 +-
 drivers/staging/iio/addac/Kconfig             |    1 +
 drivers/staging/iio/addac/Makefile            |    1 +
 drivers/staging/iio/addac/adt7316-i2c.c       |    3 +-
 drivers/staging/iio/addac/adt7316-spi.c       |    3 +-
 drivers/staging/iio/addac/adt7316.c           |    4 +-
 drivers/staging/iio/addac/adt7316.h           |    3 +-
 drivers/staging/iio/cdc/Kconfig               |    1 +
 drivers/staging/iio/cdc/Makefile              |    1 +
 drivers/staging/iio/cdc/ad7150.c              |    3 +-
 drivers/staging/iio/cdc/ad7746.c              |    3 +-
 drivers/staging/iio/cdc/ad7746.h              |    3 +-
 drivers/staging/iio/frequency/Kconfig         |    1 +
 drivers/staging/iio/frequency/Makefile        |    1 +
 drivers/staging/iio/frequency/ad9832.c        |    3 +-
 drivers/staging/iio/frequency/ad9832.h        |    3 +-
 drivers/staging/iio/frequency/ad9834.c        |    3 +-
 drivers/staging/iio/frequency/ad9834.h        |    3 +-
 drivers/staging/iio/frequency/dds.h           |    3 +-
 .../staging/iio/impedance-analyzer/Kconfig    |    1 +
 .../staging/iio/impedance-analyzer/Makefile   |    1 +
 .../staging/iio/impedance-analyzer/ad5933.c   |    3 +-
 drivers/staging/iio/meter/Kconfig             |    1 +
 drivers/staging/iio/meter/ade7854-i2c.c       |    3 +-
 drivers/staging/iio/meter/ade7854-spi.c       |    3 +-
 drivers/staging/iio/meter/ade7854.c           |    3 +-
 drivers/staging/iio/resolver/Kconfig          |    1 +
 drivers/staging/iio/resolver/Makefile         |    1 +
 drivers/staging/iio/resolver/ad2s1210.c       |    6 +-
 drivers/staging/ks7010/Kconfig                |    1 +
 drivers/staging/ks7010/Makefile               |    1 +
 drivers/staging/media/Kconfig                 |    1 +
 drivers/staging/media/bcm2048/Kconfig         |    1 +
 drivers/staging/media/bcm2048/Makefile        |    1 +
 drivers/staging/media/davinci_vpfe/Kconfig    |    1 +
 drivers/staging/media/davinci_vpfe/Makefile   |    1 +
 drivers/staging/media/imx/Kconfig             |    1 +
 drivers/staging/media/imx/imx-ic-common.c     |    6 +-
 drivers/staging/media/imx/imx-ic-prp.c        |    6 +-
 drivers/staging/media/imx/imx-ic-prpencvf.c   |    6 +-
 drivers/staging/media/imx/imx-ic.h            |    6 +-
 drivers/staging/media/imx/imx-media-capture.c |    6 +-
 drivers/staging/media/imx/imx-media-csi.c     |    6 +-
 drivers/staging/media/imx/imx-media-dev.c     |    6 +-
 drivers/staging/media/imx/imx-media-fim.c     |    6 +-
 .../staging/media/imx/imx-media-internal-sd.c |    6 +-
 drivers/staging/media/imx/imx-media-of.c      |    6 +-
 drivers/staging/media/imx/imx-media-utils.c   |    6 +-
 drivers/staging/media/imx/imx-media-vdic.c    |    6 +-
 drivers/staging/media/imx/imx-media.h         |    6 +-
 drivers/staging/media/imx/imx6-mipi-csi2.c    |    6 +-
 drivers/staging/media/ipu3/Kconfig            |    1 +
 drivers/staging/media/ipu3/Makefile           |    1 +
 drivers/staging/media/mt9t031/Kconfig         |    1 +
 drivers/staging/media/mt9t031/Makefile        |    1 +
 drivers/staging/media/rockchip/vpu/Kconfig    |    1 +
 drivers/staging/media/rockchip/vpu/Makefile   |    1 +
 drivers/staging/media/soc_camera/Kconfig      |    1 +
 drivers/staging/media/soc_camera/imx074.c     |    6 +-
 drivers/staging/media/soc_camera/mt9t031.c    |    6 +-
 drivers/staging/media/soc_camera/soc_camera.c |    6 +-
 .../staging/media/soc_camera/soc_mediabus.c   |    6 +-
 .../staging/media/soc_camera/soc_mt9v022.c    |    6 +-
 drivers/staging/media/soc_camera/soc_ov5642.c |    6 +-
 drivers/staging/media/soc_camera/soc_ov9740.c |    6 +-
 drivers/staging/media/sunxi/Kconfig           |    1 +
 drivers/staging/media/sunxi/Makefile          |    1 +
 drivers/staging/media/sunxi/cedrus/Kconfig    |    1 +
 drivers/staging/media/sunxi/cedrus/Makefile   |    1 +
 drivers/staging/media/tegra-vde/Kconfig       |    1 +
 drivers/staging/media/tegra-vde/Makefile      |    1 +
 drivers/staging/media/tegra-vde/uapi.h        |   11 +-
 drivers/staging/media/zoran/Kconfig           |    1 +
 drivers/staging/media/zoran/videocodec.h      |   17 +-
 drivers/staging/media/zoran/zoran.h           |   12 +-
 drivers/staging/media/zoran/zoran_card.c      |   12 +-
 drivers/staging/media/zoran/zoran_card.h      |   12 +-
 drivers/staging/media/zoran/zoran_device.c    |   12 +-
 drivers/staging/media/zoran/zoran_device.h    |   12 +-
 drivers/staging/media/zoran/zoran_driver.c    |   13 +-
 drivers/staging/media/zoran/zoran_procfs.c    |   12 +-
 drivers/staging/media/zoran/zoran_procfs.h    |   12 +-
 drivers/staging/media/zoran/zr36016.c         |   18 +-
 drivers/staging/media/zoran/zr36016.h         |   18 +-
 drivers/staging/media/zoran/zr36050.c         |   18 +-
 drivers/staging/media/zoran/zr36050.h         |   18 +-
 drivers/staging/media/zoran/zr36057.h         |   12 +-
 drivers/staging/media/zoran/zr36060.c         |   18 +-
 drivers/staging/media/zoran/zr36060.h         |   18 +-
 drivers/staging/most/Kconfig                  |    1 +
 drivers/staging/most/cdev/Kconfig             |    1 +
 drivers/staging/most/cdev/Makefile            |    1 +
 drivers/staging/most/dim2/Kconfig             |    1 +
 drivers/staging/most/dim2/Makefile            |    1 +
 drivers/staging/most/i2c/Kconfig              |    1 +
 drivers/staging/most/i2c/Makefile             |    1 +
 drivers/staging/most/net/Kconfig              |    1 +
 drivers/staging/most/net/Makefile             |    1 +
 drivers/staging/most/sound/Kconfig            |    1 +
 drivers/staging/most/sound/Makefile           |    1 +
 drivers/staging/most/usb/Kconfig              |    1 +
 drivers/staging/most/usb/Makefile             |    1 +
 drivers/staging/most/video/Kconfig            |    1 +
 drivers/staging/most/video/Makefile           |    1 +
 drivers/staging/mt7621-dma/Kconfig            |    1 +
 drivers/staging/mt7621-dma/Makefile           |    1 +
 drivers/staging/mt7621-dts/Kconfig            |    1 +
 drivers/staging/mt7621-dts/Makefile           |    1 +
 drivers/staging/mt7621-mmc/Kconfig            |    8 -
 drivers/staging/mt7621-mmc/Makefile           |   42 -
 drivers/staging/mt7621-mmc/TODO               |    8 -
 drivers/staging/mt7621-mmc/board.h            |   63 -
 drivers/staging/mt7621-mmc/dbg.c              |  311 ---
 drivers/staging/mt7621-mmc/dbg.h              |  106 -
 drivers/staging/mt7621-mmc/mt6575_sd.h        |  485 -----
 drivers/staging/mt7621-mmc/sd.c               | 1859 -----------------
 drivers/staging/mt7621-pci-phy/Kconfig        |    1 +
 drivers/staging/mt7621-pci-phy/Makefile       |    1 +
 drivers/staging/mt7621-pci/Kconfig            |    1 +
 drivers/staging/mt7621-pci/Makefile           |    1 +
 drivers/staging/mt7621-pinctrl/Kconfig        |    1 +
 drivers/staging/mt7621-pinctrl/Makefile       |    1 +
 drivers/staging/mt7621-spi/Kconfig            |    1 +
 drivers/staging/mt7621-spi/Makefile           |    1 +
 drivers/staging/netlogic/Kconfig              |    1 +
 drivers/staging/netlogic/Makefile             |    1 +
 drivers/staging/nvec/Kconfig                  |    1 +
 drivers/staging/octeon-usb/Kconfig            |    1 +
 drivers/staging/octeon/Kconfig                |    1 +
 drivers/staging/olpc_dcon/Kconfig             |    1 +
 drivers/staging/olpc_dcon/Makefile            |    1 +
 drivers/staging/pi433/Kconfig                 |    1 +
 drivers/staging/pi433/Makefile                |    1 +
 drivers/staging/ralink-gdma/Kconfig           |    1 +
 drivers/staging/ralink-gdma/Makefile          |    1 +
 drivers/staging/ralink-gdma/ralink-gdma.c     |    7 +-
 drivers/staging/rtl8188eu/Kconfig             |    1 +
 drivers/staging/rtl8192e/Kconfig              |    1 +
 drivers/staging/rtl8192e/license              |  339 ---
 drivers/staging/rtl8192e/rtl8192e/Kconfig     |    1 +
 .../staging/rtl8192e/rtl8192e/r8190P_def.h    |   18 +-
 .../rtl8192e/rtl8192e/r8190P_rtl8256.c        |   17 +-
 .../rtl8192e/rtl8192e/r8190P_rtl8256.h        |   17 +-
 .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c |   17 +-
 .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h |   16 +-
 .../staging/rtl8192e/rtl8192e/r8192E_dev.c    |   19 +-
 .../staging/rtl8192e/rtl8192e/r8192E_dev.h    |   22 +-
 .../rtl8192e/rtl8192e/r8192E_firmware.c       |   17 +-
 .../rtl8192e/rtl8192e/r8192E_firmware.h       |   16 +-
 drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h |   18 +-
 .../staging/rtl8192e/rtl8192e/r8192E_hwimg.c  |   18 +-
 .../staging/rtl8192e/rtl8192e/r8192E_hwimg.h  |   16 +-
 .../staging/rtl8192e/rtl8192e/r8192E_phy.c    |   17 +-
 .../staging/rtl8192e/rtl8192e/r8192E_phy.h    |   16 +-
 .../staging/rtl8192e/rtl8192e/r8192E_phyreg.h |   16 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_cam.c   |   19 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_cam.h   |   19 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c  |   19 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h  |   20 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c    |   16 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h    |   16 +-
 .../staging/rtl8192e/rtl8192e/rtl_eeprom.c    |   19 +-
 .../staging/rtl8192e/rtl8192e/rtl_eeprom.h    |   21 +-
 .../staging/rtl8192e/rtl8192e/rtl_ethtool.c   |   18 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c   |   19 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_pci.h   |   19 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_pm.c    |   17 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_pm.h    |   17 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c    |   19 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h    |   19 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c    |   17 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_wx.h    |   17 +-
 drivers/staging/rtl8192e/rtl819x_BA.h         |   16 +-
 drivers/staging/rtl8192e/rtl819x_BAProc.c     |   16 +-
 drivers/staging/rtl8192e/rtl819x_HT.h         |   16 +-
 drivers/staging/rtl8192e/rtl819x_HTProc.c     |   16 +-
 drivers/staging/rtl8192e/rtl819x_Qos.h        |   16 +-
 drivers/staging/rtl8192e/rtl819x_TS.h         |   16 +-
 drivers/staging/rtl8192e/rtl819x_TSProc.c     |   16 +-
 drivers/staging/rtl8192e/rtllib.h             |    6 +-
 drivers/staging/rtl8192e/rtllib_crypt_tkip.c  |    6 +-
 drivers/staging/rtl8192e/rtllib_crypt_wep.c   |    6 +-
 drivers/staging/rtl8192e/rtllib_debug.h       |   22 +-
 drivers/staging/rtl8192e/rtllib_module.c      |   19 +-
 drivers/staging/rtl8192e/rtllib_rx.c          |   20 +-
 drivers/staging/rtl8192e/rtllib_softmac.c     |    5 +-
 drivers/staging/rtl8192e/rtllib_softmac_wx.c  |    5 +-
 drivers/staging/rtl8192e/rtllib_tx.c          |   22 +-
 drivers/staging/rtl8192e/rtllib_wx.c          |   19 +-
 drivers/staging/rtl8192u/Kconfig              |    1 +
 .../staging/rtl8192u/ieee80211/ieee80211.h    |    6 +-
 .../rtl8192u/ieee80211/ieee80211_crypt.c      |    7 +-
 .../rtl8192u/ieee80211/ieee80211_crypt.h      |    6 +-
 .../rtl8192u/ieee80211/ieee80211_crypt_ccmp.c |    6 +-
 .../rtl8192u/ieee80211/ieee80211_crypt_tkip.c |    6 +-
 .../rtl8192u/ieee80211/ieee80211_crypt_wep.c  |    6 +-
 .../staging/rtl8192u/ieee80211/ieee80211_rx.c |    6 +-
 .../rtl8192u/ieee80211/ieee80211_softmac.c    |    3 +-
 .../rtl8192u/ieee80211/ieee80211_softmac_wx.c |    3 +-
 .../staging/rtl8192u/ieee80211/ieee80211_tx.c |   17 +-
 .../staging/rtl8192u/ieee80211/ieee80211_wx.c |   17 +-
 drivers/staging/rtl8192u/r8180_93cx6.c        |    2 +-
 drivers/staging/rtl8192u/r8190_rtl8256.c      |    2 +-
 drivers/staging/rtl8192u/r8192U_core.c        |   16 +-
 drivers/staging/rtl8192u/r8192U_hw.h          |    2 +-
 drivers/staging/rtl8192u/r8192U_wx.c          |    2 +-
 drivers/staging/rtl8192u/r8192U_wx.h          |    2 +-
 drivers/staging/rtl8712/Kconfig               |    1 +
 drivers/staging/rtl8723bs/Kconfig             |    1 +
 drivers/staging/rtlwifi/Kconfig               |    1 +
 drivers/staging/rtlwifi/Makefile              |    1 +
 drivers/staging/rtlwifi/btcoexist/Makefile    |    1 +
 drivers/staging/rtlwifi/rtl8822be/Makefile    |    1 +
 drivers/staging/rts5208/Kconfig               |    1 +
 drivers/staging/rts5208/Makefile              |    1 +
 drivers/staging/sm750fb/Kconfig               |    1 +
 drivers/staging/sm750fb/Makefile              |    1 +
 drivers/staging/sm750fb/ddk750.h              |    1 +
 drivers/staging/sm750fb/ddk750_swi2c.c        |    1 +
 drivers/staging/sm750fb/ddk750_swi2c.h        |    1 +
 drivers/staging/sm750fb/sm750.c               |    1 +
 drivers/staging/speakup/Kconfig               |    1 +
 drivers/staging/unisys/Kconfig                |    1 +
 drivers/staging/unisys/Makefile               |    1 +
 drivers/staging/unisys/visorhba/Kconfig       |    1 +
 drivers/staging/unisys/visorhba/Makefile      |    1 +
 drivers/staging/unisys/visorinput/Kconfig     |    1 +
 drivers/staging/unisys/visorinput/Makefile    |    1 +
 drivers/staging/unisys/visornic/Kconfig       |    1 +
 drivers/staging/unisys/visornic/Makefile      |    1 +
 drivers/staging/vboxvideo/Kconfig             |    1 +
 drivers/staging/vc04_services/Kconfig         |    1 +
 .../vc04_services/bcm2835-audio/Kconfig       |    1 +
 .../vc04_services/bcm2835-audio/Makefile      |    1 +
 .../vc04_services/bcm2835-camera/Kconfig      |    1 +
 .../vc04_services/interface/vchi/vchi.h       |   34 +-
 .../vc04_services/interface/vchi/vchi_cfg.h   |   34 +-
 .../interface/vchi/vchi_common.h              |   34 +-
 .../vc04_services/interface/vchiq_arm/vchiq.h |   34 +-
 .../interface/vchiq_arm/vchiq_2835_arm.c      |   34 +-
 .../interface/vchiq_arm/vchiq_arm.c           |   32 +-
 .../interface/vchiq_arm/vchiq_arm.h           |   32 +-
 .../interface/vchiq_arm/vchiq_cfg.h           |   34 +-
 .../interface/vchiq_arm/vchiq_connected.c     |   34 +-
 .../interface/vchiq_arm/vchiq_connected.h     |   34 +-
 .../interface/vchiq_arm/vchiq_core.c          |   34 +-
 .../interface/vchiq_arm/vchiq_core.h          |   34 +-
 .../interface/vchiq_arm/vchiq_debugfs.c       |   32 +-
 .../interface/vchiq_arm/vchiq_debugfs.h       |   34 +-
 .../interface/vchiq_arm/vchiq_if.h            |   34 +-
 .../interface/vchiq_arm/vchiq_ioctl.h         |   34 +-
 .../interface/vchiq_arm/vchiq_pagelist.h      |   34 +-
 .../interface/vchiq_arm/vchiq_shim.c          |   34 +-
 .../interface/vchiq_arm/vchiq_util.c          |   34 +-
 .../interface/vchiq_arm/vchiq_util.h          |   34 +-
 drivers/staging/vme/Makefile                  |    1 +
 drivers/staging/vme/devices/Kconfig           |    1 +
 drivers/staging/vme/devices/Makefile          |    1 +
 drivers/staging/vt6655/Kconfig                |    1 +
 drivers/staging/vt6656/Kconfig                |    1 +
 drivers/staging/wilc1000/Kconfig              |    1 +
 drivers/staging/wlan-ng/Kconfig               |    1 +
 303 files changed, 444 insertions(+), 4976 deletions(-)
 delete mode 100644 drivers/staging/mt7621-mmc/Kconfig
 delete mode 100644 drivers/staging/mt7621-mmc/Makefile
 delete mode 100644 drivers/staging/mt7621-mmc/TODO
 delete mode 100644 drivers/staging/mt7621-mmc/board.h
 delete mode 100644 drivers/staging/mt7621-mmc/dbg.c
 delete mode 100644 drivers/staging/mt7621-mmc/dbg.h
 delete mode 100644 drivers/staging/mt7621-mmc/mt6575_sd.h
 delete mode 100644 drivers/staging/mt7621-mmc/sd.c
 delete mode 100644 drivers/staging/rtl8192e/license
Signature · 1 line
2.21.0
author maintainer
#1 lore raw

PATCH 1/16 staging: add missing SPDX lines to Kconfig files

There are a few remaining drivers/staging/*/Kconfig files that do not have SPDX identifiers in them. Add the correct GPL-2.0 identifier to them to make scanning tools happy.

---
 drivers/staging/Kconfig                              | 1 +
 drivers/staging/android/Kconfig                      | 1 +
 drivers/staging/android/ion/Kconfig                  | 1 +
 drivers/staging/axis-fifo/Kconfig                    | 1 +
 drivers/staging/board/Kconfig                        | 1 +
 drivers/staging/clocking-wizard/Kconfig              | 1 +
 drivers/staging/comedi/Kconfig                       | 1 +
 drivers/staging/emxx_udc/Kconfig                     | 1 +
 drivers/staging/fbtft/Kconfig                        | 1 +
 drivers/staging/fsl-dpaa2/Kconfig                    | 1 +
 drivers/staging/fwserial/Kconfig                     | 1 +
 drivers/staging/gasket/Kconfig                       | 1 +
 drivers/staging/gdm724x/Kconfig                      | 1 +
 drivers/staging/goldfish/Kconfig                     | 1 +
 drivers/staging/greybus/Kconfig                      | 1 +
 drivers/staging/gs_fpgaboot/Kconfig                  | 1 +
 drivers/staging/iio/Kconfig                          | 1 +
 drivers/staging/iio/accel/Kconfig                    | 1 +
 drivers/staging/iio/adc/Kconfig                      | 1 +
 drivers/staging/iio/addac/Kconfig                    | 1 +
 drivers/staging/iio/cdc/Kconfig                      | 1 +
 drivers/staging/iio/frequency/Kconfig                | 1 +
 drivers/staging/iio/impedance-analyzer/Kconfig       | 1 +
 drivers/staging/iio/meter/Kconfig                    | 1 +
 drivers/staging/iio/resolver/Kconfig                 | 1 +
 drivers/staging/ks7010/Kconfig                       | 1 +
 drivers/staging/media/Kconfig                        | 1 +
 drivers/staging/media/bcm2048/Kconfig                | 1 +
 drivers/staging/media/davinci_vpfe/Kconfig           | 1 +
 drivers/staging/media/imx/Kconfig                    | 1 +
 drivers/staging/media/ipu3/Kconfig                   | 1 +
 drivers/staging/media/mt9t031/Kconfig                | 1 +
 drivers/staging/media/rockchip/vpu/Kconfig           | 1 +
 drivers/staging/media/soc_camera/Kconfig             | 1 +
 drivers/staging/media/sunxi/Kconfig                  | 1 +
 drivers/staging/media/sunxi/cedrus/Kconfig           | 1 +
 drivers/staging/media/tegra-vde/Kconfig              | 1 +
 drivers/staging/media/zoran/Kconfig                  | 1 +
 drivers/staging/most/Kconfig                         | 1 +
 drivers/staging/most/cdev/Kconfig                    | 1 +
 drivers/staging/most/dim2/Kconfig                    | 1 +
 drivers/staging/most/i2c/Kconfig                     | 1 +
 drivers/staging/most/net/Kconfig                     | 1 +
 drivers/staging/most/sound/Kconfig                   | 1 +
 drivers/staging/most/usb/Kconfig                     | 1 +
 drivers/staging/most/video/Kconfig                   | 1 +
 drivers/staging/mt7621-dma/Kconfig                   | 1 +
 drivers/staging/mt7621-dts/Kconfig                   | 1 +
 drivers/staging/mt7621-mmc/Kconfig                   | 1 +
 drivers/staging/mt7621-pci-phy/Kconfig               | 1 +
 drivers/staging/mt7621-pci/Kconfig                   | 1 +
 drivers/staging/mt7621-pinctrl/Kconfig               | 1 +
 drivers/staging/mt7621-spi/Kconfig                   | 1 +
 drivers/staging/netlogic/Kconfig                     | 1 +
 drivers/staging/nvec/Kconfig                         | 1 +
 drivers/staging/octeon-usb/Kconfig                   | 1 +
 drivers/staging/octeon/Kconfig                       | 1 +
 drivers/staging/olpc_dcon/Kconfig                    | 1 +
 drivers/staging/pi433/Kconfig                        | 1 +
 drivers/staging/ralink-gdma/Kconfig                  | 1 +
 drivers/staging/rtl8188eu/Kconfig                    | 1 +
 drivers/staging/rtl8192e/Kconfig                     | 1 +
 drivers/staging/rtl8192e/rtl8192e/Kconfig            | 1 +
 drivers/staging/rtl8192u/Kconfig                     | 1 +
 drivers/staging/rtl8712/Kconfig                      | 1 +
 drivers/staging/rtl8723bs/Kconfig                    | 1 +
 drivers/staging/rtlwifi/Kconfig                      | 1 +
 drivers/staging/rts5208/Kconfig                      | 1 +
 drivers/staging/sm750fb/Kconfig                      | 1 +
 drivers/staging/speakup/Kconfig                      | 1 +
 drivers/staging/unisys/Kconfig                       | 1 +
 drivers/staging/unisys/visorhba/Kconfig              | 1 +
 drivers/staging/unisys/visorinput/Kconfig            | 1 +
 drivers/staging/unisys/visornic/Kconfig              | 1 +
 drivers/staging/vboxvideo/Kconfig                    | 1 +
 drivers/staging/vc04_services/Kconfig                | 1 +
 drivers/staging/vc04_services/bcm2835-audio/Kconfig  | 1 +
 drivers/staging/vc04_services/bcm2835-camera/Kconfig | 1 +
 drivers/staging/vme/devices/Kconfig                  | 1 +
 drivers/staging/vt6655/Kconfig                       | 1 +
 drivers/staging/vt6656/Kconfig                       | 1 +
 drivers/staging/wilc1000/Kconfig                     | 1 +
 drivers/staging/wlan-ng/Kconfig                      | 1 +
 83 files changed, 83 insertions(+)
drivers/staging/Kconfig +1 -0
index 62951e836cbc..37121f495cd7 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig STAGING
 	bool "Staging drivers"
 	default n
drivers/staging/android/Kconfig +1 -0
index 17c5587805f5..e02026999161 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Android"
 
 if ANDROID
drivers/staging/android/ion/Kconfig +1 -0
index 0fdda6f62953..178df581a8fc 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig ION
 	bool "Ion Memory Manager"
 	depends on HAS_DMA && MMU
drivers/staging/axis-fifo/Kconfig +1 -0
index d9725888af6f..09709cd8173d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # "Xilinx AXI-Stream FIFO IP core driver"
 #
drivers/staging/board/Kconfig +1 -0
index 3f287c48e082..d0c6e42eadda 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config STAGING_BOARD
 	bool "Staging Board Support"
 	depends on OF_ADDRESS && OF_IRQ && CLKDEV_LOOKUP
drivers/staging/clocking-wizard/Kconfig +1 -0
index aa57a5865556..04be22dca9b6 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Xilinx Clocking Wizard Driver
 #
drivers/staging/comedi/Kconfig +1 -0
index 9ab1ee7d36bf..73eda687bdc1 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config COMEDI
 	tristate "Data acquisition support (comedi)"
 	---help---
drivers/staging/emxx_udc/Kconfig +1 -0
index e50e72218364..ad1478c53e9e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config USB_EMXX
 	tristate "EMXX USB Function Device Controller"
 	depends on USB_GADGET && (ARCH_RENESAS || (ARM && COMPILE_TEST))
drivers/staging/fbtft/Kconfig +1 -0
index 84b2e7ebc024..8ec524a95ec8 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig FB_TFT
 	tristate "Support for small TFT LCD display modules"
 	depends on FB && SPI
drivers/staging/fsl-dpaa2/Kconfig +1 -0
index 991e154c0eca..368837cdf281 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers
 #
drivers/staging/fwserial/Kconfig +1 -0
index 9c7c9267d52c..9543f8454af9 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config FIREWIRE_SERIAL
        tristate "TTY over Firewire"
        depends on FIREWIRE && TTY
drivers/staging/gasket/Kconfig +1 -0
index e82b85541f7e..d9bef8ca41ef 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Gasket devices"
 
 config STAGING_GASKET_FRAMEWORK
drivers/staging/gdm724x/Kconfig +1 -0
index 0a1f090bbf38..1f403ecd9608 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # GCT GDM724x LTE driver configuration
 #
drivers/staging/goldfish/Kconfig +1 -0
index 9165385df9de..728f4700b98d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config GOLDFISH_AUDIO
 	tristate "Goldfish AVD Audio Device"
 	depends on GOLDFISH
drivers/staging/greybus/Kconfig +1 -0
index b571e4e8060b..4894c3514955 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig GREYBUS
 	tristate "Greybus support"
 	depends on SYSFS
drivers/staging/gs_fpgaboot/Kconfig +1 -0
index 550645291fab..232788def2c0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # "xilinx FPGA firmware download, fpgaboot"
 #
drivers/staging/iio/Kconfig +1 -0
index e86ac9e47867..a8e970db179d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Industrial I/O subsystem configuration
 #
drivers/staging/iio/accel/Kconfig +1 -0
index befbbfe911c2..3318997a7009 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Accelerometer drivers
 #
drivers/staging/iio/adc/Kconfig +1 -0
index 7a93d3a5c113..94ad59fefb0e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # ADC drivers
 #
drivers/staging/iio/addac/Kconfig +1 -0
index ba18b8432d9c..b7c3c4a7dfe4 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # ADDAC drivers
 #
drivers/staging/iio/cdc/Kconfig +1 -0
index b97478e7cbd0..e0a5ce66a984 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # CDC drivers
 #
drivers/staging/iio/frequency/Kconfig +1 -0
index fc726d3c64a6..72d899cbef8e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Direct Digital Synthesis drivers
 #
drivers/staging/iio/impedance-analyzer/Kconfig +1 -0
index dd97b6bb3fd0..a5b3ee8b02cb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Impedance Converter, Network Analyzer drivers
 #
drivers/staging/iio/meter/Kconfig +1 -0
index e01eb8abcdce..aa6a3e7f6cdb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # IIO meter drivers configuration
 #
drivers/staging/iio/resolver/Kconfig +1 -0
index 4a727c17bb8f..6d1e2622e0b0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Resolver/Synchro drivers
 #
drivers/staging/ks7010/Kconfig +1 -0
index 0b9217674d5b..0987fdc2f70d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config KS7010
 	tristate "KeyStream KS7010 SDIO support"
 	depends on MMC && WIRELESS
drivers/staging/media/Kconfig +1 -0
index 1da5c20d65c0..44280b6c021a 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig STAGING_MEDIA
 	bool "Media staging drivers"
 	default n
drivers/staging/media/bcm2048/Kconfig +1 -0
index a9fc6e186494..c93a0a848c90 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Multimedia Video device configuration
 #
drivers/staging/media/davinci_vpfe/Kconfig +1 -0
index aea449a8dbf8..eb61141b29e8 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIDEO_DM365_VPFE
 	tristate "DM365 VPFE Media Controller Capture Driver"
 	depends on VIDEO_V4L2
drivers/staging/media/imx/Kconfig +1 -0
index 36b276ea2ecc..6c8b69491ef0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIDEO_IMX_MEDIA
 	tristate "i.MX5/6 V4L2 media core driver"
 	depends on ARCH_MXC || COMPILE_TEST
drivers/staging/media/ipu3/Kconfig +1 -0
index 75cd889f18f7..f80f3e35f431 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIDEO_IPU3_IMGU
 	tristate "Intel ipu3-imgu driver"
 	depends on PCI && VIDEO_V4L2
drivers/staging/media/mt9t031/Kconfig +1 -0
index 9a58aaf72edd..232f0cdca68b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config SOC_CAMERA_MT9T031
 	tristate "mt9t031 support (DEPRECATED)"
 	depends on SOC_CAMERA && I2C
drivers/staging/media/rockchip/vpu/Kconfig +1 -0
index 9a6fc1378242..208f0379b31f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIDEO_ROCKCHIP_VPU
 	tristate "Rockchip VPU driver"
 	depends on ARCH_ROCKCHIP || COMPILE_TEST
drivers/staging/media/soc_camera/Kconfig +1 -0
index bacd30f0348d..4a54db121574 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config SOC_CAMERA
 	tristate "SoC camera support"
 	depends on VIDEO_V4L2 && HAS_DMA && I2C && BROKEN
drivers/staging/media/sunxi/Kconfig +1 -0
index c78d92240ceb..4549a135741f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIDEO_SUNXI
 	bool "Allwinner sunXi family Video Devices"
 	depends on ARCH_SUNXI || COMPILE_TEST
drivers/staging/media/sunxi/cedrus/Kconfig +1 -0
index 3252efa422f9..17733e9a088f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIDEO_SUNXI_CEDRUS
 	tristate "Allwinner Cedrus VPU driver"
 	depends on VIDEO_DEV && VIDEO_V4L2 && MEDIA_CONTROLLER
drivers/staging/media/tegra-vde/Kconfig +1 -0
index 5c4914674468..ff8e846cd15d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config TEGRA_VDE
 	tristate "NVIDIA Tegra Video Decoder Engine driver"
 	depends on ARCH_TEGRA || COMPILE_TEST
drivers/staging/media/zoran/Kconfig +1 -0
index 34a18135ede0..84502b0fe48a 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIDEO_ZORAN
 	tristate "Zoran ZR36057/36067 Video For Linux (Deprecated)"
 	depends on PCI && I2C_ALGOBIT && VIDEO_V4L2 && VIRT_TO_BUS
drivers/staging/most/Kconfig +1 -0
index 20047abbe560..535455c39fba 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig MOST
         tristate "MOST support"
 	depends on HAS_DMA
drivers/staging/most/cdev/Kconfig +1 -0
index 2b04e26bcbea..330c95fe6550 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # MOST Cdev configuration
 #
drivers/staging/most/dim2/Kconfig +1 -0
index 5aeef22c3cba..22f6900187b5 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # MediaLB configuration
 #
drivers/staging/most/i2c/Kconfig +1 -0
index f723f99711bd..19a094b5bee0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # MOST I2C configuration
 #
drivers/staging/most/net/Kconfig +1 -0
index 28040931f7e7..ed8ac7e076d1 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # MOST Networking configuration
 #
drivers/staging/most/sound/Kconfig +1 -0
index 5614a999b54e..ad9f7821af7d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # MOST ALSA configuration
 #
drivers/staging/most/usb/Kconfig +1 -0
index 539b38fb3d88..a86f1f63def4 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # MOST USB configuration
 #
drivers/staging/most/video/Kconfig +1 -0
index a458d0c74a0f..e0964ca5e7b3 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # MOST V4L2 configuration
 #
drivers/staging/mt7621-dma/Kconfig +1 -0
index b6e48a682c44..54a110288f92 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config MTK_HSDMA
 	tristate "MTK HSDMA support"
 	depends on RALINK && SOC_MT7621
drivers/staging/mt7621-dts/Kconfig +1 -0
index 94a9e16c0b92..3ea08ab9d0d3 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config DTB_GNUBEE1
 	bool "GnuBee1 NAS"
 	depends on SOC_MT7621 && DTB_RT_NONE
drivers/staging/mt7621-mmc/Kconfig +1 -0
index 01f231dd8511..6ede50e9ddc0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config MTK_MMC
 	tristate "MTK SD/MMC"
 	depends on RALINK && MMC
drivers/staging/mt7621-pci-phy/Kconfig +1 -0
index b9f6ab784ee8..263e0a91c424 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config PCI_MT7621_PHY
 	tristate "MediaTek MT7621 PCI PHY Driver"
 	depends on RALINK && OF
drivers/staging/mt7621-pci/Kconfig +1 -0
index c8fa17cfa807..af928b75a940 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config PCI_MT7621
 	tristate "MediaTek MT7621 PCI Controller"
 	depends on RALINK
drivers/staging/mt7621-pinctrl/Kconfig +1 -0
index fc3612711307..f42974026480 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config PINCTRL_RT2880
 	bool "RT2800 pinctrl driver for RALINK/Mediatek SOCs"
 	depends on RALINK
drivers/staging/mt7621-spi/Kconfig +1 -0
index 0b90f4cfa426..24f00dcc9696 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config SPI_MT7621
 	tristate "MediaTek MT7621 SPI Controller"
 	depends on RALINK
drivers/staging/netlogic/Kconfig +1 -0
index c25a00dd2d5f..b2a4d4586697 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config NETLOGIC_XLR_NET
 	tristate "Netlogic XLR/XLS network device"
 	depends on CPU_XLR
drivers/staging/nvec/Kconfig +1 -0
index e3a89fb1a4a2..5c12cacf75e1 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config MFD_NVEC
 	tristate "NV Tegra Embedded Controller SMBus Interface"
 	depends on I2C && GPIOLIB && ARCH_TEGRA
drivers/staging/octeon-usb/Kconfig +1 -0
index 0b8f1d9c7056..6a5d842ee0f2 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config OCTEON_USB
 	tristate "Cavium Networks Octeon USB support"
 	depends on CAVIUM_OCTEON_SOC && USB
drivers/staging/octeon/Kconfig +1 -0
index 6e1d5f8d3ec1..1e3012b9991c 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config OCTEON_ETHERNET
 	tristate "Cavium Networks Octeon Ethernet support"
 	depends on CAVIUM_OCTEON_SOC && NETDEVICES
drivers/staging/olpc_dcon/Kconfig +1 -0
index 192cc8d0853f..255e266c40e1 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config FB_OLPC_DCON
 	tristate "One Laptop Per Child Display CONtroller support"
 	depends on OLPC && FB
drivers/staging/pi433/Kconfig +1 -0
index c7340129dd4c..8acde0814206 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config PI433
         tristate "Pi433 - a 433MHz radio module for Raspberry Pi"
         depends on SPI
drivers/staging/ralink-gdma/Kconfig +1 -0
index a12b2c672d48..54e8029e6b1a 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config DMA_RALINK
 	tristate "RALINK DMA support"
 	depends on RALINK && !SOC_RT288X
drivers/staging/rtl8188eu/Kconfig +1 -0
index ff7832798a77..4f7ef287a0f2 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config R8188EU
 	tristate "Realtek RTL8188EU Wireless LAN NIC driver"
 	depends on WLAN && USB && CFG80211
drivers/staging/rtl8192e/Kconfig +1 -0
index aa571c12678f..8b3da2b00cb3 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config RTLLIB
 	tristate "Support for rtllib wireless devices"
 	depends on WLAN && m
drivers/staging/rtl8192e/rtl8192e/Kconfig +1 -0
index 7ac42a590e21..eae8167f79dd 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config RTL8192E
 	tristate "RealTek RTL8192E Wireless LAN NIC driver"
 	depends on PCI && WLAN && RTLLIB
drivers/staging/rtl8192u/Kconfig +1 -0
index 97df6507a485..22c2165e8b1c 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config RTL8192U
 	tristate "RealTek RTL8192U Wireless LAN NIC driver"
 	depends on PCI && WLAN && USB
drivers/staging/rtl8712/Kconfig +1 -0
index 622ad14f232c..b6dcda77db1f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config R8712U
 	tristate "RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver"
 	depends on WLAN && USB
drivers/staging/rtl8723bs/Kconfig +1 -0
index deae0427ba6c..744091d46f4c 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config RTL8723BS
 	tristate "Realtek RTL8723BS SDIO Wireless LAN NIC driver"
 	depends on WLAN && MMC && CFG80211
drivers/staging/rtlwifi/Kconfig +1 -0
index 28286a87a601..f874373bab63 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config R8822BE
 	tristate "Realtek RTL8822BE Wireless Network Adapter"
 	depends on PCI && MAC80211 && m
drivers/staging/rts5208/Kconfig +1 -0
index 05c990f654a4..b864023d3ccb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config RTS5208
 	tristate "Realtek PCI-E Card Reader RTS5208/5288 support"
 	depends on PCI && SCSI
drivers/staging/sm750fb/Kconfig +1 -0
index ccebc25c2ec1..fb5a086bf9b1 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config FB_SM750
 	tristate "Silicon Motion SM750 framebuffer support"
 	depends on FB && PCI
drivers/staging/speakup/Kconfig +1 -0
index d8ec780f7741..0803c2013cf4 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menu "Speakup console speech"
 
 config SPEAKUP
drivers/staging/unisys/Kconfig +1 -0
index c27dab3b610f..dc5e1bddc085 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Unisys SPAR driver configuration
 #
drivers/staging/unisys/visorhba/Kconfig +1 -0
index fb592f7cb7c3..ed59ac11c322 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Unisys visorhba configuration
 #
drivers/staging/unisys/visorinput/Kconfig +1 -0
index 1b8efc2fd8c8..5f036393aee9 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Unisys visorinput configuration
 #
drivers/staging/unisys/visornic/Kconfig +1 -0
index 865f8963409e..3f8f5570821b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Unisys visornic configuration
 #
drivers/staging/vboxvideo/Kconfig +1 -0
index 1f4182e2e980..d6ab955c0768 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config DRM_VBOXVIDEO
 	tristate "Virtual Box Graphics Card"
 	depends on DRM && X86 && PCI
drivers/staging/vc04_services/Kconfig +1 -0
index 98064ce2c2b4..6baf9dd57f1f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 menuconfig BCM_VIDEOCORE
 	tristate "Broadcom VideoCore support"
 	depends on OF
drivers/staging/vc04_services/bcm2835-audio/Kconfig +1 -0
index 62c1c8ba4ad4..f66319512faf 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config SND_BCM2835
         tristate "BCM2835 Audio"
         depends on (ARCH_BCM2835 || COMPILE_TEST) && SND
drivers/staging/vc04_services/bcm2835-camera/Kconfig +1 -0
index b8b01aa4e426..c81baf2c111e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VIDEO_BCM2835
 	tristate "BCM2835 Camera"
 	depends on MEDIA_SUPPORT
drivers/staging/vme/devices/Kconfig +1 -0
index c548dd8c91e1..5651bb16b28b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 comment "VME Device Drivers"
 
 config VME_USER
drivers/staging/vt6655/Kconfig +1 -0
index 77cfc708c516..e4b224fedf5b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VT6655
    tristate "VIA Technologies VT6655 support"
    depends on PCI && MAC80211 && m
drivers/staging/vt6656/Kconfig +1 -0
index b602ef175d55..51e295265ba6 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config VT6656
 	tristate "VIA Technologies VT6656 support"
 	depends on MAC80211 && USB && WLAN && m
drivers/staging/wilc1000/Kconfig +1 -0
index f9d3ad41c862..81d052a46e57 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config WILC1000
 	tristate
 	help
drivers/staging/wlan-ng/Kconfig +1 -0
index 97238018b315..b796bfd429c4 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 config PRISM2_USB
 	tristate "Prism2.5/3 USB driver"
 	depends on WLAN && USB && CFG80211
Signature · 1 line
2.21.0
author maintainer
#2 lore raw

PATCH 2/16 staging: add missing SPDX lines to Makefile files

In reply to Greg Kroah-Hartman

There are a few remaining drivers/staging/*/Makefile files that do not have SPDX identifiers in them. Add the correct GPL-2.0 identifier to them to make scanning tools happy.

---
 drivers/staging/android/Makefile                         | 1 +
 drivers/staging/axis-fifo/Makefile                       | 1 +
 drivers/staging/board/Makefile                           | 1 +
 drivers/staging/clocking-wizard/Makefile                 | 1 +
 drivers/staging/comedi/drivers/ni_routing/tools/Makefile | 1 +
 drivers/staging/comedi/kcomedilib/Makefile               | 1 +
 drivers/staging/emxx_udc/Makefile                        | 1 +
 drivers/staging/fsl-dpaa2/Makefile                       | 1 +
 drivers/staging/fwserial/Makefile                        | 1 +
 drivers/staging/gasket/Makefile                          | 1 +
 drivers/staging/goldfish/Makefile                        | 1 +
 drivers/staging/gs_fpgaboot/Makefile                     | 1 +
 drivers/staging/iio/accel/Makefile                       | 1 +
 drivers/staging/iio/addac/Makefile                       | 1 +
 drivers/staging/iio/cdc/Makefile                         | 1 +
 drivers/staging/iio/frequency/Makefile                   | 1 +
 drivers/staging/iio/impedance-analyzer/Makefile          | 1 +
 drivers/staging/iio/resolver/Makefile                    | 1 +
 drivers/staging/ks7010/Makefile                          | 1 +
 drivers/staging/media/bcm2048/Makefile                   | 1 +
 drivers/staging/media/davinci_vpfe/Makefile              | 1 +
 drivers/staging/media/ipu3/Makefile                      | 1 +
 drivers/staging/media/mt9t031/Makefile                   | 1 +
 drivers/staging/media/rockchip/vpu/Makefile              | 1 +
 drivers/staging/media/sunxi/Makefile                     | 1 +
 drivers/staging/media/sunxi/cedrus/Makefile              | 1 +
 drivers/staging/media/tegra-vde/Makefile                 | 1 +
 drivers/staging/most/cdev/Makefile                       | 1 +
 drivers/staging/most/dim2/Makefile                       | 1 +
 drivers/staging/most/i2c/Makefile                        | 1 +
 drivers/staging/most/net/Makefile                        | 1 +
 drivers/staging/most/sound/Makefile                      | 1 +
 drivers/staging/most/usb/Makefile                        | 1 +
 drivers/staging/most/video/Makefile                      | 1 +
 drivers/staging/mt7621-dma/Makefile                      | 1 +
 drivers/staging/mt7621-dts/Makefile                      | 1 +
 drivers/staging/mt7621-pci-phy/Makefile                  | 1 +
 drivers/staging/mt7621-pci/Makefile                      | 1 +
 drivers/staging/mt7621-pinctrl/Makefile                  | 1 +
 drivers/staging/mt7621-spi/Makefile                      | 1 +
 drivers/staging/netlogic/Makefile                        | 1 +
 drivers/staging/olpc_dcon/Makefile                       | 1 +
 drivers/staging/pi433/Makefile                           | 1 +
 drivers/staging/ralink-gdma/Makefile                     | 1 +
 drivers/staging/rtlwifi/Makefile                         | 1 +
 drivers/staging/rtlwifi/btcoexist/Makefile               | 1 +
 drivers/staging/rtlwifi/rtl8822be/Makefile               | 1 +
 drivers/staging/rts5208/Makefile                         | 1 +
 drivers/staging/sm750fb/Makefile                         | 1 +
 drivers/staging/unisys/Makefile                          | 1 +
 drivers/staging/unisys/visorhba/Makefile                 | 1 +
 drivers/staging/unisys/visorinput/Makefile               | 1 +
 drivers/staging/unisys/visornic/Makefile                 | 1 +
 drivers/staging/vc04_services/bcm2835-audio/Makefile     | 1 +
 drivers/staging/vme/Makefile                             | 1 +
 drivers/staging/vme/devices/Makefile                     | 1 +
 56 files changed, 56 insertions(+)
drivers/staging/android/Makefile +1 -0
index 90e6154f11a4..14bd9c6ce10d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 ccflags-y += -I$(src)			# needed for trace events
 
 obj-y					+= ion/
drivers/staging/axis-fifo/Makefile +1 -0
index fe62cd1ac5de..c626005c99db 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo.o
drivers/staging/board/Makefile +1 -0
index 6842745feb94..ed7839752e12 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y	:= board.o
 obj-$(CONFIG_ARCH_EMEV2)	+= kzm9d.o
 obj-$(CONFIG_ARCH_R8A7740)	+= armadillo800eva.o
drivers/staging/clocking-wizard/Makefile +1 -0
index 5ad352f521fe..b1f915224d96 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD)	+= clk-xlnx-clock-wizard.o
drivers/staging/comedi/drivers/ni_routing/tools/Makefile +1 -0
index 1966850584d2..6e92a06a44cb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 # this make file is simply to help autogenerate these files:
 # 	ni_route_values.h
 #	ni_device_routes.h
drivers/staging/comedi/kcomedilib/Makefile +1 -0
index 3aff8ed08e2d..8031142a105f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 ccflags-$(CONFIG_COMEDI_DEBUG)		:= -DDEBUG
 
 obj-$(CONFIG_COMEDI_KCOMEDILIB)	+= kcomedilib.o
drivers/staging/emxx_udc/Makefile +1 -0
index 6352724c0b57..569c5e9a9bae 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_USB_EMXX)	:= emxx_udc.o
drivers/staging/fsl-dpaa2/Makefile +1 -0
index c92ab98c27d9..9645db7689c9 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers
 #
drivers/staging/fwserial/Makefile +1 -0
index 2170869a19b1..1cd5c5c7e805 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_FIREWIRE_SERIAL) += firewire-serial.o
 firewire-serial-objs := fwserial.o dma_fifo.o
drivers/staging/gasket/Makefile +1 -0
index cec813ece678..ce03e256f501 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 #  Makefile for Gasket framework and dependent drivers.
 #
drivers/staging/goldfish/Makefile +1 -0
index 054eeb82151e..f7cee15529c3 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for the Goldfish audio driver
 #
drivers/staging/gs_fpgaboot/Makefile +1 -0
index d2f0211ba540..33e238be63d6 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
 gs_fpga-y	+= gs_fpgaboot.o io.o
 obj-$(CONFIG_GS_FPGABOOT)	+= gs_fpga.o
drivers/staging/iio/accel/Makefile +1 -0
index 773212e0c859..094cc9be35bd 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for industrial I/O accelerometer drivers
 #
drivers/staging/iio/addac/Makefile +1 -0
index 4c7686133692..8fdbd8cab21f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for industrial I/O ADDAC drivers
 #
drivers/staging/iio/cdc/Makefile +1 -0
index 1466bc31f244..ab8222579e7e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for industrial I/O DAC drivers
 #
drivers/staging/iio/frequency/Makefile +1 -0
index e5dbcfce44f9..b8c5cf98aa5e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for Direct Digital Synthesis drivers
 #
drivers/staging/iio/impedance-analyzer/Makefile +1 -0
index 7604d786583e..b4e657a1ac18 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for Impedance Converter, Network Analyzer drivers
 #
drivers/staging/iio/resolver/Makefile +1 -0
index b2049f2ce36e..398631f7e79b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for Resolver/Synchro drivers
 #
drivers/staging/ks7010/Makefile +1 -0
index 412e2105a3a5..009851a32310 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_KS7010) += ks7010.o
 
 ks7010-y	:= ks_hostif.o ks_wlan_net.o ks7010_sdio.o
drivers/staging/media/bcm2048/Makefile +1 -0
index b4f5663d1408..f42056848dc6 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_I2C_BCM2048) += radio-bcm2048.o
drivers/staging/media/davinci_vpfe/Makefile +1 -0
index 9268e507f791..0ae8c5014f74 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci-vfpe.o
 
 davinci-vfpe-objs := \
drivers/staging/media/ipu3/Makefile +1 -0
index fa7fa3372bcb..cc288ae6d5f2 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for the IPU3 ImgU drivers
 #
drivers/staging/media/mt9t031/Makefile +1 -0
index bfd24c442b33..f663f73a5474 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_SOC_CAMERA_MT9T031)		+= mt9t031.o
drivers/staging/media/rockchip/vpu/Makefile +1 -0
index e9d733bb7632..ae5d143a0bfa 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_VIDEO_ROCKCHIP_VPU) += rockchip-vpu.o
 
 rockchip-vpu-y += \
drivers/staging/media/sunxi/Makefile +1 -0
index cee2846c3ecf..b87140b0e15f 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_VIDEO_SUNXI_CEDRUS)	+= cedrus/
drivers/staging/media/sunxi/cedrus/Makefile +1 -0
index e9dc68b7bcb6..808842f0119e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_VIDEO_SUNXI_CEDRUS) += sunxi-cedrus.o
 
 sunxi-cedrus-y = cedrus.o cedrus_video.o cedrus_hw.o cedrus_dec.o cedrus_mpeg2.o
drivers/staging/media/tegra-vde/Makefile +1 -0
index 444c1d62daa1..7f9020e634f3 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_TEGRA_VDE)	+= tegra-vde.o
drivers/staging/most/cdev/Makefile +1 -0
index 21b0bd72c01d..9f4a8b8c9c27 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MOST_CDEV) += most_cdev.o
 
 most_cdev-objs := cdev.o
drivers/staging/most/dim2/Makefile +1 -0
index 6d15f045a767..116f04d69244 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MOST_DIM2) += most_dim2.o
 
 most_dim2-objs := dim2.o hal.o sysfs.o
drivers/staging/most/i2c/Makefile +1 -0
index c032fea979b3..2b3769dc19e7 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MOST_I2C) += most_i2c.o
 
 most_i2c-objs := i2c.o
drivers/staging/most/net/Makefile +1 -0
index 820faec6b296..f0ac64dee71b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MOST_NET) += most_net.o
 
 most_net-objs := net.o
drivers/staging/most/sound/Makefile +1 -0
index 5bb55bb108fb..a3d086c6ca70 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MOST_SOUND) += most_sound.o
 
 most_sound-objs := sound.o
drivers/staging/most/usb/Makefile +1 -0
index 910cd08bad7c..83cf2ead7122 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MOST_USB) += most_usb.o
 
 most_usb-objs := usb.o
drivers/staging/most/video/Makefile +1 -0
index c6e01b6ecfe6..2d857d3cbcc8 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MOST_VIDEO) += most_video.o
 
 most_video-objs := video.o
drivers/staging/mt7621-dma/Makefile +1 -0
index c9e3e1619ab0..66da1bf10c32 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o
 
 ccflags-y += -I$(srctree)/drivers/dma
drivers/staging/mt7621-dts/Makefile +1 -0
index 195eba4a5c65..aeec48a4edc7 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 dtb-$(CONFIG_DTB_GNUBEE1)      += gbpc1.dtb
 
 obj-y				+= $(patsubst %.dtb, %.dtb.o, $(dtb-y))
drivers/staging/mt7621-pci-phy/Makefile +1 -0
index a970056f05c1..b4d99b9119e0 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_PCI_MT7621_PHY)       += pci-mt7621-phy.o
drivers/staging/mt7621-pci/Makefile +1 -0
index d4655a726b61..f4e651cf7ce3 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_PCI_MT7621)       += pci-mt7621.o
drivers/staging/mt7621-pinctrl/Makefile +1 -0
index 856102137a1e..49445f40c3cd 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_PINCTRL_RT2880)   += pinctrl-rt2880.o
 
 ccflags-y += -I$(srctree)/drivers/pinctrl
drivers/staging/mt7621-spi/Makefile +1 -0
index 3be508f63bac..8577ea3fd4a1 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_SPI_MT7621)		+= spi-mt7621.o
drivers/staging/netlogic/Makefile +1 -0
index f7355e3e9c4c..7e2902af26a3 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_NETLOGIC_XLR_NET) += xlr_net.o platform_net.o
drivers/staging/olpc_dcon/Makefile +1 -0
index 36c7e67fec20..cb1248c5c162 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 olpc-dcon-objs += olpc_dcon.o
 olpc-dcon-$(CONFIG_FB_OLPC_DCON_1)	+= olpc_dcon_xo_1.o
 olpc-dcon-$(CONFIG_FB_OLPC_DCON_1_5)	+= olpc_dcon_xo_1_5.o
drivers/staging/pi433/Makefile +1 -0
index 417f3e4d12b1..051132fe4dae 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_PI433) += pi433.o
 
 pi433-objs := pi433_if.o rf69.o
drivers/staging/ralink-gdma/Makefile +1 -0
index 5d917e0729bb..5c4566b2e405 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_DMA_RALINK) += ralink-gdma.o
 
 ccflags-y += -I$(srctree)/drivers/dma
drivers/staging/rtlwifi/Makefile +1 -0
index 0d738c18b29c..b223692a6794 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_R8822BE) 		+= r8822be.o
 
 r8822be-objs	:=		\
drivers/staging/rtlwifi/btcoexist/Makefile +1 -0
index f600bcc38a15..dda3779b84b1 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 btcoexist-objs :=				\
 			halbtc8822b1ant.o	\
 			halbtc8822b2ant.o	\
drivers/staging/rtlwifi/rtl8822be/Makefile +1 -0
index d535ff8febf1..6ef094faa78e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 rtl8822be-objs :=		\
 		fw.o		\
 		hw.o		\
drivers/staging/rts5208/Makefile +1 -0
index 17b4471c4d6d..6a934c41c738 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_RTS5208) := rts5208.o
 
 ccflags-y := -Idrivers/scsi
drivers/staging/sm750fb/Makefile +1 -0
index 4d781f78b95c..1cf3849cef23 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_FB_SM750)	+= sm750fb.o
 
 sm750fb-objs		:= sm750.o sm750_hw.o sm750_accel.o sm750_cursor.o ddk750_chip.o ddk750_power.o ddk750_mode.o
drivers/staging/unisys/Makefile +1 -0
index e45f44b64202..c0f76cc196a6 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for Unisys SPAR drivers
 #
drivers/staging/unisys/visorhba/Makefile +1 -0
index 97e48757944a..b613a7dcdae9 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for Unisys channel
 #
drivers/staging/unisys/visorinput/Makefile +1 -0
index 6e4bfa059a1f..68ced7c8a65f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for Unisys visorinput
 #
drivers/staging/unisys/visornic/Makefile +1 -0
index 336a746f793b..f2984880c340 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for Unisys channel
 #
drivers/staging/vc04_services/bcm2835-audio/Makefile +1 -0
index 536bd0c11ddb..13fa6d7d9745 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_SND_BCM2835)	+= snd-bcm2835.o
 snd-bcm2835-objs		:= bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
 
drivers/staging/vme/Makefile +1 -0
index accdb72e39e2..cf2f686ccffe 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
 obj-y				+= devices/
drivers/staging/vme/devices/Makefile +1 -0
index 459742a75283..5380115139b0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
 #
 # Makefile for the VME device drivers.
 #
Signature · 1 line
2.21.0
Reviewed-by on v1 2/16
#3 lore raw

Re: [PATCH 02/16] staging: add missing SPDX lines to Makefile files

Quoted 5 lines · Greg Kroah-Hartman

There are a few remaining drivers/staging/*/Makefile files that do not have SPDX identifiers in them. Add the correct GPL-2.0 identifier to them to make scanning tools happy.

Lesson learnt :-)

Cheers,
-Mukesh

Quoted 537 lines
---
  drivers/staging/android/Makefile                         | 1 +
  drivers/staging/axis-fifo/Makefile                       | 1 +
  drivers/staging/board/Makefile                           | 1 +
  drivers/staging/clocking-wizard/Makefile                 | 1 +
  drivers/staging/comedi/drivers/ni_routing/tools/Makefile | 1 +
  drivers/staging/comedi/kcomedilib/Makefile               | 1 +
  drivers/staging/emxx_udc/Makefile                        | 1 +
  drivers/staging/fsl-dpaa2/Makefile                       | 1 +
  drivers/staging/fwserial/Makefile                        | 1 +
  drivers/staging/gasket/Makefile                          | 1 +
  drivers/staging/goldfish/Makefile                        | 1 +
  drivers/staging/gs_fpgaboot/Makefile                     | 1 +
  drivers/staging/iio/accel/Makefile                       | 1 +
  drivers/staging/iio/addac/Makefile                       | 1 +
  drivers/staging/iio/cdc/Makefile                         | 1 +
  drivers/staging/iio/frequency/Makefile                   | 1 +
  drivers/staging/iio/impedance-analyzer/Makefile          | 1 +
  drivers/staging/iio/resolver/Makefile                    | 1 +
  drivers/staging/ks7010/Makefile                          | 1 +
  drivers/staging/media/bcm2048/Makefile                   | 1 +
  drivers/staging/media/davinci_vpfe/Makefile              | 1 +
  drivers/staging/media/ipu3/Makefile                      | 1 +
  drivers/staging/media/mt9t031/Makefile                   | 1 +
  drivers/staging/media/rockchip/vpu/Makefile              | 1 +
  drivers/staging/media/sunxi/Makefile                     | 1 +
  drivers/staging/media/sunxi/cedrus/Makefile              | 1 +
  drivers/staging/media/tegra-vde/Makefile                 | 1 +
  drivers/staging/most/cdev/Makefile                       | 1 +
  drivers/staging/most/dim2/Makefile                       | 1 +
  drivers/staging/most/i2c/Makefile                        | 1 +
  drivers/staging/most/net/Makefile                        | 1 +
  drivers/staging/most/sound/Makefile                      | 1 +
  drivers/staging/most/usb/Makefile                        | 1 +
  drivers/staging/most/video/Makefile                      | 1 +
  drivers/staging/mt7621-dma/Makefile                      | 1 +
  drivers/staging/mt7621-dts/Makefile                      | 1 +
  drivers/staging/mt7621-pci-phy/Makefile                  | 1 +
  drivers/staging/mt7621-pci/Makefile                      | 1 +
  drivers/staging/mt7621-pinctrl/Makefile                  | 1 +
  drivers/staging/mt7621-spi/Makefile                      | 1 +
  drivers/staging/netlogic/Makefile                        | 1 +
  drivers/staging/olpc_dcon/Makefile                       | 1 +
  drivers/staging/pi433/Makefile                           | 1 +
  drivers/staging/ralink-gdma/Makefile                     | 1 +
  drivers/staging/rtlwifi/Makefile                         | 1 +
  drivers/staging/rtlwifi/btcoexist/Makefile               | 1 +
  drivers/staging/rtlwifi/rtl8822be/Makefile               | 1 +
  drivers/staging/rts5208/Makefile                         | 1 +
  drivers/staging/sm750fb/Makefile                         | 1 +
  drivers/staging/unisys/Makefile                          | 1 +
  drivers/staging/unisys/visorhba/Makefile                 | 1 +
  drivers/staging/unisys/visorinput/Makefile               | 1 +
  drivers/staging/unisys/visornic/Makefile                 | 1 +
  drivers/staging/vc04_services/bcm2835-audio/Makefile     | 1 +
  drivers/staging/vme/Makefile                             | 1 +
  drivers/staging/vme/devices/Makefile                     | 1 +
  56 files changed, 56 insertions(+)
drivers/staging/android/Makefile +1 -0
index 90e6154f11a4..14bd9c6ce10d 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  ccflags-y += -I$(src)			# needed for trace events
 
  obj-y					+= ion/
drivers/staging/axis-fifo/Makefile +1 -0
index fe62cd1ac5de..c626005c99db 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo.o
drivers/staging/board/Makefile +1 -0
index 6842745feb94..ed7839752e12 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-y	:= board.o
  obj-$(CONFIG_ARCH_EMEV2)	+= kzm9d.o
  obj-$(CONFIG_ARCH_R8A7740)	+= armadillo800eva.o
drivers/staging/clocking-wizard/Makefile +1 -0
index 5ad352f521fe..b1f915224d96 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD)	+= clk-xlnx-clock-wizard.o
drivers/staging/comedi/drivers/ni_routing/tools/Makefile +1 -0
index 1966850584d2..6e92a06a44cb 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  # this make file is simply to help autogenerate these files:
  # 	ni_route_values.h
  #	ni_device_routes.h
drivers/staging/comedi/kcomedilib/Makefile +1 -0
index 3aff8ed08e2d..8031142a105f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  ccflags-$(CONFIG_COMEDI_DEBUG)		:= -DDEBUG
 
  obj-$(CONFIG_COMEDI_KCOMEDILIB)	+= kcomedilib.o
drivers/staging/emxx_udc/Makefile +1 -0
index 6352724c0b57..569c5e9a9bae 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_USB_EMXX)	:= emxx_udc.o
drivers/staging/fsl-dpaa2/Makefile +1 -0
index c92ab98c27d9..9645db7689c9 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Freescale DataPath Acceleration Architecture Gen2 (DPAA2) drivers
  #
drivers/staging/fwserial/Makefile +1 -0
index 2170869a19b1..1cd5c5c7e805 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_FIREWIRE_SERIAL) += firewire-serial.o
  firewire-serial-objs := fwserial.o dma_fifo.o
drivers/staging/gasket/Makefile +1 -0
index cec813ece678..ce03e256f501 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  #  Makefile for Gasket framework and dependent drivers.
  #
drivers/staging/goldfish/Makefile +1 -0
index 054eeb82151e..f7cee15529c3 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for the Goldfish audio driver
  #
drivers/staging/gs_fpgaboot/Makefile +1 -0
index d2f0211ba540..33e238be63d6 100644
@@ -1,2 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
  gs_fpga-y	+= gs_fpgaboot.o io.o
  obj-$(CONFIG_GS_FPGABOOT)	+= gs_fpga.o
drivers/staging/iio/accel/Makefile +1 -0
index 773212e0c859..094cc9be35bd 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for industrial I/O accelerometer drivers
  #
drivers/staging/iio/addac/Makefile +1 -0
index 4c7686133692..8fdbd8cab21f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for industrial I/O ADDAC drivers
  #
drivers/staging/iio/cdc/Makefile +1 -0
index 1466bc31f244..ab8222579e7e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for industrial I/O DAC drivers
  #
drivers/staging/iio/frequency/Makefile +1 -0
index e5dbcfce44f9..b8c5cf98aa5e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for Direct Digital Synthesis drivers
  #
drivers/staging/iio/impedance-analyzer/Makefile +1 -0
index 7604d786583e..b4e657a1ac18 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for Impedance Converter, Network Analyzer drivers
  #
drivers/staging/iio/resolver/Makefile +1 -0
index b2049f2ce36e..398631f7e79b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for Resolver/Synchro drivers
  #
drivers/staging/ks7010/Makefile +1 -0
index 412e2105a3a5..009851a32310 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_KS7010) += ks7010.o
 
  ks7010-y	:= ks_hostif.o ks_wlan_net.o ks7010_sdio.o
drivers/staging/media/bcm2048/Makefile +1 -0
index b4f5663d1408..f42056848dc6 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_I2C_BCM2048) += radio-bcm2048.o
drivers/staging/media/davinci_vpfe/Makefile +1 -0
index 9268e507f791..0ae8c5014f74 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci-vfpe.o
 
  davinci-vfpe-objs := \
drivers/staging/media/ipu3/Makefile +1 -0
index fa7fa3372bcb..cc288ae6d5f2 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for the IPU3 ImgU drivers
  #
drivers/staging/media/mt9t031/Makefile +1 -0
index bfd24c442b33..f663f73a5474 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_SOC_CAMERA_MT9T031)		+= mt9t031.o
drivers/staging/media/rockchip/vpu/Makefile +1 -0
index e9d733bb7632..ae5d143a0bfa 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_VIDEO_ROCKCHIP_VPU) += rockchip-vpu.o
 
  rockchip-vpu-y += \
drivers/staging/media/sunxi/Makefile +1 -0
index cee2846c3ecf..b87140b0e15f 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_VIDEO_SUNXI_CEDRUS)	+= cedrus/
drivers/staging/media/sunxi/cedrus/Makefile +1 -0
index e9dc68b7bcb6..808842f0119e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_VIDEO_SUNXI_CEDRUS) += sunxi-cedrus.o
 
  sunxi-cedrus-y = cedrus.o cedrus_video.o cedrus_hw.o cedrus_dec.o cedrus_mpeg2.o
drivers/staging/media/tegra-vde/Makefile +1 -0
index 444c1d62daa1..7f9020e634f3 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_TEGRA_VDE)	+= tegra-vde.o
drivers/staging/most/cdev/Makefile +1 -0
index 21b0bd72c01d..9f4a8b8c9c27 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_MOST_CDEV) += most_cdev.o
 
  most_cdev-objs := cdev.o
drivers/staging/most/dim2/Makefile +1 -0
index 6d15f045a767..116f04d69244 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_MOST_DIM2) += most_dim2.o
 
  most_dim2-objs := dim2.o hal.o sysfs.o
drivers/staging/most/i2c/Makefile +1 -0
index c032fea979b3..2b3769dc19e7 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_MOST_I2C) += most_i2c.o
 
  most_i2c-objs := i2c.o
drivers/staging/most/net/Makefile +1 -0
index 820faec6b296..f0ac64dee71b 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_MOST_NET) += most_net.o
 
  most_net-objs := net.o
drivers/staging/most/sound/Makefile +1 -0
index 5bb55bb108fb..a3d086c6ca70 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_MOST_SOUND) += most_sound.o
 
  most_sound-objs := sound.o
drivers/staging/most/usb/Makefile +1 -0
index 910cd08bad7c..83cf2ead7122 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_MOST_USB) += most_usb.o
 
  most_usb-objs := usb.o
drivers/staging/most/video/Makefile +1 -0
index c6e01b6ecfe6..2d857d3cbcc8 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_MOST_VIDEO) += most_video.o
 
  most_video-objs := video.o
drivers/staging/mt7621-dma/Makefile +1 -0
index c9e3e1619ab0..66da1bf10c32 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_MTK_HSDMA) += mtk-hsdma.o
 
  ccflags-y += -I$(srctree)/drivers/dma
drivers/staging/mt7621-dts/Makefile +1 -0
index 195eba4a5c65..aeec48a4edc7 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  dtb-$(CONFIG_DTB_GNUBEE1)      += gbpc1.dtb
 
  obj-y				+= $(patsubst %.dtb, %.dtb.o, $(dtb-y))
drivers/staging/mt7621-pci-phy/Makefile +1 -0
index a970056f05c1..b4d99b9119e0 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_PCI_MT7621_PHY)       += pci-mt7621-phy.o
drivers/staging/mt7621-pci/Makefile +1 -0
index d4655a726b61..f4e651cf7ce3 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_PCI_MT7621)       += pci-mt7621.o
drivers/staging/mt7621-pinctrl/Makefile +1 -0
index 856102137a1e..49445f40c3cd 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_PINCTRL_RT2880)   += pinctrl-rt2880.o
 
  ccflags-y += -I$(srctree)/drivers/pinctrl
drivers/staging/mt7621-spi/Makefile +1 -0
index 3be508f63bac..8577ea3fd4a1 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_SPI_MT7621)		+= spi-mt7621.o
drivers/staging/netlogic/Makefile +1 -0
index f7355e3e9c4c..7e2902af26a3 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_NETLOGIC_XLR_NET) += xlr_net.o platform_net.o
drivers/staging/olpc_dcon/Makefile +1 -0
index 36c7e67fec20..cb1248c5c162 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  olpc-dcon-objs += olpc_dcon.o
  olpc-dcon-$(CONFIG_FB_OLPC_DCON_1)	+= olpc_dcon_xo_1.o
  olpc-dcon-$(CONFIG_FB_OLPC_DCON_1_5)	+= olpc_dcon_xo_1_5.o
drivers/staging/pi433/Makefile +1 -0
index 417f3e4d12b1..051132fe4dae 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_PI433) += pi433.o
 
  pi433-objs := pi433_if.o rf69.o
drivers/staging/ralink-gdma/Makefile +1 -0
index 5d917e0729bb..5c4566b2e405 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_DMA_RALINK) += ralink-gdma.o
 
  ccflags-y += -I$(srctree)/drivers/dma
drivers/staging/rtlwifi/Makefile +1 -0
index 0d738c18b29c..b223692a6794 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_R8822BE) 		+= r8822be.o
 
  r8822be-objs	:=		\
drivers/staging/rtlwifi/btcoexist/Makefile +1 -0
index f600bcc38a15..dda3779b84b1 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  btcoexist-objs :=				\
  			halbtc8822b1ant.o	\
  			halbtc8822b2ant.o	\
drivers/staging/rtlwifi/rtl8822be/Makefile +1 -0
index d535ff8febf1..6ef094faa78e 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  rtl8822be-objs :=		\
  		fw.o		\
  		hw.o		\
drivers/staging/rts5208/Makefile +1 -0
index 17b4471c4d6d..6a934c41c738 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_RTS5208) := rts5208.o
 
  ccflags-y := -Idrivers/scsi
drivers/staging/sm750fb/Makefile +1 -0
index 4d781f78b95c..1cf3849cef23 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_FB_SM750)	+= sm750fb.o
 
  sm750fb-objs		:= sm750.o sm750_hw.o sm750_accel.o sm750_cursor.o ddk750_chip.o ddk750_power.o ddk750_mode.o
drivers/staging/unisys/Makefile +1 -0
index e45f44b64202..c0f76cc196a6 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for Unisys SPAR drivers
  #
drivers/staging/unisys/visorhba/Makefile +1 -0
index 97e48757944a..b613a7dcdae9 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for Unisys channel
  #
drivers/staging/unisys/visorinput/Makefile +1 -0
index 6e4bfa059a1f..68ced7c8a65f 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for Unisys visorinput
  #
drivers/staging/unisys/visornic/Makefile +1 -0
index 336a746f793b..f2984880c340 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for Unisys channel
  #
drivers/staging/vc04_services/bcm2835-audio/Makefile +1 -0
index 536bd0c11ddb..13fa6d7d9745 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-$(CONFIG_SND_BCM2835)	+= snd-bcm2835.o
  snd-bcm2835-objs		:= bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
 
drivers/staging/vme/Makefile +1 -0
index accdb72e39e2..cf2f686ccffe 100644
@@ -1 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
  obj-y				+= devices/
drivers/staging/vme/devices/Makefile +1 -0
index 459742a75283..5380115139b0 100644
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
  #
  # Makefile for the VME device drivers.
  #
author maintainer
#4 lore raw

Re: [PATCH 02/16] staging: add missing SPDX lines to Makefile files

Quoted 9 lines · Mukesh Ojha
Quoted 5 lines · Greg Kroah-Hartman

There are a few remaining drivers/staging/*/Makefile files that do not have SPDX identifiers in them. Add the correct GPL-2.0 identifier to them to make scanning tools happy.

Lesson learnt :-)

Heh :)

Quoted 1 line

thanks for the review.

greg k-h

author maintainer
#5 lore raw

PATCH 3/16 staging: m57621-mmc: delete driver from the tree.

In reply to Greg Kroah-Hartman

The license text in this driver is "interesting" and not really obvious that it is supposed to be able to be distributed in the kernel source tree. Yes, the MODULE_LICENSE() text says GPL, so it's probably ok, but to be safe, I am deleting this driver. I will be glad to add it back if the license is properly sorted out, but for now, this isn't worth the potential risk, I should have never taken it in the first place.

Cc Matthias Brugger <[email protected]>
Cc NeilBrown <[email protected]>
Cc George Hilliard <[email protected]>
Cc "Christian Lütke-Stetzkamp" <[email protected]>
Cc Nishad Kamdar <[email protected]>
Cc Sergej Perschin <[email protected]>
Cc John Crispin <[email protected]>
---
 drivers/staging/Kconfig                |    2 -
 drivers/staging/Makefile               |    1 -
 drivers/staging/mt7621-mmc/Kconfig     |    9 -
 drivers/staging/mt7621-mmc/Makefile    |   42 -
 drivers/staging/mt7621-mmc/TODO        |    8 -
 drivers/staging/mt7621-mmc/board.h     |   63 -
 drivers/staging/mt7621-mmc/dbg.c       |  311 ----
 drivers/staging/mt7621-mmc/dbg.h       |  106 --
 drivers/staging/mt7621-mmc/mt6575_sd.h |  485 -------
 drivers/staging/mt7621-mmc/sd.c        | 1859 ------------------------
 10 files changed, 2886 deletions(-)
 delete mode 100644 drivers/staging/mt7621-mmc/Kconfig
 delete mode 100644 drivers/staging/mt7621-mmc/Makefile
 delete mode 100644 drivers/staging/mt7621-mmc/TODO
 delete mode 100644 drivers/staging/mt7621-mmc/board.h
 delete mode 100644 drivers/staging/mt7621-mmc/dbg.c
 delete mode 100644 drivers/staging/mt7621-mmc/dbg.h
 delete mode 100644 drivers/staging/mt7621-mmc/mt6575_sd.h
 delete mode 100644 drivers/staging/mt7621-mmc/sd.c
drivers/staging/Kconfig +0 -2
index 37121f495cd7..6319369cca89 100644
@@ -113,8 +113,6 @@ source "drivers/staging/mt7621-dma/Kconfig"
 
 source "drivers/staging/ralink-gdma/Kconfig"
 
-source "drivers/staging/mt7621-mmc/Kconfig"
-
 source "drivers/staging/mt7621-dts/Kconfig"
 
 source "drivers/staging/gasket/Kconfig"
drivers/staging/Makefile +0 -1
index d1b17ddcd354..763d18f56b10 100644
@@ -46,7 +46,6 @@ obj-$(CONFIG_PINCTRL_RT2880)	+= mt7621-pinctrl/
 obj-$(CONFIG_SPI_MT7621)	+= mt7621-spi/
 obj-$(CONFIG_SOC_MT7621)	+= mt7621-dma/
 obj-$(CONFIG_DMA_RALINK)	+= ralink-gdma/
-obj-$(CONFIG_MTK_MMC)		+= mt7621-mmc/
 obj-$(CONFIG_SOC_MT7621)	+= mt7621-dts/
 obj-$(CONFIG_STAGING_GASKET_FRAMEWORK)	+= gasket/
 obj-$(CONFIG_XIL_AXIS_FIFO)	+= axis-fifo/
drivers/staging/mt7621-mmc/Kconfig deleted +0 -9
deleted file mode 100644
index 6ede50e9ddc0..000000000000
@@ -1,9 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-config MTK_MMC
-	tristate "MTK SD/MMC"
-	depends on RALINK && MMC
-
-config MTK_AEE_KDUMP
-	bool "MTK AEE KDUMP"
-	depends on MTK_MMC
-
drivers/staging/mt7621-mmc/Makefile deleted +0 -42

42 lines not on this page · raw message

drivers/staging/mt7621-mmc/TODO deleted +0 -8
deleted file mode 100644
index febb32d37e07..000000000000
@@ -1,8 +0,0 @@
-
-- general code review and clean up
-- ensure device-tree requirements are documented
-- should probably be merged with drivers/mmc/host/mtk-sd.c
-- possibly fix to work with highmem pages so a bounce buffer isn't
-  needed.
-
-Cc: NeilBrown <[email protected]>
drivers/staging/mt7621-mmc/board.h deleted +0 -63

63 lines not on this page · raw message

drivers/staging/mt7621-mmc/dbg.c deleted +0 -311

311 lines not on this page · raw message

drivers/staging/mt7621-mmc/dbg.h deleted +0 -106

106 lines not on this page · raw message

drivers/staging/mt7621-mmc/mt6575_sd.h deleted +0 -485

485 lines not on this page · raw message

drivers/staging/mt7621-mmc/sd.c deleted +0 -1859

1,859 lines not on this page · raw message

Signature · 1 line
2.21.0

A message that is not in the archive (sent off-list or not yet received): CACmrr9hZRiw10dDVcvFUFB7ZFzFq-WfELRXnTLOM_j5LoNnw3A@mail.gmail.com

author maintainer
#7 lore raw

Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.

Quoted 11 lines · George Hilliard
Quoted 7 lines · Greg Kroah-Hartman

The license text in this driver is "interesting" and not really obvious that it is supposed to be able to be distributed in the kernel source tree. Yes, the MODULE_LICENSE() text says GPL, so it's probably ok, but to be safe, I am deleting this driver. I will be glad to add it back if the license is properly sorted out, but for now, this isn't worth the potential risk, I should have never taken it in the first place.

Quoted 8 lines

So, for what it's worth, this driver has an obvious heritage of having been modified from the main Mediatek MMC driver. Now, of course it's *possible* to distribute GPL-incompatible changes to a GPL program, but the only *compliant* way to distribute these changes would have been the GPL.

So there's a very good chance that it's intended to be GPL. (Which is good, because I need this driver!) I suppose we need to reach out to the original contributor.

I agree that the intent is probably GPL, especially given the MODULE_LICENSE string, and in general how mediatek handles their kernel code (they properly opensource it all.) I think that someone got a little bit "heavy handed" on the comment blocks at the top of all of these files though, and that is what makes this whole thing questionable and needs to be addressed.

thanks,

greg k-h

#8 lore raw

Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.

In reply to a message not in the archive
Quoted 11 lines · George Hilliard
Quoted 7 lines · Greg Kroah-Hartman

The license text in this driver is "interesting" and not really obvious that it is supposed to be able to be distributed in the kernel source tree. Yes, the MODULE_LICENSE() text says GPL, so it's probably ok, but to be safe, I am deleting this driver. I will be glad to add it back if the license is properly sorted out, but for now, this isn't worth the potential risk, I should have never taken it in the first place.

Quoted 8 lines

So, for what it's worth, this driver has an obvious heritage of having been modified from the main Mediatek MMC driver. Now, of course it's *possible* to distribute GPL-incompatible changes to a GPL program, but the only *compliant* way to distribute these changes would have been the GPL.

So there's a very good chance that it's intended to be GPL. (Which is good, because I need this driver!) I suppose we need to reach out to the original contributor.

People keep telling me that drivers/mmc/host/mtk-sd.c should be able to handle the same hardware as this driver, with a little bit of work. Unfortunately they haven't told me what the little bit of work involves.

Have you explored that possibility at all? I might try to have a look if I can make time.

NeilBrown

#9 lore raw

Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.

Quoted 6 lines · NeilBrown

People keep telling me that drivers/mmc/host/mtk-sd.c should be able to handle the same hardware as this driver, with a little bit of work. Unfortunately they haven't told me what the little bit of work involves.

Have you explored that possibility at all? I might try to have a look if I can make time.

I have started to look into it, when I was working on that driver. First sorry for me doing nothing in the last few month. Generally the two drivers seem to be very similar, the main difference is the code for tuning. In the staging driver. this is a total mess. It tries to account for tuning itself, so it also tries to account which command was executed (succesfully) before a tuning is necessary and reexecutes it, when it was the APP_CMD. But there are still some differences in the tuning code, that are not due to handling it in the driver.

If have mainly understand how to remove the 'in driver handling' of the tuning and thing I could prepare a patch for that. But the differences in the tuning code itself, I do not understand completely.

There are two other larger differences that I found during my work. One is that drivers/mmc/host/mtk-sd.c has much more features, like voltage and clock handling and some support for high speed modes. I don't know if these features are required/useful for this device. The other thing is the card detect handling. This driver is doing the card detect / read only detection on its own, where the in tree one just uses some default gpio functions there and I don't know weather this must be changed or weather there is a gpio driver for the mt7621.

That is all I currently remember. Hope it helps.

Christian

#10 lore raw

Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.

Quoted 33 lines · Christian Lütke-Stetzkamp
Quoted 6 lines · NeilBrown

People keep telling me that drivers/mmc/host/mtk-sd.c should be able to handle the same hardware as this driver, with a little bit of work. Unfortunately they haven't told me what the little bit of work involves.

Have you explored that possibility at all? I might try to have a look if I can make time.

I have started to look into it, when I was working on that driver. First sorry for me doing nothing in the last few month. Generally the two drivers seem to be very similar, the main difference is the code for tuning. In the staging driver. this is a total mess. It tries to account for tuning itself, so it also tries to account which command was executed (succesfully) before a tuning is necessary and reexecutes it, when it was the APP_CMD. But there are still some differences in the tuning code, that are not due to handling it in the driver.

If have mainly understand how to remove the 'in driver handling' of the tuning and thing I could prepare a patch for that. But the differences in the tuning code itself, I do not understand completely.

There are two other larger differences that I found during my work. One is that drivers/mmc/host/mtk-sd.c has much more features, like voltage and clock handling and some support for high speed modes. I don't know if these features are required/useful for this device. The other thing is the card detect handling. This driver is doing the card detect / read only detection on its own, where the in tree one just uses some default gpio functions there and I don't know weather this must be changed or weather there is a gpio driver for the mt7621.

Quoted 3 lines

That is all I currently remember. Hope it helps.

Christian

Thanks, it might be.
Other info I have received at
https://github.com/gnubee-git/GnuBee_Docs/issues/75#issuecomment-479216537

is that there might be something worth examining at

https://github.com/jonpry/openwrt_mt7688/commit/a85e6d99899f3dc1204cd5bfba944e17bfa6178f
https://github.com/jonpry/openwrt_mt7688/commit/24878467a650d765b747618de1a575e79114b764

A few notes: The MMC driver there is basically the 4.9 mtk-sd one with all the patches from maybe 4.17 or 4.18 backported.

and that a diff against current mainline here:

https://gist.github.com/neheb/3d9e4cbf966f8487114df19b49f28214

might be useful.

I'll look more on the weekend if no-one beats me to it.

NeilBrown

#11 lore raw

Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.

In reply to Christian Lütke-Stetzkamp
Quoted 5 lines · Christian Lütke-Stetzkamp

There are two other larger differences that I found during my work. One is that drivers/mmc/host/mtk-sd.c has much more features, like voltage and clock handling and some support for high speed modes. I don't know if these features are required/useful for this device.

For what it's worth, I found an old forum post of someone who was dealing with a crashy kernel on their mt7688. They removed the mt7621-mmc driver and hacked the clock code out of the mainline driver. Apparently it worked. I never got around to duplicating their work, however. (I too ran into severe instability problems with the mt7621-mmc driver, but they only appeared in conjunction with using the SLOB allocator. I could never debug it because when JTAG was turned on, the SDMC peripheral was disabled for some reason I never discovered. More info on that if someone is interested.)

The correct way to do this would be to have a "compatible" flag that bypassed the clock handling code. I don't think there are any relevant clocks to set up on the MT7628/MT7688 - the MSDC peripheral does not appear in the clock plan.

Quoted 5 lines

The other thing is the card detect handling. This driver is doing the card detect / read only detection on its own, where the in tree one just uses some default gpio functions there and I don't know weather this must be changed or weather there is a gpio driver for the mt7621.

There is a "mtk,mt7621-gpio"-compatible GPIO driver available. Probably it would work with GPIO on new hardware that did not to route CD to the CD pin, because the CD pin is muxed using the same "SD card" pin state as the SD data pins. I do not know if it is possible for the GPIO peripheral to read the pin while it is muxed to the SD controller, as would be necessary for existing hardware.

George

#12 lore raw

Re: [PATCH 03/16] staging: m57621-mmc: delete driver from the tree.

Quoted 29 lines · George Hilliard
Quoted 5 lines · Christian Lütke-Stetzkamp

There are two other larger differences that I found during my work. One is that drivers/mmc/host/mtk-sd.c has much more features, like voltage and clock handling and some support for high speed modes. I don't know if these features are required/useful for this device.

For what it's worth, I found an old forum post of someone who was dealing with a crashy kernel on their mt7688. They removed the mt7621-mmc driver and hacked the clock code out of the mainline driver. Apparently it worked. I never got around to duplicating their work, however. (I too ran into severe instability problems with the mt7621-mmc driver, but they only appeared in conjunction with using the SLOB allocator. I could never debug it because when JTAG was turned on, the SDMC peripheral was disabled for some reason I never discovered. More info on that if someone is interested.)

The correct way to do this would be to have a "compatible" flag that bypassed the clock handling code. I don't think there are any relevant clocks to set up on the MT7628/MT7688 - the MSDC peripheral does not appear in the clock plan.

Quoted 5 lines

The other thing is the card detect handling. This driver is doing the card detect / read only detection on its own, where the in tree one just uses some default gpio functions there and I don't know weather this must be changed or weather there is a gpio driver for the mt7621.

Quoted 8 lines

There is a "mtk,mt7621-gpio"-compatible GPIO driver available. Probably it would work with GPIO on new hardware that did not to route CD to the CD pin, because the CD pin is muxed using the same "SD card" pin state as the SD data pins. I do not know if it is possible for the GPIO peripheral to read the pin while it is muxed to the SD controller, as would be necessary for existing hardware.

George

FYI I have mmc working on my mt7621 board using the drivers/mmc/host/mtk_sd.c driver and the following patch. I haven't looked at the card-detect yet.

I'll post bits of this to relevant lists as they are ready, not to this list any more. If anyone would like to hear about my progress, please let me know.

Thanks,
NeilBrown

drivers/mmc/host/mtk-sd.c +30 -3
index 833ef0590af8..45ae93114a07 100644
@@ -366,6 +366,8 @@ struct mtk_mmc_compatible {
 	u8 clk_div_bits;
 	bool hs400_tune; /* only used for MT8173 */
 	u32 pad_tune_reg;
+	u32 caps;
+	u32 ocr_avail;
 	bool async_fifo;
 	bool data_tune;
 	bool busy_check;
@@ -507,6 +509,21 @@ static const struct mtk_mmc_compatible mt7622_compat = {
 	.support_64g = false,
 };
 
+static const struct mtk_mmc_compatible mt7620_compat = {
+	.clk_div_bits = 8,
+	.hs400_tune = false,
+	.pad_tune_reg = MSDC_PAD_TUNE,
+	.async_fifo = false,
+	.data_tune = false,
+	.busy_check = false,
+	.stop_clk_fix = false,
+	.enhance_rx = false,
+	.caps = (MMC_CAP_4_BIT_DATA | MMC_CAP_MMC_HIGHSPEED |
+		 MMC_CAP_SD_HIGHSPEED),
+	.ocr_avail = (MMC_VDD_28_29 | MMC_VDD_29_30 | MMC_VDD_30_31 |
+		      MMC_VDD_31_32 | MMC_VDD_32_33),
+};
+
 static const struct of_device_id msdc_of_ids[] = {
 	{ .compatible = "mediatek,mt8135-mmc", .data = &mt8135_compat},
 	{ .compatible = "mediatek,mt8173-mmc", .data = &mt8173_compat},
@@ -514,6 +531,7 @@ static const struct of_device_id msdc_of_ids[] = {
 	{ .compatible = "mediatek,mt2701-mmc", .data = &mt2701_compat},
 	{ .compatible = "mediatek,mt2712-mmc", .data = &mt2712_compat},
 	{ .compatible = "mediatek,mt7622-mmc", .data = &mt7622_compat},
+	{ .compatible = "ralink,mt7620-sdhci", .data = &mt7620_compat},
 	{}
 };
 MODULE_DEVICE_TABLE(of, msdc_of_ids);
@@ -2194,13 +2212,17 @@ static int msdc_drv_probe(struct platform_device *pdev)
 	if (mmc->caps & MMC_CAP_SDIO_IRQ)
 		mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD;
 
-	mmc->caps |= MMC_CAP_ERASE | MMC_CAP_CMD23;
+	mmc->caps |= MMC_CAP_ERASE | MMC_CAP_CMD23 |
+		host->dev_comp->caps;
+	mmc->f_max = host->src_clk_freq;
 	/* MMC core transfer sizes tunable parameters */
 	mmc->max_segs = MAX_BD_NUM;
 	mmc->max_seg_size = BDMA_DESC_BUFLEN;
 	mmc->max_blk_size = 2048;
 	mmc->max_req_size = 512 * 1024;
 	mmc->max_blk_count = mmc->max_req_size / 512;
+	mmc->ocr_avail |= host->dev_comp->ocr_avail;
+
 	if (host->dev_comp->support_64g)
 		host->dma_mask = DMA_BIT_MASK(36);
 	else
@@ -2226,8 +2248,13 @@ static int msdc_drv_probe(struct platform_device *pdev)
 	msdc_ungate_clock(host);
 	msdc_init_hw(host);
 
-	ret = devm_request_irq(&pdev->dev, host->irq, msdc_irq,
-		IRQF_TRIGGER_LOW | IRQF_ONESHOT, pdev->name, host);
+	if (irq_get_trigger_type(host->irq) == IRQ_TYPE_NONE)
+		ret = devm_request_irq(&pdev->dev, host->irq, msdc_irq,
+				       IRQF_TRIGGER_LOW | IRQF_ONESHOT,
+				       pdev->name, host);
+	else
+		ret = devm_request_irq(&pdev->dev, host->irq, msdc_irq,
+				       0, pdev->name, host);
 	if (ret)
 		goto release;
 
drivers/staging/mt7621-dts/mt7621.dtsi +13 -0
index 86f630045c13..54f33857a17d 100644
@@ -34,6 +34,12 @@
 		clock-output-names = "cpu", "bus";
 	};
 
+	mmc_clock: mmc_clock@0 {
+		#clock-cells = <0>;
+		compatible = "fixed-clock";
+		clock-frequency = <48000000>;
+	};
+
 	palmbus: palmbus@1E000000 {
 		compatible = "palmbus";
 		reg = <0x1E000000 0x100000>;
@@ -292,6 +298,13 @@
 		compatible = "ralink,mt7620-sdhci";
 		reg = <0x1E130000 0x4000>;
 
+		pinctrl-names = "default", "state_uhs";
+		pinctrl-0 = <&sdhci_pins>;
+		pinctrl-1 = <&sdhci_pins>;
+
+		clocks = <&mmc_clock &mmc_clock>;
+		clock-names = "source", "hclk";
+
 		interrupt-parent = <&gic>;
 		interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>;
 	};
author maintainer
#13 lore raw

PATCH 4/16 staging: sm750fb: add proper SPDX identifier to driver

In reply to Greg Kroah-Hartman

By default all files without license information are under the default license of the kernel, which is GPL version 2. Because of this, add the GPL-2.0 identifier to the sm750fb driver which did not have any license identifiers in it at all.

Cc Sudip Mukherjee <[email protected]>
Cc Teddy Wang <[email protected]>
---
 drivers/staging/sm750fb/ddk750.h       | 1 +
 drivers/staging/sm750fb/ddk750_swi2c.c | 1 +
 drivers/staging/sm750fb/ddk750_swi2c.h | 1 +
 drivers/staging/sm750fb/sm750.c        | 1 +
 4 files changed, 4 insertions(+)
drivers/staging/sm750fb/ddk750.h +1 -0
index 734010324a8f..482c1c6ba422 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  *         Copyright (c) 2007 by Silicon Motion, Inc. (SMI)
  *
drivers/staging/sm750fb/ddk750_swi2c.c +1 -0
index 19c5ffc72b16..5c0ac747ea2b 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *         Copyright (c) 2007 by Silicon Motion, Inc. (SMI)
  *
drivers/staging/sm750fb/ddk750_swi2c.h +1 -0
index 3b8a96d6d25a..5868feea791b 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  *         Copyright (c) 2007 by Silicon Motion, Inc. (SMI)
  *
drivers/staging/sm750fb/sm750.c +1 -0
index e1a892e3b3ad..105089b97bf5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/errno.h>
Signature · 1 line
2.21.0
author maintainer
#14 lore raw

PATCH 5/16 staging: vc04_services: add proper SPDX identifier for dual licensed files

In reply to Greg Kroah-Hartman

There are a number of vc04_services files that are dual licensed under the GPL2 and BSD-3 licenses. They currently do not have a SPDX identifier on them, so fix that up and add the proper identifier so that tools can pick it up easily.

Cc Eric Anholt <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Tuomas Tynkkynen <[email protected]>
Cc Aymen Qader <[email protected]>
Cc "Tobias Büttner" <[email protected]>
Cc Dominic Braun <[email protected]>
Cc Nicolas Saenz Julienne <[email protected]>
Cc Alejandro Ismael Silva <[email protected]>
Cc Phil Elwell <[email protected]>
Cc Luis Chamberlain <[email protected]>
Cc Arnd Bergmann <[email protected]>
---
 drivers/staging/vc04_services/interface/vchi/vchi.h              | 1 +
 drivers/staging/vc04_services/interface/vchi/vchi_cfg.h          | 1 +
 drivers/staging/vc04_services/interface/vchi/vchi_common.h       | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq.h        | 1 +
 .../staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c   | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c    | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h    | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_cfg.h    | 1 +
 .../staging/vc04_services/interface/vchiq_arm/vchiq_connected.c  | 1 +
 .../staging/vc04_services/interface/vchiq_arm/vchiq_connected.h  | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c   | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h   | 1 +
 .../staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c    | 1 +
 .../staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h    | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h     | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h  | 1 +
 .../staging/vc04_services/interface/vchiq_arm/vchiq_pagelist.h   | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c   | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c   | 1 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.h   | 1 +
 20 files changed, 20 insertions(+)
drivers/staging/vc04_services/interface/vchi/vchi.h +1 -0
index df7f8ef478af..a662e1bf7341 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchi/vchi_cfg.h +1 -0
index 0d3c468c3504..d9f16a544412 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchi/vchi_common.h +1 -0
index 1672848d5c83..fdb17a80fa5c 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq.h +1 -0
index 21adf89a9065..4b6e657081f1 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +1 -0
index dd4898861b83..70d7f6ff1483 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +1 -0
index 6dad624d0e49..c95b7eaf7343 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /**
  * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved.
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h +1 -0
index cdb963054975..fc732ca76ca5 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved.
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_cfg.h +1 -0
index d2797db702f9..e31475610be0 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2014 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c +1 -0
index 7d64e2ed7b42..fc5a9c359b09 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.h +1 -0
index 863b3e335c1a..dc6d99dbb1b4 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +1 -0
index c60db447ae8e..daadc9d6ff8e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h +1 -0
index 5f07db519633..34685f89f910 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c +1 -0
index 3928287cf5f7..e099be476ec5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /**
  * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved.
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h +1 -0
index 5be1a5663f51..1697d3fdb0a4 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h +1 -0
index 13ed23eacfae..957e226df626 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h +1 -0
index 56aef490e870..4dbc16d2a944 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_pagelist.h +1 -0
index 4eaf7398cf2e..eed4913a6c66 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c +1 -0
index ab6ca8fd6f14..661ec3df90a2 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c +1 -0
index 55c5fd82b911..5a60870c89c3 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.h +1 -0
index d842194b4023..3f0ddbc1dd5b 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /**
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
  *
Signature · 1 line
2.21.0
Acked-by on v1 5/16
#15 lore raw

Re: [PATCH 05/16] staging: vc04_services: add proper SPDX identifier for dual licensed files

Am 02.04.19 um 12:31 schrieb Greg Kroah-Hartman:

Quoted 17 lines

There are a number of vc04_services files that are dual licensed under the GPL2 and BSD-3 licenses. They currently do not have a SPDX identifier on them, so fix that up and add the proper identifier so that tools can pick it up easily.

Cc Eric Anholt <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Tuomas Tynkkynen <[email protected]>
Cc Aymen Qader <[email protected]>
Cc "Tobias Büttner" <[email protected]>
Cc Dominic Braun <[email protected]>
Cc Nicolas Saenz Julienne <[email protected]>
Cc Alejandro Ismael Silva <[email protected]>
Cc Phil Elwell <[email protected]>
Cc Luis Chamberlain <[email protected]>
Cc Arnd Bergmann <[email protected]>
Quoted 1 line

---

author maintainer
#16 lore raw

PATCH 6/16 staging: vc04_services: remove remaining redundant license text

In reply to Greg Kroah-Hartman

Now that the SPDX tag is in all vc04_services files, that identifies the license in a specific and legally-defined manner. So the extra GPL and BSD text wording can be removed as it is no longer needed at all.

This is done on a quest to remove the 700+ different ways that files in the kernel describe the license text.

No copyright headers or other non-license-description text was removed.

Cc Eric Anholt <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Tuomas Tynkkynen <[email protected]>
Cc Aymen Qader <[email protected]>
Cc "Tobias Büttner" <[email protected]>
Cc Dominic Braun <[email protected]>
Cc Nicolas Saenz Julienne <[email protected]>
Cc Alejandro Ismael Silva <[email protected]>
Cc Phil Elwell <[email protected]>
Cc Luis Chamberlain <[email protected]>
Cc Arnd Bergmann <[email protected]>
---
 .../vc04_services/interface/vchi/vchi.h       | 33 +------------------
 .../vc04_services/interface/vchi/vchi_cfg.h   | 33 +------------------
 .../interface/vchi/vchi_common.h              | 33 +------------------
 .../vc04_services/interface/vchiq_arm/vchiq.h | 33 +------------------
 .../interface/vchiq_arm/vchiq_2835_arm.c      | 33 +------------------
 .../interface/vchiq_arm/vchiq_arm.c           | 31 +----------------
 .../interface/vchiq_arm/vchiq_arm.h           | 31 +----------------
 .../interface/vchiq_arm/vchiq_cfg.h           | 33 +------------------
 .../interface/vchiq_arm/vchiq_connected.c     | 33 +------------------
 .../interface/vchiq_arm/vchiq_connected.h     | 33 +------------------
 .../interface/vchiq_arm/vchiq_core.c          | 33 +------------------
 .../interface/vchiq_arm/vchiq_core.h          | 33 +------------------
 .../interface/vchiq_arm/vchiq_debugfs.c       | 31 +----------------
 .../interface/vchiq_arm/vchiq_debugfs.h       | 33 +------------------
 .../interface/vchiq_arm/vchiq_if.h            | 33 +------------------
 .../interface/vchiq_arm/vchiq_ioctl.h         | 33 +------------------
 .../interface/vchiq_arm/vchiq_pagelist.h      | 33 +------------------
 .../interface/vchiq_arm/vchiq_shim.c          | 33 +------------------
 .../interface/vchiq_arm/vchiq_util.c          | 33 +------------------
 .../interface/vchiq_arm/vchiq_util.h          | 33 +------------------
 20 files changed, 20 insertions(+), 634 deletions(-)
drivers/staging/vc04_services/interface/vchi/vchi.h +1 -32
index a662e1bf7341..f85562b9ba9e 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHI_H_
 #define VCHI_H_
drivers/staging/vc04_services/interface/vchi/vchi_cfg.h +1 -32
index d9f16a544412..89aa4e6122cd 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHI_CFG_H_
 #define VCHI_CFG_H_
drivers/staging/vc04_services/interface/vchi/vchi_common.h +1 -32
index fdb17a80fa5c..e7955cbaf26a 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHI_COMMON_H_
 #define VCHI_COMMON_H_
drivers/staging/vc04_services/interface/vchiq_arm/vchiq.h +1 -32
index 4b6e657081f1..25af99a0f394 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHIQ_VCHIQ_H
 #define VCHIQ_VCHIQ_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +1 -32
index 70d7f6ff1483..31eb7d5889f1 100644
@@ -1,36 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #include <linux/kernel.h>
 #include <linux/types.h>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +1 -30
index c95b7eaf7343..e6681670c569 100644
@@ -1,36 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
+/*
  * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved.
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
 #include <linux/kernel.h>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h +1 -30
index fc732ca76ca5..c1d5a9d17071 100644
@@ -1,36 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
+/*
  * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved.
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
 #ifndef VCHIQ_ARM_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_cfg.h +1 -32
index e31475610be0..c275e2e8e678 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2014 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2014 Broadcom. All rights reserved. */
 
 #ifndef VCHIQ_CFG_H
 #define VCHIQ_CFG_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c +1 -32
index fc5a9c359b09..e87e6619695e 100644
@@ -1,36 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #include "vchiq_connected.h"
 #include "vchiq_core.h"
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.h +1 -32
index dc6d99dbb1b4..ec5d2b716e7a 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHIQ_CONNECTED_H
 #define VCHIQ_CONNECTED_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +1 -32
index daadc9d6ff8e..6057a90436fc 100644
@@ -1,36 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #include "vchiq_core.h"
 
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h +1 -32
index 34685f89f910..aee2d362e88d 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHIQ_CORE_H
 #define VCHIQ_CORE_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c +1 -30
index e099be476ec5..2bb9120883fd 100644
@@ -1,36 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
+/*
  * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved.
  * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
 #include <linux/debugfs.h>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h +1 -32
index 1697d3fdb0a4..9b563d105fdb 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2014 Raspberry Pi (Trading) Ltd. All rights reserved. */
 
 #ifndef VCHIQ_DEBUGFS_H
 #define VCHIQ_DEBUGFS_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h +1 -32
index 957e226df626..5445f201e284 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHIQ_IF_H
 #define VCHIQ_IF_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h +1 -32
index 4dbc16d2a944..460ccea088bf 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHIQ_IOCTLS_H
 #define VCHIQ_IOCTLS_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_pagelist.h +1 -32
index eed4913a6c66..ebd12bfabb63 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHIQ_PAGELIST_H
 #define VCHIQ_PAGELIST_H
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c +1 -32
index 661ec3df90a2..13910d205fce 100644
@@ -1,36 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 #include <linux/module.h>
 #include <linux/types.h>
 
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c +1 -32
index 5a60870c89c3..6c519d8e48cb 100644
@@ -1,36 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #include "vchiq_util.h"
 
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.h +1 -32
index 3f0ddbc1dd5b..ee1459468171 100644
@@ -1,36 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/**
- * Copyright (c) 2010-2012 Broadcom. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The names of the above-listed copyright holders may not be used
- *    to endorse or promote products derived from this software without
- *    specific prior written permission.
- *
- * ALTERNATIVELY, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2, as published by the Free
- * Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
+/* Copyright (c) 2010-2012 Broadcom. All rights reserved. */
 
 #ifndef VCHIQ_UTIL_H
 #define VCHIQ_UTIL_H
Signature · 1 line
2.21.0
Acked-by on v1 6/16
#17 lore raw

Re: [PATCH 06/16] staging: vc04_services: remove remaining redundant license text

Am 02.04.19 um 12:31 schrieb Greg Kroah-Hartman:

Quoted 9 lines

Now that the SPDX tag is in all vc04_services files, that identifies the license in a specific and legally-defined manner. So the extra GPL and BSD text wording can be removed as it is no longer needed at all.

This is done on a quest to remove the 700+ different ways that files in the kernel describe the license text.

No copyright headers or other non-license-description text was removed.

Quoted 12 lines
Cc Eric Anholt <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Tuomas Tynkkynen <[email protected]>
Cc Aymen Qader <[email protected]>
Cc "Tobias Büttner" <[email protected]>
Cc Dominic Braun <[email protected]>
Cc Nicolas Saenz Julienne <[email protected]>
Cc Alejandro Ismael Silva <[email protected]>
Cc Phil Elwell <[email protected]>
Cc Luis Chamberlain <[email protected]>
Cc Arnd Bergmann <[email protected]>

Thanks

Stefan

author maintainer
#18 lore raw

Re: [PATCH 06/16] staging: vc04_services: remove remaining redundant license text

Quoted 23 lines · Stefan Wahren

Am 02.04.19 um 12:31 schrieb Greg Kroah-Hartman:

Quoted 9 lines

Now that the SPDX tag is in all vc04_services files, that identifies the license in a specific and legally-defined manner. So the extra GPL and BSD text wording can be removed as it is no longer needed at all.

This is done on a quest to remove the 700+ different ways that files in the kernel describe the license text.

No copyright headers or other non-license-description text was removed.

Quoted 12 lines
Cc Eric Anholt <[email protected]>
Cc Stefan Wahren <[email protected]>
Cc Tuomas Tynkkynen <[email protected]>
Cc Aymen Qader <[email protected]>
Cc "Tobias Büttner" <[email protected]>
Cc Dominic Braun <[email protected]>
Cc Nicolas Saenz Julienne <[email protected]>
Cc Alejandro Ismael Silva <[email protected]>
Cc Phil Elwell <[email protected]>
Cc Luis Chamberlain <[email protected]>
Cc Arnd Bergmann <[email protected]>
Quoted 1 line

Thanks for the acks.

author maintainer
#19 lore raw

PATCH 7/16 staging: comedi: quatec_daqp_cs: add proper SPDX identifier to driver

In reply to Greg Kroah-Hartman

By default all files without license information are under the default license of the kernel, which is GPL version 2. Because of this, add the GPL-2.0 identifier to the quatec_daqp_cs driver which did not have any license identifiers in it at all.

Cc Ian Abbott <[email protected]>
Cc H Hartley Sweeten <[email protected]>
Cc Brent Baccala <[email protected]>
Cc David A. Schleef <[email protected]>
---
 drivers/staging/comedi/drivers/quatech_daqp_cs.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/comedi/drivers/quatech_daqp_cs.c +1 -0
index 257b0daff01f..6daaacf7a26a 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * quatech_daqp_cs.c
  * Quatech DAQP PCMCIA data capture cards COMEDI client driver
Signature · 1 line
2.21.0
author maintainer
#20 lore raw

PATCH 8/16 staging: iio: add proper SPDX identifiers to remaining driver files

In reply to Greg Kroah-Hartman

There are a number of IIO staging drivers that do not have a proper SPDX identifier on it. So fix that up and at the same time, remove the "free form" license text, as that's pretty much impossible for any tool to parse.

Cc Lars-Peter Clausen <[email protected]>
Cc Michael Hennerich <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Hartmut Knaack <[email protected]>
Cc Peter Meerwald-Stadler <[email protected]>
---
 drivers/staging/iio/accel/adis16203.c           | 3 +--
 drivers/staging/iio/accel/adis16240.c           | 3 +--
 drivers/staging/iio/adc/ad7192.c                | 3 +--
 drivers/staging/iio/adc/ad7192.h                | 3 +--
 drivers/staging/iio/adc/ad7280a.c               | 3 +--
 drivers/staging/iio/adc/ad7280a.h               | 3 +--
 drivers/staging/iio/adc/ad7780.c                | 3 +--
 drivers/staging/iio/adc/ad7816.c                | 3 +--
 drivers/staging/iio/addac/adt7316-i2c.c         | 3 +--
 drivers/staging/iio/addac/adt7316-spi.c         | 3 +--
 drivers/staging/iio/addac/adt7316.c             | 4 +---
 drivers/staging/iio/addac/adt7316.h             | 3 +--
 drivers/staging/iio/cdc/ad7150.c                | 3 +--
 drivers/staging/iio/cdc/ad7746.c                | 3 +--
 drivers/staging/iio/cdc/ad7746.h                | 3 +--
 drivers/staging/iio/frequency/ad9832.c          | 3 +--
 drivers/staging/iio/frequency/ad9832.h          | 3 +--
 drivers/staging/iio/frequency/ad9834.c          | 3 +--
 drivers/staging/iio/frequency/ad9834.h          | 3 +--
 drivers/staging/iio/frequency/dds.h             | 3 +--
 drivers/staging/iio/impedance-analyzer/ad5933.c | 3 +--
 drivers/staging/iio/meter/ade7854-i2c.c         | 3 +--
 drivers/staging/iio/meter/ade7854-spi.c         | 3 +--
 drivers/staging/iio/meter/ade7854.c             | 3 +--
 drivers/staging/iio/resolver/ad2s1210.c         | 6 +-----
 25 files changed, 25 insertions(+), 54 deletions(-)
drivers/staging/iio/accel/adis16203.c +1 -2
index 5cc96c8086b5..70381756a64a 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * ADIS16203 Programmable 360 Degrees Inclinometer
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/delay.h>
drivers/staging/iio/accel/adis16240.c +1 -2
index 24e525f1ef25..b80e0d248b0f 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * ADIS16240 Programmable Impact Sensor and Recorder driver
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/interrupt.h>
drivers/staging/iio/adc/ad7192.c +1 -2
index acdbc07fd259..dfb79fbf63f4 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * AD7190 AD7192 AD7193 AD7195 SPI ADC driver
  *
  * Copyright 2011-2015 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #include <linux/interrupt.h>
drivers/staging/iio/adc/ad7192.h +1 -2
index 7433a43c2611..e382b22c460b 100644
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * AD7190 AD7192 AD7195 SPI ADC driver
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 #ifndef IIO_ADC_AD7192_H_
 #define IIO_ADC_AD7192_H_
drivers/staging/iio/adc/ad7280a.c +1 -2
index d9df12665176..47cfe920b2ae 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * AD7280A Lithium Ion Battery Monitoring System
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #include <linux/crc8.h>
drivers/staging/iio/adc/ad7280a.h +1 -2
index ccfb90d20e71..23f18bb9e279 100644
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * AD7280A Lithium Ion Battery Monitoring System
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #ifndef IIO_ADC_AD7280_H_
drivers/staging/iio/adc/ad7780.c +1 -2
index c4a85789c2db..c15389f562b2 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * AD7170/AD7171 and AD7780/AD7781 SPI ADC driver
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #include <linux/interrupt.h>
drivers/staging/iio/adc/ad7816.c +1 -2
index ee50e7296795..a0e13f29ec07 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * AD7816 digital temperature sensor driver supporting AD7816/7/8
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/interrupt.h>
drivers/staging/iio/addac/adt7316-i2c.c +1 -2
index 0f26bc38edc6..5543cc909707 100644
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * I2C bus driver for ADT7316/7/8 ADT7516/7/9 digital temperature
  * sensor, ADC and DAC
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/device.h>
drivers/staging/iio/addac/adt7316-spi.c +1 -2
index 8294b9c1e3c2..2066241b15b1 100644
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * API bus driver for ADT7316/7/8 ADT7516/7/9 digital temperature
  * sensor, ADC and DAC
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/device.h>
drivers/staging/iio/addac/adt7316.c +1 -3
index 5e5d3d961a6c..b6a65ee8d558 100644
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * ADT7316 digital temperature sensor driver supporting ADT7316/7/8 ADT7516/7/9
  *
- *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/interrupt.h>
drivers/staging/iio/addac/adt7316.h +1 -2
index 84ca4f6c88f5..8c2a92ae7157 100644
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * ADT7316 digital temperature sensor driver supporting ADT7316/7/8 ADT7516/7/9
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #ifndef _ADT7316_H_
drivers/staging/iio/cdc/ad7150.c +1 -2
index 24f74ce60f80..dd7fcab8e19e 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * AD7150 capacitive sensor driver supporting AD7150/1/6
  *
  * Copyright 2010-2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/interrupt.h>
drivers/staging/iio/cdc/ad7746.c +1 -2
index 0eb28fea876e..47610d863908 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * AD7746 capacitive sensor driver supporting AD7745, AD7746 and AD7747
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #include <linux/delay.h>
drivers/staging/iio/cdc/ad7746.h +1 -2
index ea8572d1df02..8bdbd732dbbd 100644
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * AD7746 capacitive sensor driver supporting AD7745, AD7746 and AD7747
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #ifndef IIO_CDC_AD7746_H_
drivers/staging/iio/frequency/ad9832.c +1 -2
index a3ce50427724..18fae8ff5dd9 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * AD9832 SPI DDS driver
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #include <linux/device.h>
drivers/staging/iio/frequency/ad9832.h +1 -2
index 39d326cc1af9..dc66477f4c84 100644
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * AD9832 SPI DDS driver
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 #ifndef IIO_DDS_AD9832_H_
 #define IIO_DDS_AD9832_H_
drivers/staging/iio/frequency/ad9834.c +1 -2
index 0b0287503fb4..fc7e1126d143 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * AD9833/AD9834/AD9837/AD9838 SPI DDS driver
  *
  * Copyright 2010-2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #include <linux/clk.h>
drivers/staging/iio/frequency/ad9834.h +1 -2
index da7e83ceedad..521943aa0e61 100644
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * AD9833/AD9834/AD9837/AD9838 SPI DDS driver
  *
  * Copyright 2010-2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 #ifndef IIO_DDS_AD9834_H_
 #define IIO_DDS_AD9834_H_
drivers/staging/iio/frequency/dds.h +1 -2
index d6ccd99c14d7..2ebe68eb7398 100644
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * dds.h - sysfs attributes associated with DDS devices
  *
  * Copyright (c) 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 #ifndef IIO_DDS_H_
 #define IIO_DDS_H_
drivers/staging/iio/impedance-analyzer/ad5933.c +1 -2
index 3134295f014f..f98f6e8ff390 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * AD5933 AD5934 Impedance Converter, Network Analyzer
  *
  * Copyright 2011 Analog Devices Inc.
- *
- * Licensed under the GPL-2.
  */
 
 #include <linux/interrupt.h>
drivers/staging/iio/meter/ade7854-i2c.c +1 -2
index c3aa6ea9d036..a9a06e8dda51 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * ADE7854/58/68/78 Polyphase Multifunction Energy Metering IC Driver (I2C Bus)
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/device.h>
drivers/staging/iio/meter/ade7854-spi.c +1 -2
index fc9146757283..f12a6c8b3e88 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * ADE7854/58/68/78 Polyphase Multifunction Energy Metering IC Driver (SPI Bus)
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/device.h>
drivers/staging/iio/meter/ade7854.c +1 -2
index 029c3bf42d4d..b7fbf9022046 100644
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * ADE7854/58/68/78 Polyphase Multifunction Energy Metering IC Driver
  *
  * Copyright 2010 Analog Devices Inc.
- *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/interrupt.h>
drivers/staging/iio/resolver/ad2s1210.c +1 -5
index cec9d995b3df..b6be0bc202f5 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * ad2s1210.c support for the ADI Resolver to Digital Converters: AD2S1210
  *
  * Copyright (c) 2010-2010 Analog Devices Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  */
 #include <linux/types.h>
 #include <linux/mutex.h>
Signature · 1 line
2.21.0
author maintainer
#21 lore raw

PATCH 9/16 staging: rtl8192u: add proper SPDX identifiers on files that did not have them.

In reply to Greg Kroah-Hartman

There were a few files for the rtl8192u driver that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

Cc John Whitmore <[email protected]>
Cc Bhanusree Pola <[email protected]>
Cc Sanjana Sanikommu <[email protected]>
Cc Jia-Ju Bai <[email protected]>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211.h  |  6 +-----
 .../rtl8192u/ieee80211/ieee80211_crypt.c        |  7 +------
 .../rtl8192u/ieee80211/ieee80211_crypt.h        |  6 +-----
 .../rtl8192u/ieee80211/ieee80211_crypt_ccmp.c   |  6 +-----
 .../rtl8192u/ieee80211/ieee80211_crypt_tkip.c   |  6 +-----
 .../rtl8192u/ieee80211/ieee80211_crypt_wep.c    |  6 +-----
 .../staging/rtl8192u/ieee80211/ieee80211_rx.c   |  6 +-----
 .../rtl8192u/ieee80211/ieee80211_softmac.c      |  3 +--
 .../rtl8192u/ieee80211/ieee80211_softmac_wx.c   |  3 +--
 .../staging/rtl8192u/ieee80211/ieee80211_tx.c   | 17 +----------------
 .../staging/rtl8192u/ieee80211/ieee80211_wx.c   | 17 +----------------
 drivers/staging/rtl8192u/r8180_93cx6.c          |  2 +-
 drivers/staging/rtl8192u/r8190_rtl8256.c        |  2 +-
 drivers/staging/rtl8192u/r8192U_core.c          | 16 +---------------
 drivers/staging/rtl8192u/r8192U_hw.h            |  2 +-
 drivers/staging/rtl8192u/r8192U_wx.c            |  2 +-
 drivers/staging/rtl8192u/r8192U_wx.h            |  2 +-
 17 files changed, 17 insertions(+), 92 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211.h +1 -5
index 638cad6df1c4..d36963469015 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Merged with mainline ieee80211.h in Aug 2004.  Original ieee802_11
  * remains copyright by the original authors
@@ -15,11 +16,6 @@
  *
  * Modified for Realtek's wi-fi cards by Andrea Merello
  * <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 #ifndef IEEE80211_H
 #define IEEE80211_H
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +1 -6
index 6f457812e5a3..36987fccac5d 100644
@@ -1,14 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Host AP crypto routines
  *
  * Copyright (c) 2002-2003, Jouni Malinen <[email protected]>
  * Portions Copyright (C) 2004, Intel Corporation <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
- *
  */
 
 #include <linux/module.h>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h +1 -5
index 1f2aea7e0e55..d3bd5598b25b 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Original code based on Host AP (software wireless LAN access point) driver
  * for Intersil Prism2/2.5/3.
@@ -10,11 +11,6 @@
  * <[email protected]>
  *
  * Copyright (c) 2004, Intel Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 /*
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c +1 -5
index 3534ddb900d1..f2d64ab563c3 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Host AP crypt: host-based CCMP encryption implementation for Host AP driver
  *
  * Copyright (c) 2003-2004, Jouni Malinen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/module.h>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c +1 -5
index 829fa4bd253c..d260b47d9f04 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Host AP crypt: host-based TKIP encryption implementation for Host AP driver
  *
  * Copyright (c) 2003-2004, Jouni Malinen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/module.h>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c +1 -5
index d4a1bf0caa7a..805493a0870d 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Host AP crypt: host-based WEP encryption implementation for Host AP driver
  *
  * Copyright (c) 2002-2004, Jouni Malinen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/module.h>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c +1 -5
index b7316b21565f..23e9cf35b601 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Original code based Host AP (software wireless LAN access point) driver
  * for Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -6,11 +7,6 @@
  * <[email protected]>
  * Copyright (c) 2002-2003, Jouni Malinen <[email protected]>
  * Copyright (c) 2004, Intel Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  ******************************************************************************
 
   Few modifications for Realtek's Wi-Fi drivers by
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +1 -2
index 8635faf84316..944c8894f9ff 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /* IEEE 802.11 SoftMAC layer
  * Copyright (c) 2005 Andrea Merello <[email protected]>
  *
@@ -9,8 +10,6 @@
  *
  * WPA code stolen from the ipw2200 driver.
  * Copyright who own it's copyright.
- *
- * released under the GPL
  */
 #include "ieee80211.h"
 
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c +1 -2
index 81020fbcdc20..aab1586fe0dd 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /* IEEE 802.11 SoftMAC layer
  * Copyright (c) 2005 Andrea Merello <[email protected]>
  *
@@ -9,8 +10,6 @@
  *
  * PS wx handler mostly stolen from hostap, copyright who
  * own it's copyright ;-)
- *
- * released under the GPL
  */
 
 
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c +1 -16
index 29ee9fd89f7b..8e1ec4409b4f 100644
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /******************************************************************************
  *
  *  Copyright(c) 2003 - 2004 Intel Corporation. All rights reserved.
  *
- *  This program is free software; you can redistribute it and/or modify it
- *  under the terms of version 2 of the GNU General Public License as
- *  published by the Free Software Foundation.
- *
- *  This program is distributed in the hope that it will be useful, but WITHOUT
- *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- *  more details.
- *
- *  You should have received a copy of the GNU General Public License along with
- *  this program; if not, write to the Free Software Foundation, Inc., 59
- *  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
- *  The full GNU General Public License is included in this distribution in the
- *  file called LICENSE.
- *
  *  Contact Information:
  *  James P. Ketrenos <[email protected]>
  *  Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c +1 -16
index ebcc642e0215..90c7ab2189cc 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /******************************************************************************
 
   Copyright(c) 2004 Intel Corporation. All rights reserved.
@@ -8,22 +9,6 @@
   <[email protected]>
   Copyright (c) 2002-2003, Jouni Malinen <[email protected]>
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
-
   Contact Information:
   James P. Ketrenos <[email protected]>
   Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
drivers/staging/rtl8192u/r8180_93cx6.c +1 -1
index f98bb11a66af..de83daa0c9ed 100644
@@ -1,10 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  This files contains card eeprom (93c46 or 93c56) programming routines,
  *  memory is addressed by 16 bits words.
  *
  *  This is part of rtl8180 OpenSource driver.
  *  Copyright (C) Andrea Merello 2004  <[email protected]>
- *  Released under the terms of GPL (General Public Licence)
  *
  *  Parts of this driver are based on the GPL part of the
  *  official realtek driver.
drivers/staging/rtl8192u/r8190_rtl8256.c +1 -1
index a8c8e8c0660d..92de92a3325a 100644
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * This is part of the rtl8192 driver
- * released under the GPL (See file COPYING for details).
  *
  * This files contains programming code for the rtl8256
  * radio frontend.
drivers/staging/rtl8192u/r8192U_core.c +1 -15
index f1eaab337dca..4065a4710142 100644
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /******************************************************************************
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  * Linux device driver for RTL8192U
  *
  * Based on the r8187 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
  *
  * Contact Information:
  * Jerry chuang <[email protected]>
drivers/staging/rtl8192u/r8192U_hw.h +1 -1
index 5a958335681d..95a2d2ee3c65 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  *	This is part of rtl8187 OpenSource driver.
  *	Copyright (C) Andrea Merello 2004-2005  <[email protected]>
- *	Released under the terms of GPL (General Public Licence)
  *
  *	Parts of this driver are based on the GPL part of the
  *	official Realtek driver.
drivers/staging/rtl8192u/r8192U_wx.c +1 -1
index e4e6c979bedf..5822bb7984b9 100644
@@ -1,10 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /******************************************************************************
  *
  * This file contains wireless extension handlers.
  *
  * This is part of rtl8180 OpenSource driver.
  * Copyright (C) Andrea Merello 2004-2005  <[email protected]>
- * Released under the terms of GPL (General Public Licence)
  *
  * Parts of this driver are based on the GPL part
  * of the official realtek driver.
drivers/staging/rtl8192u/r8192U_wx.h +1 -1
index a6c2b95e2e69..27423cd64b4c 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * This is part of rtl8180 OpenSource driver - v 0.3
  * Copyright (C) Andrea Merello 2004  <[email protected]>
- * Released under the terms of GPL (General Public Licence)
  *
  * Parts of this driver are based on the GPL part of the official realtek driver
  * Parts of this driver are based on the rtl8180 driver skeleton from Patric
Signature · 1 line
2.21.0
author maintainer
#22 lore raw

PATCH 10/16 staging: ralink-gdma: add proper SPDX identifiers on ralink-gdma file

In reply to Greg Kroah-Hartman

The ralink-gdma.c driver did not have a SPDX identifier on it, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

Cc Lars-Peter Clausen <[email protected]>
---
 drivers/staging/ralink-gdma/ralink-gdma.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
drivers/staging/ralink-gdma/ralink-gdma.c +1 -6
index b6d484532269..a032e5f966b3 100644
@@ -1,12 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  Copyright (C) 2013, Lars-Peter Clausen <[email protected]>
  *  GDMA4740 DMAC support
- *
- *  This program is free software; you can redistribute it and/or modify it
- *  under  the terms of the GNU General	 Public License as published by the
- *  Free Software Foundation;  either version 2 of the License, or (at your
- *  option) any later version.
- *
  */
 
 #include <linux/dmaengine.h>
Signature · 1 line
2.21.0
author maintainer
#23 lore raw

PATCH 11/16 staging: rtl8192e: add proper SPDX identifiers on files that did not have them.

In reply to Greg Kroah-Hartman

There were a few files for the rtl8192e driver that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

---
 .../staging/rtl8192e/rtl8192e/r8190P_def.h    | 18 ++++-----------
 .../rtl8192e/rtl8192e/r8190P_rtl8256.c        | 17 ++++----------
 .../rtl8192e/rtl8192e/r8190P_rtl8256.h        | 17 ++++----------
 .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c | 17 ++++----------
 .../staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h | 16 ++++----------
 .../staging/rtl8192e/rtl8192e/r8192E_dev.c    | 19 ++++------------
 .../staging/rtl8192e/rtl8192e/r8192E_dev.h    | 22 ++++---------------
 .../rtl8192e/rtl8192e/r8192E_firmware.c       | 17 ++++----------
 .../rtl8192e/rtl8192e/r8192E_firmware.h       | 16 ++++----------
 drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 18 ++++-----------
 .../staging/rtl8192e/rtl8192e/r8192E_hwimg.c  | 18 ++++-----------
 .../staging/rtl8192e/rtl8192e/r8192E_hwimg.h  | 16 ++++----------
 .../staging/rtl8192e/rtl8192e/r8192E_phy.c    | 17 ++++----------
 .../staging/rtl8192e/rtl8192e/r8192E_phy.h    | 16 ++++----------
 .../staging/rtl8192e/rtl8192e/r8192E_phyreg.h | 16 ++++----------
 drivers/staging/rtl8192e/rtl8192e/rtl_cam.c   | 19 ++++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_cam.h   | 19 ++++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c  | 19 ++++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h  | 20 ++++-------------
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c    | 16 ++++----------
 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h    | 16 ++++----------
 .../staging/rtl8192e/rtl8192e/rtl_eeprom.c    | 19 ++++------------
 .../staging/rtl8192e/rtl8192e/rtl_eeprom.h    | 21 ++++--------------
 .../staging/rtl8192e/rtl8192e/rtl_ethtool.c   | 18 +++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c   | 19 ++++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_pci.h   | 19 ++++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_pm.c    | 17 ++++----------
 drivers/staging/rtl8192e/rtl8192e/rtl_pm.h    | 17 ++++----------
 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c    | 19 ++++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h    | 19 ++++------------
 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c    | 17 ++++----------
 drivers/staging/rtl8192e/rtl8192e/rtl_wx.h    | 17 ++++----------
 drivers/staging/rtl8192e/rtl819x_BA.h         | 16 ++++----------
 drivers/staging/rtl8192e/rtl819x_BAProc.c     | 16 ++++----------
 drivers/staging/rtl8192e/rtl819x_HT.h         | 16 ++++----------
 drivers/staging/rtl8192e/rtl819x_HTProc.c     | 16 ++++----------
 drivers/staging/rtl8192e/rtl819x_Qos.h        | 16 ++++----------
 drivers/staging/rtl8192e/rtl819x_TS.h         | 16 ++++----------
 drivers/staging/rtl8192e/rtl819x_TSProc.c     | 16 ++++----------
 drivers/staging/rtl8192e/rtllib.h             |  6 +----
 drivers/staging/rtl8192e/rtllib_crypt_tkip.c  |  6 +----
 drivers/staging/rtl8192e/rtllib_crypt_wep.c   |  6 +----
 drivers/staging/rtl8192e/rtllib_debug.h       | 22 ++++---------------
 drivers/staging/rtl8192e/rtllib_module.c      | 19 +++-------------
 drivers/staging/rtl8192e/rtllib_rx.c          | 20 +++++------------
 drivers/staging/rtl8192e/rtllib_softmac.c     |  5 +----
 drivers/staging/rtl8192e/rtllib_softmac_wx.c  |  5 +----
 drivers/staging/rtl8192e/rtllib_tx.c          | 22 +++----------------
 drivers/staging/rtl8192e/rtllib_wx.c          | 19 +++-------------
 49 files changed, 179 insertions(+), 634 deletions(-)
drivers/staging/rtl8192e/rtl8192e/r8190P_def.h +4 -14
index 03421033d14a..53fd79a28189 100644
@@ -1,19 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef R8190P_DEF_H
 #define R8190P_DEF_H
 
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c +4 -13
index 85f93056d28b..7876b389913a 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_core.h"
 #include "r8192E_phyreg.h"
 #include "r8192E_phy.h"
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h +4 -13
index bbea13b452b2..4cb483f1a152 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef RTL8225H
 #define RTL8225H
 
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c +4 -13
index 467287ae6c1c..fece982475e8 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_core.h"
 #include "r8192E_hw.h"
 #include "r8192E_cmdpkt.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h +4 -12
index a8c63ad2ac2e..c63909199e93 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef R819XUSB_CMDPKT_H
 #define R819XUSB_CMDPKT_H
 
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +4 -15
index f70d65e3d64b..0353f7ee5341 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_core.h"
 #include "r8192E_phy.h"
 #include "r8192E_phyreg.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h +4 -18
index f4233bb12f81..1713381dc2b4 100644
@@ -1,23 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * Based on the r8180 driver, which is:
- * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _RTL8192E_H
 #define _RTL8192E_H
 
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +4 -13
index 3c7831250987..9b025b9fa7ab 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_core.h"
 #include "r8192E_hw.h"
 #include "r8192E_hwimg.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h +4 -12
index 61c8dac826a8..b9059abc901b 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef __INC_FIRMWARE_H
 #define __INC_FIRMWARE_H
 
drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h +4 -14
index 5c20cb476281..3e223151d4b7 100644
@@ -1,19 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef R8180_HW
 #define R8180_HW
 
drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.c +4 -14
index d437a8efe933..e6fce749e65b 100644
@@ -1,19 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-/*Created on  2008/11/18,  3: 7*/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "r8192E_hwimg.h"
 
 u32 Rtl8192PciEPHY_REGArray[PHY_REGArrayLengthPciE] = {0x0,};
drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h +4 -12
index 4e2bbab6a413..7d63f5a5c1b7 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef __INC_HAL8192PciE_FW_IMG_H
 #define __INC_HAL8192PciE_FW_IMG_H
 
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +4 -13
index 5603570f6dda..5d2f86afb24b 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include <linux/bitops.h>
 #include "rtl_core.h"
 #include "r8192E_hw.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h +4 -12
index b534d72bf708..7c9148e033d8 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _R819XU_PHY_H
 #define _R819XU_PHY_H
 
drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h +4 -12
index 03d6d70b2d28..433272a2aae8 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _R819XU_PHYREG_H
 #define _R819XU_PHYREG_H
 
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c +4 -15
index c62481fcf0b1..627ea1029509 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_core.h"
 #include "r8192E_phy.h"
 #include "r8192E_phyreg.h"
drivers/staging/rtl8192e/rtl8192e/rtl_cam.h +4 -15
index 12f01f196752..1ebd92e27441 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _RTL_CAM_H
 #define _RTL_CAM_H
 
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +4 -15
index 253f1911a3f4..f932cb15e4e5 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include <linux/uaccess.h>
 #include <linux/pci.h>
 #include <linux/vmalloc.h>
drivers/staging/rtl8192e/rtl8192e/rtl_core.h +4 -16
index 866fe4d4cb28..736f1a824cd2 100644
@@ -1,24 +1,12 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _RTL_CORE_H
 #define _RTL_CORE_H
 
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +4 -12
index 157bcee34067..55d857926bba 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_core.h"
 #include "rtl_dm.h"
 #include "r8192E_hw.h"
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h +4 -12
index 52a4a1522bae..ea1b14bbcdcd 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef	__R8192UDM_H__
 #define __R8192UDM_H__
 
drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c +4 -15
index e1d305d4fa20..59532ed2156d 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_core.h"
 #include "rtl_eeprom.h"
 
drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.h +4 -17
index 6212e5eadede..66f1979bb1d5 100644
@@ -1,25 +1,12 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #define EPROM_DELAY 10
 
 u32 rtl92e_eeprom_read(struct net_device *dev, u32 addr);
drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c +3 -15
index f172f776245d..6ae7a67e767f 100644
@@ -1,23 +1,11 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************
+ * Contact Information: wlanfae <[email protected]>
  */
 #include <linux/netdevice.h>
 #include <linux/ethtool.h>
drivers/staging/rtl8192e/rtl8192e/rtl_pci.c +4 -15
index 2ff52e7dd32f..bab41ab7c0a5 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_pci.h"
 #include "rtl_core.h"
 
drivers/staging/rtl8192e/rtl8192e/rtl_pci.h +4 -15
index 73d357d530d0..866e0efbc4fd 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- ******************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _RTL_PCI_H
 #define _RTL_PCI_H
 
drivers/staging/rtl8192e/rtl8192e/rtl_pm.c +4 -13
index 81a68b0b4a7f..cd3e17b41d6f 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_core.h"
 #include "r8192E_hw.h"
 #include "r8190P_rtl8256.h"
drivers/staging/rtl8192e/rtl8192e/rtl_pm.h +4 -13
index 03fe79ff5a1b..e58f2bcdb1dd 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef R8192E_PM_H
 #define R8192E_PM_H
 
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +4 -15
index 9281116366d2..9475f8c6edf7 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtl_ps.h"
 #include "rtl_core.h"
 #include "r8192E_phy.h"
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +4 -15
index a46f4cffca23..70fe5d39be9a 100644
@@ -1,23 +1,12 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
  * Based on the r8180 driver, which is:
  * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- ******************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _RTL_PS_H
 #define _RTL_PS_H
 
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +4 -13
index 44e06cba7b7b..16bcee13f64b 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include <linux/string.h>
 #include "rtl_core.h"
 #include "rtl_wx.h"
drivers/staging/rtl8192e/rtl8192e/rtl_wx.h +4 -13
index c313fb79de4d..d70a747ac1dd 100644
@@ -1,18 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
-
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef R819x_WX_H
 #define R819x_WX_H
 
drivers/staging/rtl8192e/rtl819x_BA.h +4 -12
index 978c9a54043e..8b6e4c26f0fb 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _BATYPE_H_
 #define _BATYPE_H_
 
drivers/staging/rtl8192e/rtl819x_BAProc.c +4 -12
index 2d330d2bbf6d..816d31c1d5c7 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- ******************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include <asm/byteorder.h>
 #include <asm/unaligned.h>
 #include <linux/etherdevice.h>
drivers/staging/rtl8192e/rtl819x_HT.h +4 -12
index 24e86620c94c..11269fe6b395 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _RTL819XU_HTTYPE_H_
 #define _RTL819XU_HTTYPE_H_
 
drivers/staging/rtl8192e/rtl819x_HTProc.c +4 -12
index f0e11726a72a..f02263af9624 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- ******************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtllib.h"
 #include "rtl819x_HT.h"
 u8 MCS_FILTER_ALL[16] = {
drivers/staging/rtl8192e/rtl819x_Qos.h +4 -12
index 576241233a35..5073f9f40fdc 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef __INC_QOS_TYPE_H
 #define __INC_QOS_TYPE_H
 
drivers/staging/rtl8192e/rtl819x_TS.h +4 -12
index 654c223030e3..9dc93d41939d 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _TSTYPE_H_
 #define _TSTYPE_H_
 #include "rtl819x_Qos.h"
drivers/staging/rtl8192e/rtl819x_TSProc.c +4 -12
index f839d2447b85..672bf0987943 100644
@@ -1,17 +1,9 @@
-/******************************************************************************
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- ******************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #include "rtllib.h"
 #include <linux/etherdevice.h>
 #include "rtl819x_TS.h"
drivers/staging/rtl8192e/rtllib.h +1 -5
index 61ebd12831c3..2dd57e88276e 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Merged with mainline rtllib.h in Aug 2004.  Original ieee802_11
  * remains copyright by the original authors
@@ -15,11 +16,6 @@
  *
  * Modified for Realtek's wi-fi cards by Andrea Merello
  * <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 #ifndef RTLLIB_H
 #define RTLLIB_H
drivers/staging/rtl8192e/rtllib_crypt_tkip.c +1 -5
index 55da8c9dfe50..25fa1eb677a6 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Host AP crypt: host-based TKIP encryption implementation for Host AP driver
  *
  * Copyright (c) 2003-2004, Jouni Malinen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <crypto/hash.h>
drivers/staging/rtl8192e/rtllib_crypt_wep.c +1 -5
index d11ec39171d5..b1ea650036d2 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Host AP crypt: host-based WEP encryption implementation for Host AP driver
  *
  * Copyright (c) 2002-2004, Jouni Malinen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <crypto/skcipher.h>
drivers/staging/rtl8192e/rtllib_debug.h +4 -18
index 7b0e6e9c4456..9065901636f5 100644
@@ -1,23 +1,9 @@
-/******************************************************************************
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
  *
- * Based on the r8180 driver, which is:
- * Copyright 2004-2005 Andrea Merello <[email protected]>, et al.
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- *****************************************************************************/
+ * Contact Information: wlanfae <[email protected]>
+ */
 #ifndef _RTL_DEBUG_H
 #define _RTL_DEBUG_H
 
drivers/staging/rtl8192e/rtllib_module.c +3 -16
index cdf4c9060c51..265ad437ae2e 100644
@@ -1,5 +1,5 @@
-/*******************************************************************************
- *
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2004 Intel Corporation. All rights reserved.
  *
  * Portions of this file are based on the WEP enablement code provided by the
@@ -8,23 +8,10 @@
  * <[email protected]>
  * Copyright (c) 2002-2003, Jouni Malinen <[email protected]>
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
  * Contact Information:
  * James P. Ketrenos <[email protected]>
  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
- *
- ******************************************************************************/
+ */
 
 #include <linux/compiler.h>
 #include <linux/errno.h>
drivers/staging/rtl8192e/rtllib_rx.c +6 -14
index debc2e40af00..0c19ac2bc3bf 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Original code based Host AP (software wireless LAN access point) driver
  * for Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -7,20 +8,11 @@
  * Copyright (c) 2002-2003, Jouni Malinen <[email protected]>
  * Copyright (c) 2004, Intel Corporation
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
- ******************************************************************************
-
-  Few modifications for Realtek's Wi-Fi drivers by
-  Andrea Merello <[email protected]>
-
-  A special thanks goes to Realtek for their support !
-
-******************************************************************************/
-
-
+ * Few modifications for Realtek's Wi-Fi drivers by
+ * Andrea Merello <[email protected]>
+ *
+ * A special thanks goes to Realtek for their support !
+ */
 #include <linux/compiler.h>
 #include <linux/errno.h>
 #include <linux/if_arp.h>
drivers/staging/rtl8192e/rtllib_softmac.c +1 -4
index ee275857868f..e29e8d6f4611 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /* IEEE 802.11 SoftMAC layer
  * Copyright (c) 2005 Andrea Merello <[email protected]>
  *
@@ -9,11 +10,7 @@
  *
  * WPA code stolen from the ipw2200 driver.
  * Copyright who own it's copyright.
- *
- * released under the GPL
  */
-
-
 #include "rtllib.h"
 
 #include <linux/random.h>
drivers/staging/rtl8192e/rtllib_softmac_wx.c +1 -4
index 5f1412fc410d..f89799d43b1b 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /* IEEE 802.11 SoftMAC layer
  * Copyright (c) 2005 Andrea Merello <[email protected]>
  *
@@ -9,11 +10,7 @@
  *
  * PS wx handler mostly stolen from hostap, copyright who
  * own it's copyright ;-)
- *
- * released under the GPL
  */
-
-
 #include <linux/etherdevice.h>
 
 #include "rtllib.h"
drivers/staging/rtl8192e/rtllib_tx.c +3 -19
index d314b2f602e4..8cddb2e12dc4 100644
@@ -1,32 +1,16 @@
-/******************************************************************************
- *
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2003 - 2004 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
  * Contact Information:
  * James P. Ketrenos <[email protected]>
  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
  *
- *****************************************************************************
- *
  * Few modifications for Realtek's Wi-Fi drivers by
  * Andrea Merello <[email protected]>
  *
  * A special thanks goes to Realtek for their support !
- *
- *****************************************************************************/
-
+ */
 #include <linux/compiler.h>
 #include <linux/errno.h>
 #include <linux/if_arp.h>
drivers/staging/rtl8192e/rtllib_wx.c +3 -16
index 4f4904a300e0..beb40967936a 100644
@@ -1,5 +1,5 @@
-/******************************************************************************
- *
+// SPDX-License-Identifier: GPL-2.0
+/*
  * Copyright(c) 2004 Intel Corporation. All rights reserved.
  *
  * Portions of this file are based on the WEP enablement code provided by the
@@ -8,23 +8,10 @@
  * <[email protected]>
  * Copyright (c) 2002-2003, Jouni Malinen <[email protected]>
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
  * Contact Information:
  * James P. Ketrenos <[email protected]>
  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
- *
- *****************************************************************************/
+ */
 #include <linux/wireless.h>
 #include <linux/kmod.h>
 #include <linux/module.h>
Signature · 1 line
2.21.0
author maintainer
#24 lore raw

PATCH 12/16 staging: rtl8192e: delete license file.

In reply to Greg Kroah-Hartman

There is no need for yet-another-copy of the gpl to be in the kernel source tree, especially for just a single driver. This got added as part of the import of the driver from when it was a stand-along chunk of code.

---
 drivers/staging/rtl8192e/license | 339 -------------------------------
 1 file changed, 339 deletions(-)
 delete mode 100644 drivers/staging/rtl8192e/license
drivers/staging/rtl8192e/license deleted +0 -339
deleted file mode 100644
index 4bea9fa60daa..000000000000
@@ -1,339 +0,0 @@
-
-"This software program is licensed subject to the GNU General Public License
-(GPL). Version 2, June 1991, available at
-<http:
-
-GNU General Public License
-
-Version 2, June 1991
-
-Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
-
-Everyone is permitted to copy and distribute verbatim copies of this license
-document, but changing it is not allowed.
-
-Preamble
-
-The licenses for most software are designed to take away your freedom to
-share and change it. By contrast, the GNU General Public License is intended
-to guarantee your freedom to share and change free software--to make sure
-the software is free for all its users. This General Public License applies
-to most of the Free Software Foundation's software and to any other program
-whose authors commit to using it. (Some other Free Software Foundation
-software is covered by the GNU Library General Public License instead.) You
-can apply it to your programs, too.
-
-When we speak of free software, we are referring to freedom, not price. Our
-General Public Licenses are designed to make sure that you have the freedom
-to distribute copies of free software (and charge for this service if you
-wish), that you receive source code or can get it if you want it, that you
-can change the software or use pieces of it in new free programs; and that
-you know you can do these things.
-
-To protect your rights, we need to make restrictions that forbid anyone to
-deny you these rights or to ask you to surrender the rights. These
-restrictions translate to certain responsibilities for you if you distribute
-copies of the software, or if you modify it.
-
-For example, if you distribute copies of such a program, whether gratis or
-for a fee, you must give the recipients all the rights that you have. You
-must make sure that they, too, receive or can get the source code. And you
-must show them these terms so they know their rights.
-
-We protect your rights with two steps: (1) copyright the software, and (2)
-offer you this license which gives you legal permission to copy, distribute
-and/or modify the software.
-
-Also, for each author's protection and ours, we want to make certain that
-everyone understands that there is no warranty for this free software. If
-the software is modified by someone else and passed on, we want its
-recipients to know that what they have is not the original, so that any
-problems introduced by others will not reflect on the original authors'
-reputations.
-
-Finally, any free program is threatened constantly by software patents. We
-wish to avoid the danger that redistributors of a free program will
-individually obtain patent licenses, in effect making the program
-proprietary. To prevent this, we have made it clear that any patent must be
-licensed for everyone's free use or not licensed at all.
-
-The precise terms and conditions for copying, distribution and modification
-follow.
-
-TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-0. This License applies to any program or other work which contains a notice
-   placed by the copyright holder saying it may be distributed under the
-   terms of this General Public License. The "Program", below, refers to any
-   such program or work, and a "work based on the Program" means either the
-   Program or any derivative work under copyright law: that is to say, a
-   work containing the Program or a portion of it, either verbatim or with
-   modifications and/or translated into another language. (Hereinafter,
-   translation is included without limitation in the term "modification".)
-   Each licensee is addressed as "you".
-
-   Activities other than copying, distribution and modification are not
-   covered by this License; they are outside its scope. The act of running
-   the Program is not restricted, and the output from the Program is covered
-   only if its contents constitute a work based on the Program (independent
-   of having been made by running the Program). Whether that is true depends
-   on what the Program does.
-
-1. You may copy and distribute verbatim copies of the Program's source code
-   as you receive it, in any medium, provided that you conspicuously and
-   appropriately publish on each copy an appropriate copyright notice and
-   disclaimer of warranty; keep intact all the notices that refer to this
-   License and to the absence of any warranty; and give any other recipients
-   of the Program a copy of this License along with the Program.
-
-   You may charge a fee for the physical act of transferring a copy, and you
-   may at your option offer warranty protection in exchange for a fee.
-
-2. You may modify your copy or copies of the Program or any portion of it,
-   thus forming a work based on the Program, and copy and distribute such
-   modifications or work under the terms of Section 1 above, provided that
-   you also meet all of these conditions:
-
-   * a) You must cause the modified files to carry prominent notices stating
-        that you changed the files and the date of any change.
-
-   * b) You must cause any work that you distribute or publish, that in
-        whole or in part contains or is derived from the Program or any part
-        thereof, to be licensed as a whole at no charge to all third parties
-        under the terms of this License.
-
-   * c) If the modified program normally reads commands interactively when
-        run, you must cause it, when started running for such interactive
-        use in the most ordinary way, to print or display an announcement
-        including an appropriate copyright notice and a notice that there is
-        no warranty (or else, saying that you provide a warranty) and that
-        users may redistribute the program under these conditions, and
-        telling the user how to view a copy of this License. (Exception: if
-        the Program itself is interactive but does not normally print such
-        an announcement, your work based on the Program is not required to
-        print an announcement.)
-
-   These requirements apply to the modified work as a whole. If identifiable
-   sections of that work are not derived from the Program, and can be
-   reasonably considered independent and separate works in themselves, then
-   this License, and its terms, do not apply to those sections when you
-   distribute them as separate works. But when you distribute the same
-   sections as part of a whole which is a work based on the Program, the
-   distribution of the whole must be on the terms of this License, whose
-   permissions for other licensees extend to the entire whole, and thus to
-   each and every part regardless of who wrote it.
-
-   Thus, it is not the intent of this section to claim rights or contest
-   your rights to work written entirely by you; rather, the intent is to
-   exercise the right to control the distribution of derivative or
-   collective works based on the Program.
-
-   In addition, mere aggregation of another work not based on the Program
-   with the Program (or with a work based on the Program) on a volume of a
-   storage or distribution medium does not bring the other work under the
-   scope of this License.
-
-3. You may copy and distribute the Program (or a work based on it, under
-   Section 2) in object code or executable form under the terms of Sections
-   1 and 2 above provided that you also do one of the following:
-
-   * a) Accompany it with the complete corresponding machine-readable source
-        code, which must be distributed under the terms of Sections 1 and 2
-        above on a medium customarily used for software interchange; or,
-
-   * b) Accompany it with a written offer, valid for at least three years,
-        to give any third party, for a charge no more than your cost of
-        physically performing source distribution, a complete machine-
-        readable copy of the corresponding source code, to be distributed
-        under the terms of Sections 1 and 2 above on a medium customarily
-        used for software interchange; or,
-
-   * c) Accompany it with the information you received as to the offer to
-        distribute corresponding source code. (This alternative is allowed
-        only for noncommercial distribution and only if you received the
-        program in object code or executable form with such an offer, in
-        accord with Subsection b above.)
-
-   The source code for a work means the preferred form of the work for
-   making modifications to it. For an executable work, complete source code
-   means all the source code for all modules it contains, plus any
-   associated interface definition files, plus the scripts used to control
-   compilation and installation of the executable. However, as a special
-   exception, the source code distributed need not include anything that is
-   normally distributed (in either source or binary form) with the major
-   components (compiler, kernel, and so on) of the operating system on which
-   the executable runs, unless that component itself accompanies the
-   executable.
-
-   If distribution of executable or object code is made by offering access
-   to copy from a designated place, then offering equivalent access to copy
-   the source code from the same place counts as distribution of the source
-   code, even though third parties are not compelled to copy the source
-   along with the object code.
-
-4. You may not copy, modify, sublicense, or distribute the Program except as
-   expressly provided under this License. Any attempt otherwise to copy,
-   modify, sublicense or distribute the Program is void, and will
-   automatically terminate your rights under this License. However, parties
-   who have received copies, or rights, from you under this License will not
-   have their licenses terminated so long as such parties remain in full
-   compliance.
-
-5. You are not required to accept this License, since you have not signed
-   it. However, nothing else grants you permission to modify or distribute
-   the Program or its derivative works. These actions are prohibited by law
-   if you do not accept this License. Therefore, by modifying or
-   distributing the Program (or any work based on the Program), you
-   indicate your acceptance of this License to do so, and all its terms and
-   conditions for copying, distributing or modifying the Program or works
-   based on it.
-
-6. Each time you redistribute the Program (or any work based on the
-   Program), the recipient automatically receives a license from the
-   original licensor to copy, distribute or modify the Program subject to
-   these terms and conditions. You may not impose any further restrictions
-   on the recipients' exercise of the rights granted herein. You are not
-   responsible for enforcing compliance by third parties to this License.
-
-7. If, as a consequence of a court judgment or allegation of patent
-   infringement or for any other reason (not limited to patent issues),
-   conditions are imposed on you (whether by court order, agreement or
-   otherwise) that contradict the conditions of this License, they do not
-   excuse you from the conditions of this License. If you cannot distribute
-   so as to satisfy simultaneously your obligations under this License and
-   any other pertinent obligations, then as a consequence you may not
-   distribute the Program at all. For example, if a patent license would
-   not permit royalty-free redistribution of the Program by all those who
-   receive copies directly or indirectly through you, then the only way you
-   could satisfy both it and this License would be to refrain entirely from
-   distribution of the Program.
-
-   If any portion of this section is held invalid or unenforceable under any
-   particular circumstance, the balance of the section is intended to apply
-   and the section as a whole is intended to apply in other circumstances.
-
-   It is not the purpose of this section to induce you to infringe any
-   patents or other property right claims or to contest validity of any
-   such claims; this section has the sole purpose of protecting the
-   integrity of the free software distribution system, which is implemented
-   by public license practices. Many people have made generous contributions
-   to the wide range of software distributed through that system in
-   reliance on consistent application of that system; it is up to the
-   author/donor to decide if he or she is willing to distribute software
-   through any other system and a licensee cannot impose that choice.
-
-   This section is intended to make thoroughly clear what is believed to be
-   a consequence of the rest of this License.
-
-8. If the distribution and/or use of the Program is restricted in certain
-   countries either by patents or by copyrighted interfaces, the original
-   copyright holder who places the Program under this License may add an
-   explicit geographical distribution limitation excluding those countries,
-   so that distribution is permitted only in or among countries not thus
-   excluded. In such case, this License incorporates the limitation as if
-   written in the body of this License.
-
-9. The Free Software Foundation may publish revised and/or new versions of
-   the General Public License from time to time. Such new versions will be
-   similar in spirit to the present version, but may differ in detail to
-   address new problems or concerns.
-
-   Each version is given a distinguishing version number. If the Program
-   specifies a version number of this License which applies to it and "any
-   later version", you have the option of following the terms and
-   conditions either of that version or of any later version published by
-   the Free Software Foundation. If the Program does not specify a version
-   number of this License, you may choose any version ever published by the
-   Free Software Foundation.
-
-10. If you wish to incorporate parts of the Program into other free programs
-    whose distribution conditions are different, write to the author to ask
-    for permission. For software which is copyrighted by the Free Software
-    Foundation, write to the Free Software Foundation; we sometimes make
-    exceptions for this. Our decision will be guided by the two goals of
-    preserving the free status of all derivatives of our free software and
-    of promoting the sharing and reuse of software generally.
-
-   NO WARRANTY
-
-11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-    FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-    OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-    PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
-    EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
-    ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
-    YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
-    NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-    WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-    REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
-    DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
-    DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
-    (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
-    INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
-    THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
-    OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-END OF TERMS AND CONDITIONS
-
-How to Apply These Terms to Your New Programs
-
-If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it free
-software which everyone can redistribute and change under these terms.
-
-To do so, attach the following notices to the program. It is safest to
-attach them to the start of each source file to most effectively convey the
-exclusion of warranty; and each file should have at least the "copyright"
-line and a pointer to where the full notice is found.
-
-one line to give the program's name and an idea of what it does.
-Copyright (C) yyyy  name of author
-
-This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2 of the License, or (at your option)
-any later version.
-
-This program is distributed in the hope that it will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-more details.
-
-You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 59
-Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this when
-it starts in an interactive mode:
-
-Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
-with ABSOLUTELY NO WARRANTY; for details type 'show w'.  This is free
-software, and you are welcome to redistribute it under certain conditions;
-type 'show c' for details.
-
-The hypothetical commands 'show w' and 'show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may be
-called something other than 'show w' and 'show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
-Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-'Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-signature of Ty Coon, 1 April 1989
-Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General Public
-License instead of this License.
Signature · 1 line
2.21.0
author maintainer
#25 lore raw

PATCH 13/16 staging: media: zoran: add proper SPDX identifiers on files that did not have them.

In reply to Greg Kroah-Hartman

There were a few files for the zoran driver that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

---
 drivers/staging/media/zoran/videocodec.h   | 17 +----------------
 drivers/staging/media/zoran/zoran.h        | 12 +-----------
 drivers/staging/media/zoran/zoran_card.c   | 12 +-----------
 drivers/staging/media/zoran/zoran_card.h   | 12 +-----------
 drivers/staging/media/zoran/zoran_device.c | 12 +-----------
 drivers/staging/media/zoran/zoran_device.h | 12 +-----------
 drivers/staging/media/zoran/zoran_driver.c | 13 +------------
 drivers/staging/media/zoran/zoran_procfs.c | 12 +-----------
 drivers/staging/media/zoran/zoran_procfs.h | 12 +-----------
 drivers/staging/media/zoran/zr36016.c      | 18 +-----------------
 drivers/staging/media/zoran/zr36016.h      | 18 +-----------------
 drivers/staging/media/zoran/zr36050.c      | 18 +-----------------
 drivers/staging/media/zoran/zr36050.h      | 18 +-----------------
 drivers/staging/media/zoran/zr36057.h      | 12 +-----------
 drivers/staging/media/zoran/zr36060.c      | 18 +-----------------
 drivers/staging/media/zoran/zr36060.h      | 18 +-----------------
 16 files changed, 16 insertions(+), 218 deletions(-)
drivers/staging/media/zoran/videocodec.h +1 -16
index 8ed5a0f7ac01..4946791fce0d 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * VIDEO MOTION CODECs internal API for video devices
  *
@@ -5,22 +6,6 @@
  * bound to a master device.
  *
  * (c) 2002 Wolfgang Scherr <[email protected]>
- *
- * $Id: videocodec.h,v 1.1.2.4 2003/01/14 21:15:03 rbultje Exp $
- *
- * ------------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * ------------------------------------------------------------------------
  */
 
 /* =================== */
drivers/staging/media/zoran/zoran.h +1 -11
index e84fb604a689..1b2e1fb3555f 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * zoran - Iomega Buz driver
  *
@@ -12,18 +13,7 @@
  * bttv - Bt848 frame grabber driver
  * Copyright (C) 1996,97,98 Ralph  Metzler ([email protected])
  *                        & Marcus Metzler ([email protected])
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #ifndef _BUZ_H_
 #define _BUZ_H_
 
drivers/staging/media/zoran/zoran_card.c +1 -11
index ea10523194e8..dad5d1412033 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Zoran zr36057/zr36067 PCI controller driver, for the
  * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@
  *   Ronald Bultje    <[email protected]>
  *   Laurent Pinchart <[email protected]>
  *   Mailinglist      <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #include <linux/delay.h>
 
 #include <linux/types.h>
drivers/staging/media/zoran/zoran_card.h +1 -11
index 0cdb7d34926d..600b9a3f320c 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Zoran zr36057/zr36067 PCI controller driver, for the
  * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@
  *   Ronald Bultje    <[email protected]>
  *   Laurent Pinchart <[email protected]>
  *   Mailinglist      <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #ifndef __ZORAN_CARD_H__
 #define __ZORAN_CARD_H__
 
drivers/staging/media/zoran/zoran_device.c +1 -11
index b60c4823ce5e..2191fe69b0f9 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Zoran zr36057/zr36067 PCI controller driver, for the
  * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@
  *   Ronald Bultje    <[email protected]>
  *   Laurent Pinchart <[email protected]>
  *   Mailinglist      <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
drivers/staging/media/zoran/zoran_device.h +1 -11
index 20bf75dfbb76..b3b8a03f2004 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Zoran zr36057/zr36067 PCI controller driver, for the
  * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@
  *   Ronald Bultje    <[email protected]>
  *   Laurent Pinchart <[email protected]>
  *   Mailinglist      <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #ifndef __ZORAN_DEVICE_H__
 #define __ZORAN_DEVICE_H__
 
drivers/staging/media/zoran/zoran_driver.c +1 -12
index 4c281d9a0e60..438d2d1cd1fc 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Zoran zr36057/zr36067 PCI controller driver, for the
  * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -27,19 +28,7 @@
  * bttv - Bt848 frame grabber driver
  * Copyright (C) 1996,97,98 Ralph  Metzler ([email protected])
  *                        & Marcus Metzler ([email protected])
- *
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/delay.h>
drivers/staging/media/zoran/zoran_procfs.c +1 -11
index 78ac8f853748..941f73fe323b 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Zoran zr36057/zr36067 PCI controller driver, for the
  * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@
  *   Ronald Bultje    <[email protected]>
  *   Laurent Pinchart <[email protected]>
  *   Mailinglist      <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
drivers/staging/media/zoran/zoran_procfs.h +1 -11
index 0ac7cb0011f2..db9f642c851a 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Zoran zr36057/zr36067 PCI controller driver, for the
  * Pinnacle/Miro DC10/DC10+/DC30/DC30+, Iomega Buz, Linux
@@ -11,18 +12,7 @@
  *   Ronald Bultje    <[email protected]>
  *   Laurent Pinchart <[email protected]>
  *   Mailinglist      <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #ifndef __ZORAN_PROCFS_H__
 #define __ZORAN_PROCFS_H__
 
drivers/staging/media/zoran/zr36016.c +1 -17
index 8736b9d8d97e..b300a0abe95f 100644
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Zoran ZR36016 basic configuration functions
  *
  * Copyright (C) 2001 Wolfgang Scherr <[email protected]>
- *
- * $Id: zr36016.c,v 1.1.2.14 2003/08/20 19:46:55 rbultje Exp $
- *
- * ------------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * ------------------------------------------------------------------------
  */
-
 #define ZR016_VERSION "v0.7"
 
 #include <linux/module.h>
drivers/staging/media/zoran/zr36016.h +1 -17
index 784bcf5727b8..6e66581c27b2 100644
@@ -1,25 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Zoran ZR36016 basic configuration functions - header file
  *
  * Copyright (C) 2001 Wolfgang Scherr <[email protected]>
- *
- * $Id: zr36016.h,v 1.1.2.3 2003/01/14 21:18:07 rbultje Exp $
- *
- * ------------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * ------------------------------------------------------------------------
  */
-
 #ifndef ZR36016_H
 #define ZR36016_H
 
drivers/staging/media/zoran/zr36050.c +1 -17
index 5ebfc16672f3..cd58307af378 100644
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Zoran ZR36050 basic configuration functions
  *
  * Copyright (C) 2001 Wolfgang Scherr <[email protected]>
- *
- * $Id: zr36050.c,v 1.1.2.11 2003/08/03 14:54:53 rbultje Exp $
- *
- * ------------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * ------------------------------------------------------------------------
  */
-
 #define ZR050_VERSION "v0.7.1"
 
 #include <linux/module.h>
drivers/staging/media/zoran/zr36050.h +1 -17
index 9236486d3c2b..c485913dc820 100644
@@ -1,25 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Zoran ZR36050 basic configuration functions - header file
  *
  * Copyright (C) 2001 Wolfgang Scherr <[email protected]>
- *
- * $Id: zr36050.h,v 1.1.2.2 2003/01/14 21:18:22 rbultje Exp $
- *
- * ------------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * ------------------------------------------------------------------------
  */
-
 #ifndef ZR36050_H
 #define ZR36050_H
 
drivers/staging/media/zoran/zr36057.h +1 -11
index c8acb21dcb5c..c5138cef4ef5 100644
@@ -1,19 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * zr36057.h - zr36057 register offsets
  *
  * Copyright (C) 1998 Dave Perks <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
-
 #ifndef _ZR36057_H_
 #define _ZR36057_H_
 
drivers/staging/media/zoran/zr36060.c +1 -17
index 7ee53ba4f7fc..a3c817fd5c07 100644
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Zoran ZR36060 basic configuration functions
  *
  * Copyright (C) 2002 Laurent Pinchart <[email protected]>
- *
- * $Id: zr36060.c,v 1.1.2.22 2003/05/06 09:35:36 rbultje Exp $
- *
- * ------------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * ------------------------------------------------------------------------
  */
-
 #define ZR060_VERSION "v0.7"
 
 #include <linux/module.h>
drivers/staging/media/zoran/zr36060.h +1 -17
index 82911757ba78..9fa553dc475f 100644
@@ -1,25 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Zoran ZR36060 basic configuration functions - header file
  *
  * Copyright (C) 2002 Laurent Pinchart <[email protected]>
- *
- * $Id: zr36060.h,v 1.1.1.1.2.3 2003/01/14 21:18:47 rbultje Exp $
- *
- * ------------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * ------------------------------------------------------------------------
  */
-
 #ifndef ZR36060_H
 #define ZR36060_H
 
Signature · 1 line
2.21.0
author maintainer
#26 lore raw

PATCH 14/16 staging: media: soc_camera: add proper SPDX identifiers on files that did not have them.

In reply to Greg Kroah-Hartman

There were a few files for the soc_camera drivers that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

Cc Mauro Carvalho Chehab <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc NXP Linux Team <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Hans Verkuil <[email protected]>
---
 drivers/staging/media/soc_camera/imx074.c       | 6 +-----
 drivers/staging/media/soc_camera/mt9t031.c      | 6 +-----
 drivers/staging/media/soc_camera/soc_camera.c   | 6 +-----
 drivers/staging/media/soc_camera/soc_mediabus.c | 6 +-----
 drivers/staging/media/soc_camera/soc_mt9v022.c  | 6 +-----
 drivers/staging/media/soc_camera/soc_ov5642.c   | 6 +-----
 drivers/staging/media/soc_camera/soc_ov9740.c   | 6 +-----
 7 files changed, 7 insertions(+), 35 deletions(-)
drivers/staging/media/soc_camera/imx074.c +1 -5
index 1676c166dc83..d907aa62f898 100644
@@ -1,15 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for IMX074 CMOS Image Sensor from Sony
  *
  * Copyright (C) 2010, Guennadi Liakhovetski <[email protected]>
  *
  * Partially inspired by the IMX074 driver from the Android / MSM tree
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
-
 #include <linux/delay.h>
 #include <linux/i2c.h>
 #include <linux/v4l2-mediabus.h>
drivers/staging/media/soc_camera/mt9t031.c +1 -5
index 4ff179302b4f..615ae9df2c57 100644
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for MT9T031 CMOS Image Sensor from Micron
  *
  * Copyright (C) 2008, Guennadi Liakhovetski, DENX Software Engineering <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
-
 #include <linux/device.h>
 #include <linux/i2c.h>
 #include <linux/log2.h>
drivers/staging/media/soc_camera/soc_camera.c +1 -5
index 1ab86a7499b9..a6232dcd59bc 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * camera image capture (abstract) bus driver
  *
@@ -10,12 +11,7 @@
  * SoCs. Later it should also be used for i.MX31 SoCs from Freescale.
  * It can handle multiple cameras and / or multiple buses, which can
  * be used, e.g., in stereo-vision applications.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
-
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/i2c.h>
drivers/staging/media/soc_camera/soc_mediabus.c +1 -5
index be74008ec0ca..2aa646c89c1f 100644
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * soc-camera media bus helper routines
  *
  * Copyright (C) 2009, Guennadi Liakhovetski <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
-
 #include <linux/kernel.h>
 #include <linux/module.h>
 
drivers/staging/media/soc_camera/soc_mt9v022.c +1 -5
index 6d922b17ea94..e7e0d3d29499 100644
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for MT9V022 CMOS Image Sensor from Micron
  *
  * Copyright (C) 2008, Guennadi Liakhovetski <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
-
 #include <linux/videodev2.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
drivers/staging/media/soc_camera/soc_ov5642.c +1 -5
index 0931898c79dd..94696d7baf83 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Driver for OV5642 CMOS Image Sensor from Omnivision
  *
@@ -8,12 +9,7 @@
  *
  * Based on Omnivision OV7670 Camera Driver
  * Copyright (C) 2006-7 Jonathan Corbet <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
-
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/i2c.h>
drivers/staging/media/soc_camera/soc_ov9740.c +1 -5
index a07d3145d1b4..7c765595d85f 100644
@@ -1,15 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * OmniVision OV9740 Camera Driver
  *
  * Copyright (C) 2011 NVIDIA Corporation
  *
  * Based on ov9640 camera driver.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
-
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/i2c.h>
Signature · 1 line
2.21.0
author maintainer
#27 lore raw

PATCH 15/16 staging: media: imx: add proper SPDX identifiers on files that did not have them.

In reply to Greg Kroah-Hartman

There were a few files for the imx media drivers that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

Cc Steve Longerbeam <[email protected]>
Cc Philipp Zabel <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc NXP Linux Team <[email protected]>
---
 drivers/staging/media/imx/imx-ic-common.c         | 6 +-----
 drivers/staging/media/imx/imx-ic-prp.c            | 6 +-----
 drivers/staging/media/imx/imx-ic-prpencvf.c       | 6 +-----
 drivers/staging/media/imx/imx-ic.h                | 6 +-----
 drivers/staging/media/imx/imx-media-capture.c     | 6 +-----
 drivers/staging/media/imx/imx-media-csi.c         | 6 +-----
 drivers/staging/media/imx/imx-media-dev.c         | 6 +-----
 drivers/staging/media/imx/imx-media-fim.c         | 6 +-----
 drivers/staging/media/imx/imx-media-internal-sd.c | 6 +-----
 drivers/staging/media/imx/imx-media-of.c          | 6 +-----
 drivers/staging/media/imx/imx-media-utils.c       | 6 +-----
 drivers/staging/media/imx/imx-media-vdic.c        | 6 +-----
 drivers/staging/media/imx/imx-media.h             | 6 +-----
 drivers/staging/media/imx/imx6-mipi-csi2.c        | 6 +-----
 14 files changed, 14 insertions(+), 70 deletions(-)
drivers/staging/media/imx/imx-ic-common.c +1 -5
index 765919487a73..7e2455097315 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC
  *
  * Copyright (c) 2014-2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/module.h>
 #include <linux/platform_device.h>
drivers/staging/media/imx/imx-ic-prp.c +1 -5
index 3d43cdcb4bb9..10ffe00f1a54 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC
  *
@@ -6,11 +7,6 @@
  * for resizing, colorspace conversion, and rotation.
  *
  * Copyright (c) 2012-2017 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/delay.h>
 #include <linux/interrupt.h>
drivers/staging/media/imx/imx-ic-prpencvf.c +1 -5
index 5c8e6ad8c025..1ba4a5154fb5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC
  *
@@ -6,11 +7,6 @@
  * for resizing, colorspace conversion, and rotation.
  *
  * Copyright (c) 2012-2017 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/delay.h>
 #include <linux/interrupt.h>
drivers/staging/media/imx/imx-ic.h +1 -5
index 6b2267bda8ab..0dbcf2a7ab5f 100644
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC
  *
  * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #ifndef _IMX_IC_H
 #define _IMX_IC_H
drivers/staging/media/imx/imx-media-capture.c +1 -5
index facce18975d8..b7ce9d439279 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Video Capture Subdev for Freescale i.MX5/6 SOC
  *
  * Copyright (c) 2012-2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/delay.h>
 #include <linux/fs.h>
drivers/staging/media/imx/imx-media-csi.c +1 -5
index 3b7517348666..edc0e9a2a90d 100644
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * V4L2 Capture CSI Subdev for Freescale i.MX5/6 SOC
  *
  * Copyright (c) 2014-2017 Mentor Graphics Inc.
  * Copyright (C) 2017 Pengutronix, Philipp Zabel <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/delay.h>
 #include <linux/gcd.h>
drivers/staging/media/imx/imx-media-dev.c +1 -5
index 28a3d23aad5b..bd4ddea488f1 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC
  *
  * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/delay.h>
 #include <linux/fs.h>
drivers/staging/media/imx/imx-media-fim.c +1 -5
index 8cf773eef9da..2ab64bc30f5c 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Frame Interval Monitor.
  *
  * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/delay.h>
 #include <linux/irq.h>
drivers/staging/media/imx/imx-media-internal-sd.c +1 -5
index 5e10d95e5529..c547280a309e 100644
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Media driver for Freescale i.MX5/6 SOC
  *
  * Adds the internal subdevices and the media links between them.
  *
  * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/platform_device.h>
 #include "imx-media.h"
drivers/staging/media/imx/imx-media-of.c +1 -5
index 03446335ac03..09580d83c685 100644
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Media driver for Freescale i.MX5/6 SOC
  *
  * Open Firmware parsing.
  *
  * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/of_platform.h>
 #include <media/v4l2-ctrls.h>
drivers/staging/media/imx/imx-media-utils.c +1 -5
index 1c63a2765a81..b41842dba5ec 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC
  *
  * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/module.h>
 #include "imx-media.h"
drivers/staging/media/imx/imx-media-vdic.c +1 -5
index 2808662e2597..3f4b5e9080d4 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * V4L2 Deinterlacer Subdev for Freescale i.MX5/6 SOC
  *
  * Copyright (c) 2017 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/delay.h>
 #include <linux/interrupt.h>
drivers/staging/media/imx/imx-media.h +1 -5
index ae964c8d5be1..1f7501d527fb 100644
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC
  *
  * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #ifndef _IMX_MEDIA_H
 #define _IMX_MEDIA_H
drivers/staging/media/imx/imx6-mipi-csi2.c +1 -5
index 2c5e3dd58cea..f29e28df36ed 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * MIPI CSI-2 Receiver Subdev for Freescale i.MX6 SOC.
  *
  * Copyright (c) 2012-2017 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 #include <linux/clk.h>
 #include <linux/interrupt.h>
Signature · 1 line
2.21.0
maintainer Acked-by on v1 15/16
#28 lore raw

Re: [PATCH 15/16] staging: media: imx: add proper SPDX identifiers on files that did not have them.

Quoted 294 lines · Greg Kroah-Hartman

There were a few files for the imx media drivers that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

Cc Steve Longerbeam <[email protected]>
Cc Philipp Zabel <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc NXP Linux Team <[email protected]>
---
  drivers/staging/media/imx/imx-ic-common.c         | 6 +-----
  drivers/staging/media/imx/imx-ic-prp.c            | 6 +-----
  drivers/staging/media/imx/imx-ic-prpencvf.c       | 6 +-----
  drivers/staging/media/imx/imx-ic.h                | 6 +-----
  drivers/staging/media/imx/imx-media-capture.c     | 6 +-----
  drivers/staging/media/imx/imx-media-csi.c         | 6 +-----
  drivers/staging/media/imx/imx-media-dev.c         | 6 +-----
  drivers/staging/media/imx/imx-media-fim.c         | 6 +-----
  drivers/staging/media/imx/imx-media-internal-sd.c | 6 +-----
  drivers/staging/media/imx/imx-media-of.c          | 6 +-----
  drivers/staging/media/imx/imx-media-utils.c       | 6 +-----
  drivers/staging/media/imx/imx-media-vdic.c        | 6 +-----
  drivers/staging/media/imx/imx-media.h             | 6 +-----
  drivers/staging/media/imx/imx6-mipi-csi2.c        | 6 +-----
  14 files changed, 14 insertions(+), 70 deletions(-)
drivers/staging/media/imx/imx-ic-common.c +1 -5
index 765919487a73..7e2455097315 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC
   *
   * Copyright (c) 2014-2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/module.h>
  #include <linux/platform_device.h>
drivers/staging/media/imx/imx-ic-prp.c +1 -5
index 3d43cdcb4bb9..10ffe00f1a54 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC
   *
@@ -6,11 +7,6 @@
   * for resizing, colorspace conversion, and rotation.
   *
   * Copyright (c) 2012-2017 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/delay.h>
  #include <linux/interrupt.h>
drivers/staging/media/imx/imx-ic-prpencvf.c +1 -5
index 5c8e6ad8c025..1ba4a5154fb5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * V4L2 Capture IC Preprocess Subdev for Freescale i.MX5/6 SOC
   *
@@ -6,11 +7,6 @@
   * for resizing, colorspace conversion, and rotation.
   *
   * Copyright (c) 2012-2017 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/delay.h>
  #include <linux/interrupt.h>
drivers/staging/media/imx/imx-ic.h +1 -5
index 6b2267bda8ab..0dbcf2a7ab5f 100644
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
  /*
   * V4L2 Image Converter Subdev for Freescale i.MX5/6 SOC
   *
   * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #ifndef _IMX_IC_H
  #define _IMX_IC_H
drivers/staging/media/imx/imx-media-capture.c +1 -5
index facce18975d8..b7ce9d439279 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * Video Capture Subdev for Freescale i.MX5/6 SOC
   *
   * Copyright (c) 2012-2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/delay.h>
  #include <linux/fs.h>
drivers/staging/media/imx/imx-media-csi.c +1 -5
index 3b7517348666..edc0e9a2a90d 100644
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * V4L2 Capture CSI Subdev for Freescale i.MX5/6 SOC
   *
   * Copyright (c) 2014-2017 Mentor Graphics Inc.
   * Copyright (C) 2017 Pengutronix, Philipp Zabel <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/delay.h>
  #include <linux/gcd.h>
drivers/staging/media/imx/imx-media-dev.c +1 -5
index 28a3d23aad5b..bd4ddea488f1 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC
   *
   * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/delay.h>
  #include <linux/fs.h>
drivers/staging/media/imx/imx-media-fim.c +1 -5
index 8cf773eef9da..2ab64bc30f5c 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * Frame Interval Monitor.
   *
   * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/delay.h>
  #include <linux/irq.h>
drivers/staging/media/imx/imx-media-internal-sd.c +1 -5
index 5e10d95e5529..c547280a309e 100644
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * Media driver for Freescale i.MX5/6 SOC
   *
   * Adds the internal subdevices and the media links between them.
   *
   * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/platform_device.h>
  #include "imx-media.h"
drivers/staging/media/imx/imx-media-of.c +1 -5
index 03446335ac03..09580d83c685 100644
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * Media driver for Freescale i.MX5/6 SOC
   *
   * Open Firmware parsing.
   *
   * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/of_platform.h>
  #include <media/v4l2-ctrls.h>
drivers/staging/media/imx/imx-media-utils.c +1 -5
index 1c63a2765a81..b41842dba5ec 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC
   *
   * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/module.h>
  #include "imx-media.h"
drivers/staging/media/imx/imx-media-vdic.c +1 -5
index 2808662e2597..3f4b5e9080d4 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * V4L2 Deinterlacer Subdev for Freescale i.MX5/6 SOC
   *
   * Copyright (c) 2017 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/delay.h>
  #include <linux/interrupt.h>
drivers/staging/media/imx/imx-media.h +1 -5
index ae964c8d5be1..1f7501d527fb 100644
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
  /*
   * V4L2 Media Controller Driver for Freescale i.MX5/6 SOC
   *
   * Copyright (c) 2016 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #ifndef _IMX_MEDIA_H
  #define _IMX_MEDIA_H
drivers/staging/media/imx/imx6-mipi-csi2.c +1 -5
index 2c5e3dd58cea..f29e28df36ed 100644
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
  /*
   * MIPI CSI-2 Receiver Subdev for Freescale i.MX6 SOC.
   *
   * Copyright (c) 2012-2017 Mentor Graphics Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
   */
  #include <linux/clk.h>
  #include <linux/interrupt.h>
author maintainer
#29 lore raw

PATCH 16/16 staging: media: tegra-vde: add proper SPDX identifiers on file that did not have it.

In reply to Greg Kroah-Hartman

There was a single file for the tegra-vde driver that did not have SPDX identifiers on it, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

Cc Dmitry Osipenko <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Jonathan Hunter <[email protected]>
---
 drivers/staging/media/tegra-vde/uapi.h | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
drivers/staging/media/tegra-vde/uapi.h +2 -9
index 4bce08a7a54c..a0dad1ed94ef 100644
@@ -1,12 +1,5 @@
-/*
- * Copyright (C) 2016-2017 Dmitry Osipenko <[email protected]>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
-
+/* SPDX-License-Identifier: GPL-2.0+ */
+/* Copyright (C) 2016-2017 Dmitry Osipenko <[email protected]> */
 #ifndef _UAPI_TEGRA_VDE_H_
 #define _UAPI_TEGRA_VDE_H_
 
Signature · 1 line
2.21.0
Acked-by on v1 16/16
#30 lore raw

Re: [PATCH 16/16] staging: media: tegra-vde: add proper SPDX identifiers on file that did not have it.

Quoted 12 lines · Greg Kroah-Hartman

There was a single file for the tegra-vde driver that did not have SPDX identifiers on it, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse.

Cc Dmitry Osipenko <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Jonathan Hunter <[email protected]>
Quoted 3 lines
---
 drivers/staging/media/tegra-vde/uapi.h | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)