diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:55 -0400 |
commit | d2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch) | |
tree | ff723089c8673e3f99df3ddcdaeae7a52bd6fdac /drivers/mtd/nand/raw/nand_bbt.c | |
parent | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/nand/raw/nand_bbt.c')
-rw-r--r-- | drivers/mtd/nand/raw/nand_bbt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mtd/nand/raw/nand_bbt.c b/drivers/mtd/nand/raw/nand_bbt.c index fd3c10216eda..2ef15ef94525 100644 --- a/drivers/mtd/nand/raw/nand_bbt.c +++ b/drivers/mtd/nand/raw/nand_bbt.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Overview: | 3 | * Overview: |
3 | * Bad block table support for the NAND driver | 4 | * Bad block table support for the NAND driver |
4 | * | 5 | * |
5 | * Copyright © 2004 Thomas Gleixner (tglx@linutronix.de) | 6 | * Copyright © 2004 Thomas Gleixner (tglx@linutronix.de) |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * Description: | 8 | * Description: |
12 | * | 9 | * |
13 | * When nand_scan_bbt is called, then it tries to find the bad block table | 10 | * When nand_scan_bbt is called, then it tries to find the bad block table |
@@ -54,7 +51,6 @@ | |||
54 | * Following assumptions are made: | 51 | * Following assumptions are made: |
55 | * - bbts start at a page boundary, if autolocated on a block boundary | 52 | * - bbts start at a page boundary, if autolocated on a block boundary |
56 | * - the space necessary for a bbt in FLASH does not exceed a block boundary | 53 | * - the space necessary for a bbt in FLASH does not exceed a block boundary |
57 | * | ||
58 | */ | 54 | */ |
59 | 55 | ||
60 | #include <linux/slab.h> | 56 | #include <linux/slab.h> |