diff mbox series

[v1,3/4] lib/math/int_log: Replace LGPL-2.1-or-later boilerplate with SPDX identifier

Message ID 20230619172019.21457-4-andriy.shevchenko@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series ASoC: remove copy of intlog10() | expand

Commit Message

Andy Shevchenko June 19, 2023, 5:20 p.m. UTC
Replace license boilerplate in udftime.c with SPDX identifier for
LGPL-2.1-or-later.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/int_log.h | 11 +----------
 lib/math/int_log.c      | 11 +----------
 2 files changed, 2 insertions(+), 20 deletions(-)

Comments

Mauro Carvalho Chehab July 3, 2023, 6:16 a.m. UTC | #1
Em Mon, 19 Jun 2023 20:20:18 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> escreveu:

> Replace license boilerplate in udftime.c with SPDX identifier for
> LGPL-2.1-or-later.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>

> ---
>  include/linux/int_log.h | 11 +----------
>  lib/math/int_log.c      | 11 +----------
>  2 files changed, 2 insertions(+), 20 deletions(-)
> 
> diff --git a/include/linux/int_log.h b/include/linux/int_log.h
> index 332306202464..0a6f58c38b61 100644
> --- a/include/linux/int_log.h
> +++ b/include/linux/int_log.h
> @@ -1,17 +1,8 @@
> +/* SPDX-License-Identifier: LGPL-2.1-or-later */
>  /*
>   * Provides fixed-point logarithm operations.
>   *
>   * Copyright (C) 2006 Christoph Pfister (christophpfister@gmail.com)
> - *
> - * This library is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU Lesser General Public License as
> - * published by the Free Software Foundation; either version 2.1 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU Lesser General Public License for more details.
>   */
>  
>  #ifndef __LINUX_INT_LOG_H
> diff --git a/lib/math/int_log.c b/lib/math/int_log.c
> index ea98fc0b3fe2..8f9da3a2ad39 100644
> --- a/lib/math/int_log.c
> +++ b/lib/math/int_log.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: LGPL-2.1-or-later
>  /*
>   * Provides fixed-point logarithm operations.
>   *
>   * Copyright (C) 2006 Christoph Pfister (christophpfister@gmail.com)
> - *
> - * This library is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU Lesser General Public License as
> - * published by the Free Software Foundation; either version 2.1 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU Lesser General Public License for more details.
>   */
>  
>  #include <linux/bitops.h>
diff mbox series

Patch

diff --git a/include/linux/int_log.h b/include/linux/int_log.h
index 332306202464..0a6f58c38b61 100644
--- a/include/linux/int_log.h
+++ b/include/linux/int_log.h
@@ -1,17 +1,8 @@ 
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * Provides fixed-point logarithm operations.
  *
  * Copyright (C) 2006 Christoph Pfister (christophpfister@gmail.com)
- *
- * This library is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
  */
 
 #ifndef __LINUX_INT_LOG_H
diff --git a/lib/math/int_log.c b/lib/math/int_log.c
index ea98fc0b3fe2..8f9da3a2ad39 100644
--- a/lib/math/int_log.c
+++ b/lib/math/int_log.c
@@ -1,17 +1,8 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  * Provides fixed-point logarithm operations.
  *
  * Copyright (C) 2006 Christoph Pfister (christophpfister@gmail.com)
- *
- * This library is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
  */
 
 #include <linux/bitops.h>