]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: android: add SPDX identifiers to all android driver files
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Nov 2017 20:07:54 +0000 (21:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 12:20:47 +0000 (13:20 +0100)
It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.

Update the android driver 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: "Arve Hjønnevåg" <arve@android.com>
Cc: Riley Andrews <riandrews@android.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 files changed:
drivers/staging/android/ashmem.c
drivers/staging/android/ashmem.h
drivers/staging/android/ion/ion-ioctl.c
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h
drivers/staging/android/ion/ion_carveout_heap.c
drivers/staging/android/ion/ion_chunk_heap.c
drivers/staging/android/ion/ion_cma_heap.c
drivers/staging/android/ion/ion_heap.c
drivers/staging/android/ion/ion_page_pool.c
drivers/staging/android/ion/ion_system_heap.c
drivers/staging/android/uapi/ashmem.h
drivers/staging/android/uapi/ion.h

index 0f695df14c9d8f0a5c0a95ea8c28dc075c2aa36c..24298077a3ba717ed536b6058f0ae58d5592ec78 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /* mm/ashmem.c
  *
  * Anonymous Shared Memory Subsystem, ashmem
index 5abcfd7aa706c37ac6c214323429bfbe6dfeff51..60d7208f110a88e2c67f927f3079cd1b62ad9e38 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: (GPL-2.0 OR Apache-2.0)
 /*
  * include/linux/ashmem.h
  *
index c78989351f9cfa7bf5913ba226e09019027fa85d..4eda17713d82318f482fd69251b81e0b2d94fd4c 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *
  * Copyright (C) 2011 Google, Inc.
index a7d9b0e9857225abf7a6c88885d15e76afc6627b..eac43db27b604f84ab3782ced2aa32c791b6bb5c 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *
  * drivers/staging/android/ion/ion.c
index f5f9cd63f8e9df6039cf5513372e51968558f200..3e932762542689621d0db122e8e2c55e76bbbb5a 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/staging/android/ion/ion.h
  *
index fee7650d6fbb391a44f24a130323e07425b4229b..ff1345d815645eb250ac2ab63d41f5d5a4a10f84 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/staging/android/ion/ion_carveout_heap.c
  *
index 102c09398317c37997023e216c180e559f8c098f..b23694f6bf7f762b895dec7bb883e6ae85969eee 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/staging/android/ion/ion_chunk_heap.c
  *
index dd5545d9990a0f61ac2a1ba6249ec851602d1b3b..6f6b1e208ec5f475be5ddd90ad8c8bb83638a71d 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/staging/android/ion/ion_cma_heap.c
  *
index 91faa7f035b93c1befecff04c29dfc16827f59b5..97344eba611c8f8e14d2723096e51a183905f910 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/staging/android/ion/ion_heap.c
  *
index 817849df9de33dd0ecc92940098ac92a66fabb1c..4c63e8f25b3f9532db21e3348b0e8b411ab39b9a 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/staging/android/ion/ion_mem_pool.c
  *
index 4dc5d7a589c28bb945ff076b7d21f66fff16d553..9ff940095e3bf9a7b59d931f00b29e74163f49da 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/staging/android/ion/ion_system_heap.c
  *
index 13df42d200b7cc003e46cebd0e28b1997341fa87..5b531af6820ed6d8524895881088e2434fbd4a83 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: (GPL-2.0 OR Apache-2.0)
 /*
  * drivers/staging/android/uapi/ashmem.h
  *
index 9e21451149d06fed279289d87c3a7d29163a6ed9..63ae80f658dc13f4d3cdaface1a245cc5cf3fb22 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * drivers/staging/android/uapi/ion.h
  *