[PATCH 10/11] staging: most: add SPDX identifiers to all unisys driver files

Kershner, David A David.Kershner at unisys.com
Tue Nov 7 21:09:35 UTC 2017


> -----Original Message-----
> From: devel [mailto:driverdev-devel-bounces at linuxdriverproject.org] On
> Behalf Of Greg Kroah-Hartman
> Sent: Tuesday, November 7, 2017 8:59 AM
> To: devel at driverdev.osuosl.org
> Cc: Kate Stewart <kstewart at linuxfoundation.org>; Greg Kroah-Hartman
> <gregkh at linuxfoundation.org>; Michael Fabry
> <Michael.Fabry at microchip.com>; Philippe Ombredanne
> <pombredanne at nexb.com>; Christian Gromm
> <christian.gromm at microchip.com>; Thomas Gleixner <tglx at linutronix.de>
> Subject: [PATCH 10/11] staging: most: add SPDX identifiers to all unisys
driver
> files
> 

The headline says "unisys driver files", but the patch is for the most
driver.

David Kershner

> It's good to have SPDX identifiers in all files to make it easier to
> audit the kernel tree for correct licenses.
> 
> Update the drivers/staging/most files files with the correct SPDX
> license identifier based on the license text in the file itself.  The
> SPDX identifier is a legally binding shorthand, which can be used
> instead of the full boiler plate text.
> 
> This work is based on a script and data from Thomas Gleixner, Philippe
> Ombredanne, and Kate Stewart.
> 
> Cc: Michael Fabry <Michael.Fabry at microchip.com>
> Cc: Christian Gromm <christian.gromm at microchip.com>
> Cc: Thomas Gleixner <tglx at linutronix.de>
> Cc: Kate Stewart <kstewart at linuxfoundation.org>
> Cc: Philippe Ombredanne <pombredanne at nexb.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
>  drivers/staging/most/aim-cdev/cdev.c          | 1 +
>  drivers/staging/most/aim-network/networking.c | 1 +
>  drivers/staging/most/aim-sound/sound.c        | 1 +
>  drivers/staging/most/aim-v4l2/video.c         | 1 +
>  drivers/staging/most/hdm-dim2/dim2_errors.h   | 1 +
>  drivers/staging/most/hdm-dim2/dim2_hal.c      | 1 +
>  drivers/staging/most/hdm-dim2/dim2_hal.h      | 1 +
>  drivers/staging/most/hdm-dim2/dim2_hdm.c      | 1 +
>  drivers/staging/most/hdm-dim2/dim2_hdm.h      | 1 +
>  drivers/staging/most/hdm-dim2/dim2_reg.h      | 1 +
>  drivers/staging/most/hdm-dim2/dim2_sysfs.c    | 1 +
>  drivers/staging/most/hdm-dim2/dim2_sysfs.h    | 1 +
>  drivers/staging/most/hdm-i2c/hdm_i2c.c        | 1 +
>  drivers/staging/most/hdm-usb/hdm_usb.c        | 1 +
>  drivers/staging/most/mostcore/core.c          | 1 +
>  drivers/staging/most/mostcore/mostcore.h      | 1 +
>  16 files changed, 16 insertions(+)
> 
> diff --git a/drivers/staging/most/aim-cdev/cdev.c
> b/drivers/staging/most/aim-cdev/cdev.c
> index 1e5cbc893496..d6e7e85d9ece 100644
> --- a/drivers/staging/most/aim-cdev/cdev.c
> +++ b/drivers/staging/most/aim-cdev/cdev.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * cdev.c - Application interfacing module for character devices
>   *
> diff --git a/drivers/staging/most/aim-network/networking.c
> b/drivers/staging/most/aim-network/networking.c
> index 936f013c350e..e2dff6d5cf30 100644
> --- a/drivers/staging/most/aim-network/networking.c
> +++ b/drivers/staging/most/aim-network/networking.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * Networking AIM - Networking Application Interface Module for MostCore
>   *
> diff --git a/drivers/staging/most/aim-sound/sound.c
> b/drivers/staging/most/aim-sound/sound.c
> index ea1366a44008..0f596ca532d8 100644
> --- a/drivers/staging/most/aim-sound/sound.c
> +++ b/drivers/staging/most/aim-sound/sound.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * sound.c - Audio Application Interface Module for Mostcore
>   *
> diff --git a/drivers/staging/most/aim-v4l2/video.c
> b/drivers/staging/most/aim-v4l2/video.c
> index e0748416aee5..e089d139b943 100644
> --- a/drivers/staging/most/aim-v4l2/video.c
> +++ b/drivers/staging/most/aim-v4l2/video.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * V4L2 AIM - V4L2 Application Interface Module for MostCore
>   *
> diff --git a/drivers/staging/most/hdm-dim2/dim2_errors.h
> b/drivers/staging/most/hdm-dim2/dim2_errors.h
> index 66343ba426c1..073d93cf4927 100644
> --- a/drivers/staging/most/hdm-dim2/dim2_errors.h
> +++ b/drivers/staging/most/hdm-dim2/dim2_errors.h
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * dim2_errors.h - Definitions of errors for DIM2 HAL API
>   * (MediaLB, Device Interface Macro IP, OS62420)
> diff --git a/drivers/staging/most/hdm-dim2/dim2_hal.c
> b/drivers/staging/most/hdm-dim2/dim2_hal.c
> index 91484643d289..f0a45863c8cb 100644
> --- a/drivers/staging/most/hdm-dim2/dim2_hal.c
> +++ b/drivers/staging/most/hdm-dim2/dim2_hal.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * dim2_hal.c - DIM2 HAL implementation
>   * (MediaLB, Device Interface Macro IP, OS62420)
> diff --git a/drivers/staging/most/hdm-dim2/dim2_hal.h
> b/drivers/staging/most/hdm-dim2/dim2_hal.h
> index 6df6ea5f7da4..df678124117c 100644
> --- a/drivers/staging/most/hdm-dim2/dim2_hal.h
> +++ b/drivers/staging/most/hdm-dim2/dim2_hal.h
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * dim2_hal.h - DIM2 HAL interface
>   * (MediaLB, Device Interface Macro IP, OS62420)
> diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.c
> b/drivers/staging/most/hdm-dim2/dim2_hdm.c
> index df7021c522b3..c59c8a526d06 100644
> --- a/drivers/staging/most/hdm-dim2/dim2_hdm.c
> +++ b/drivers/staging/most/hdm-dim2/dim2_hdm.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * dim2_hdm.c - MediaLB DIM2 Hardware Dependent Module
>   *
> diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.h
> b/drivers/staging/most/hdm-dim2/dim2_hdm.h
> index 4050e7c764ed..dc0293a7be1f 100644
> --- a/drivers/staging/most/hdm-dim2/dim2_hdm.h
> +++ b/drivers/staging/most/hdm-dim2/dim2_hdm.h
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * dim2_hdm.h - MediaLB DIM2 HDM Header
>   *
> diff --git a/drivers/staging/most/hdm-dim2/dim2_reg.h
> b/drivers/staging/most/hdm-dim2/dim2_reg.h
> index f7d9fbcd29f2..c94220daec33 100644
> --- a/drivers/staging/most/hdm-dim2/dim2_reg.h
> +++ b/drivers/staging/most/hdm-dim2/dim2_reg.h
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * dim2_reg.h - Definitions for registers of DIM2
>   * (MediaLB, Device Interface Macro IP, OS62420)
> diff --git a/drivers/staging/most/hdm-dim2/dim2_sysfs.c
> b/drivers/staging/most/hdm-dim2/dim2_sysfs.c
> index d8b22f91d2c3..144ab4281e31 100644
> --- a/drivers/staging/most/hdm-dim2/dim2_sysfs.c
> +++ b/drivers/staging/most/hdm-dim2/dim2_sysfs.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * dim2_sysfs.c - MediaLB sysfs information
>   *
> diff --git a/drivers/staging/most/hdm-dim2/dim2_sysfs.h
> b/drivers/staging/most/hdm-dim2/dim2_sysfs.h
> index b71dd027ebc7..50d17176a1b8 100644
> --- a/drivers/staging/most/hdm-dim2/dim2_sysfs.h
> +++ b/drivers/staging/most/hdm-dim2/dim2_sysfs.h
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * dim2_sysfs.h - MediaLB sysfs information
>   *
> diff --git a/drivers/staging/most/hdm-i2c/hdm_i2c.c
> b/drivers/staging/most/hdm-i2c/hdm_i2c.c
> index 2b4de404e46a..6272353dc8c3 100644
> --- a/drivers/staging/most/hdm-i2c/hdm_i2c.c
> +++ b/drivers/staging/most/hdm-i2c/hdm_i2c.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * hdm_i2c.c - Hardware Dependent Module for I2C Interface
>   *
> diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c
> b/drivers/staging/most/hdm-usb/hdm_usb.c
> index 85775da293fb..b296832c4110 100644
> --- a/drivers/staging/most/hdm-usb/hdm_usb.c
> +++ b/drivers/staging/most/hdm-usb/hdm_usb.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * hdm_usb.c - Hardware dependent module for USB
>   *
> diff --git a/drivers/staging/most/mostcore/core.c
> b/drivers/staging/most/mostcore/core.c
> index 069269db394c..80040849160d 100644
> --- a/drivers/staging/most/mostcore/core.c
> +++ b/drivers/staging/most/mostcore/core.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * core.c - Implementation of core module of MOST Linux driver stack
>   *
> diff --git a/drivers/staging/most/mostcore/mostcore.h
> b/drivers/staging/most/mostcore/mostcore.h
> index 915e5159d1eb..6f15590417f5 100644
> --- a/drivers/staging/most/mostcore/mostcore.h
> +++ b/drivers/staging/most/mostcore/mostcore.h
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * mostcore.h - Interface between MostCore,
>   *   Hardware Dependent Module (HDM) and Application Interface Module
> (AIM).
> --
> 2.15.0
> 
> _______________________________________________
> devel mailing list
> devel at linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7862 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20171107/6153cd8c/attachment.p7s>


More information about the devel mailing list