[mm,1/4] kfence: add missing copyright and description headers
diff mbox series

Message ID 20210118092159.145934-1-elver@google.com
State In Next
Commit b1de5741965d3f9f82a38156436feff0e52f23c7
Headers show
Series
  • [mm,1/4] kfence: add missing copyright and description headers
Related show

Commit Message

Marco Elver Jan. 18, 2021, 9:21 a.m. UTC
Add missing copyright and description headers to KFENCE source files.

Signed-off-by: Marco Elver <elver@google.com>
---
If appropriate, to be squashed into:

	mm: add Kernel Electric-Fence infrastructure
---
 include/linux/kfence.h | 6 ++++++
 mm/kfence/core.c       | 5 +++++
 mm/kfence/kfence.h     | 6 ++++++
 mm/kfence/report.c     | 5 +++++
 4 files changed, 22 insertions(+)

Comments

Alexander Potapenko Jan. 18, 2021, 10:28 a.m. UTC | #1
On Mon, Jan 18, 2021 at 10:22 AM Marco Elver <elver@google.com> wrote:
>
> Add missing copyright and description headers to KFENCE source files.
>
> Signed-off-by: Marco Elver <elver@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
> ---
> If appropriate, to be squashed into:
>
>         mm: add Kernel Electric-Fence infrastructure
> ---
>  include/linux/kfence.h | 6 ++++++
>  mm/kfence/core.c       | 5 +++++
>  mm/kfence/kfence.h     | 6 ++++++
>  mm/kfence/report.c     | 5 +++++
>  4 files changed, 22 insertions(+)
>
> diff --git a/include/linux/kfence.h b/include/linux/kfence.h
> index c2c1dd100cba..a70d1ea03532 100644
> --- a/include/linux/kfence.h
> +++ b/include/linux/kfence.h
> @@ -1,4 +1,10 @@
>  /* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * Kernel Electric-Fence (KFENCE). Public interface for allocator and fault
> + * handler integration. For more info see Documentation/dev-tools/kfence.rst.
> + *
> + * Copyright (C) 2020, Google LLC.
> + */
>
>  #ifndef _LINUX_KFENCE_H
>  #define _LINUX_KFENCE_H
> diff --git a/mm/kfence/core.c b/mm/kfence/core.c
> index a5f8aa410a30..cfe3d32ac5b7 100644
> --- a/mm/kfence/core.c
> +++ b/mm/kfence/core.c
> @@ -1,4 +1,9 @@
>  // SPDX-License-Identifier: GPL-2.0
> +/*
> + * KFENCE guarded object allocator and fault handling.
> + *
> + * Copyright (C) 2020, Google LLC.
> + */
>
>  #define pr_fmt(fmt) "kfence: " fmt
>
> diff --git a/mm/kfence/kfence.h b/mm/kfence/kfence.h
> index 97282fa77840..1accc840dbbe 100644
> --- a/mm/kfence/kfence.h
> +++ b/mm/kfence/kfence.h
> @@ -1,4 +1,10 @@
>  /* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * Kernel Electric-Fence (KFENCE). For more info please see
> + * Documentation/dev-tools/kfence.rst.
> + *
> + * Copyright (C) 2020, Google LLC.
> + */
>
>  #ifndef MM_KFENCE_KFENCE_H
>  #define MM_KFENCE_KFENCE_H
> diff --git a/mm/kfence/report.c b/mm/kfence/report.c
> index 1996295ae71d..901bd7ee83d8 100644
> --- a/mm/kfence/report.c
> +++ b/mm/kfence/report.c
> @@ -1,4 +1,9 @@
>  // SPDX-License-Identifier: GPL-2.0
> +/*
> + * KFENCE reporting.
> + *
> + * Copyright (C) 2020, Google LLC.
> + */
>
>  #include <stdarg.h>
>
> --
> 2.30.0.284.gd98b1dd5eaa7-goog
>

Patch
diff mbox series

diff --git a/include/linux/kfence.h b/include/linux/kfence.h
index c2c1dd100cba..a70d1ea03532 100644
--- a/include/linux/kfence.h
+++ b/include/linux/kfence.h
@@ -1,4 +1,10 @@ 
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Kernel Electric-Fence (KFENCE). Public interface for allocator and fault
+ * handler integration. For more info see Documentation/dev-tools/kfence.rst.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
 
 #ifndef _LINUX_KFENCE_H
 #define _LINUX_KFENCE_H
diff --git a/mm/kfence/core.c b/mm/kfence/core.c
index a5f8aa410a30..cfe3d32ac5b7 100644
--- a/mm/kfence/core.c
+++ b/mm/kfence/core.c
@@ -1,4 +1,9 @@ 
 // SPDX-License-Identifier: GPL-2.0
+/*
+ * KFENCE guarded object allocator and fault handling.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
 
 #define pr_fmt(fmt) "kfence: " fmt
 
diff --git a/mm/kfence/kfence.h b/mm/kfence/kfence.h
index 97282fa77840..1accc840dbbe 100644
--- a/mm/kfence/kfence.h
+++ b/mm/kfence/kfence.h
@@ -1,4 +1,10 @@ 
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Kernel Electric-Fence (KFENCE). For more info please see
+ * Documentation/dev-tools/kfence.rst.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
 
 #ifndef MM_KFENCE_KFENCE_H
 #define MM_KFENCE_KFENCE_H
diff --git a/mm/kfence/report.c b/mm/kfence/report.c
index 1996295ae71d..901bd7ee83d8 100644
--- a/mm/kfence/report.c
+++ b/mm/kfence/report.c
@@ -1,4 +1,9 @@ 
 // SPDX-License-Identifier: GPL-2.0
+/*
+ * KFENCE reporting.
+ *
+ * Copyright (C) 2020, Google LLC.
+ */
 
 #include <stdarg.h>