Skip to contentSkip to conversation

staging:media:Add SPDX-License-Identifier

PATCH In review Irenge Jules Bashizi 2 participants 2 messages Nov 3, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging:media:Add SPDX-License-Identifier

Add SPDX-License-Identifier to fix missing license tag checkpatch warning

---
 drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h +1 -3
index 7cc115c9ebe6..6d2570a63529 100644
@@ -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 <[email protected]>
Signature · 1 line
2.17.2
#1 lore raw
Quoted 17 lines · Irenge Jules Bashizi

Add SPDX-License-Identifier to fix missing license tag checkpatch warning

---
 drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h +1 -0
index 7cc115c9ebe6..6d2570a63529 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) 2012 Texas Instruments Inc
  *

drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h line 15

Quoted 6 lines
drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h +0 -3
@@ -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 ...

Signature · 4 lines
Himanshu Jha
Undergraduate Student
Department of Electronics & Communication
Guru Tegh Bahadur Institute of Technology