Skip to content

Commit 289c99b

Browse files
committed
lib/crc32: add SPDX license identifier
lib/crc32.c and include/linux/crc32.h got missed by the bulk SPDX conversion because of the nonstandard explanation of the license. However, crc32.c clearly states that it's licensed under the GNU General Public License, Version 2. And the comment in crc32.h clearly indicates that it's meant to have the same license as crc32.c. Therefore, apply SPDX-License-Identifier: GPL-2.0-only to both files. Reviewed-by: Thomas Gleixner <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
1 parent 3937f6d commit 289c99b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

include/linux/crc32.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*
2-
* crc32.h
3-
* See linux/lib/crc32.c for license and changes
4-
*/
1+
/* SPDX-License-Identifier: GPL-2.0-only */
52
#ifndef _LINUX_CRC32_H
63
#define _LINUX_CRC32_H
74

lib/crc32.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
12
/*
23
* Aug 8, 2011 Bob Pearson with help from Joakim Tjernlund and George Spelvin
34
* cleaned up code to current version of sparse and added the slicing-by-8
@@ -19,9 +20,6 @@
1920
* drivers/net/smc9194.c uses seed ~0, doesn't xor with ~0.
2021
* fs/jffs2 uses seed 0, doesn't xor with ~0.
2122
* fs/partitions/efi.c uses seed ~0, xor's with ~0.
22-
*
23-
* This source code is licensed under the GNU General Public License,
24-
* Version 2. See the file COPYING for more details.
2523
*/
2624

2725
/* see: Documentation/staging/crc32.rst for a description of algorithms */

0 commit comments

Comments
 (0)