LinuxTV Patchwork staging:media:Add SPDX-License-Identifier

login
register
mail settings
Submitter Irenge Jules Bashizi
Date Nov. 3, 2018, 11:16 a.m.
Message ID <20181103111648.30662-1-jbi.octave@gmail.com>
Download mbox | patch
Permalink /patch/52735/
State New
Delegated to: Laurent Pinchart
Headers show

Comments

Irenge Jules Bashizi - Nov. 3, 2018, 11:16 a.m.
Add SPDX-License-Identifier to fix missing license tag checkpatch warning

Signed-off-by: Irenge Jules Bashizi <jbi.octave@gmail.com>
---
 drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Himanshu Jha - Nov. 3, 2018, 3:58 p.m.
On Sat, Nov 03, 2018 at 11:16:48AM +0000, Irenge Jules Bashizi wrote:
> Add SPDX-License-Identifier to fix missing license tag checkpatch warning
> 
> Signed-off-by: Irenge Jules Bashizi <jbi.octave@gmail.com>
> ---
>  drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h b/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h
> index 7cc115c9ebe6..6d2570a63529 100644
> --- a/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h
> +++ b/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
>  /*
>   * Copyright (C) 2012 Texas Instruments Inc
>   *
> @@ -10,9 +11,6 @@
>   * 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

Read Documentation/process/license-rules.rst and try to understand why
SPDX was introduced ?

Hint: search for "boilerplate" in license-rules.rst

Or search for previosuly accepted patches on SPDX ...

Patch

diff --git a/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h b/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h
index 7cc115c9ebe6..6d2570a63529 100644
--- a/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h
+++ b/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) 2012 Texas Instruments Inc
  *
@@ -10,9 +11,6 @@ 
  * 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
  *
  * Contributors:
  *      Manjunath Hadli <manjunath.hadli@ti.com>

Privacy Policy